If you have a really long path for the chl_data pop input file (> 80 characters), the ocean model will fail when it first looks for this file. This happened to me while trying to run the reference case for the branch restart test (TBR.01a). I'm guessing other people will run in to this issue when trying to run the tests, since the default test case names are long.
To fix, modify the sw_absorption.F file in models/ocn/pop/source. Change line 208 from
character(char_len)::
to
character(char_len_long)
This adds extra characters to the file name variable (its length increases from 80 to 256). Hopefully you won't need more than that.
Another minor issue (which was much easier to track down) is that CLK_TCK in models/utils/mct/mpeu/get_zeits.c is a deprecated command, so some compilers don't work with it. For my compiler (ifort on a centos, intel processor machine), changing it to CLOCKS_PER_SEC worked.
Hopefully this will save others some time.
-Karen
To fix, modify the sw_absorption.F file in models/ocn/pop/source. Change line 208 from
character(char_len)::
to
character(char_len_long)
This adds extra characters to the file name variable (its length increases from 80 to 256). Hopefully you won't need more than that.
Another minor issue (which was much easier to track down) is that CLK_TCK in models/utils/mct/mpeu/get_zeits.c is a deprecated command, so some compilers don't work with it. For my compiler (ifort on a centos, intel processor machine), changing it to CLOCKS_PER_SEC worked.
Hopefully this will save others some time.
-Karen