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.
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.
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 :
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