ESCOMP / POP2-CESM

Parallel Ocean Program (POP2) in CESM
http://www.cesm.ucar.edu/models/cesm2/ocean/
4 stars 24 forks source link

Fix marbl_in generation/copy for multi instance runs #1

Closed alperaltuntas closed 5 years ago

alperaltuntas commented 5 years ago

Description of changes:

For multi-instance runs, buildnml tries to copy marbl_in+inst_str files from popconf to run directory which fails because buildnml creates a single marbl_in file in popconf directory. Error message from IRT_N3_PM3_Ld7.f19_g17.BHIST.cheyenne_intel.allactive-defaultio :

   Calling /gpfs/fs1/work/altuntas/cesm.sandboxes/cesm2.1-alphabranch/components/pop//cime_config/buildnml
     grep: marbl_in_0001: No such file or directory
     grep: marbl_in_0002: No such file or directory
     grep: marbl_in_0003: No such file or directory

With this PR, a marbl_in+inst_str file is created for each instance in popconf and copied to rundir.

Testing:

IRT_N3_PM3_Ld7.f19_g17.BHIST.cheyenne_intel.allactive-defaultio SMS.f19_g17.BHIST.cheyenne_intel.allactive-defaultio SMS.f19_g17.C.cheyenne_intel SMS.T62_g17.C1850ECO.cheyenne_intel

(all builds passed, some runs pending)

Fixes [POP2 Github issue #] n/a

jedwards4b commented 5 years ago

The issue is that a multi instance run may refer to a single instance ref case. This should not change the behavior for a case that does not involve a refcase.

mnlevy1981 commented 5 years ago

Are we keeping ChangeLog up to date still?