GEOS-ESM/GEOSgcm_App

linkbcs issue for coupled runs with v12 bcs

Closed this issue · 3 comments

During GCM coupled run, linkbcs.tmpl will try to search for the file MAPL_Tripolar.nc in bcs geometry dir.

In linkbcs.tmpl :
/bin/ln -sf $BCSDIR/geometry/${BCRSLV}/MAPL_Tripolar.nc

But this file is part of ocean inputs:
/discover/nobackup/projects/gmao/bcs_shared/make_bcs_inputs/ocean/MOM6/

To fix code for now I've copied MAPL_Tripolar.nc to geometry dir of v12 but do we need to change this or not?

This issue was found by @zhaobin74 during MOM6 v12 testing.

Thanks, @biljanaorescanin for opening this issue.
This file, MAPL_Tripolar.nc, is historically part of the ocean BC and independent of the land BC. So it is better to directly link from the ocean BC location (CPLDIR in linkbcs.tmpl) instead of saving another copy in BCSDIR and linking from there.

Note, without MAPL_Tripolar.nc in place, the coupled model still runs but the following error will be logged:

Character Resource Parameter: COMPONENT_TO_RECORD:[Empty formatted value], (default value)
pe=00075 FAIL at line=00248    MAPL_TripolarGridFactory.F90             <status=2>
pe=00075 FAIL at line=00143    MAPL_TripolarGridFactory.F90             <status=2>
pe=00075 FAIL at line=00343    MAPL_AbstractGridFactory.F90             <status=2>
pe=00075 FAIL at line=00696    MAPL_TripolarGridFactory.F90             <status=2>
pe=00078 FAIL at line=00248    MAPL_TripolarGridFactory.F90             <status=2>
pe=00078 FAIL at line=00143    MAPL_TripolarGridFactory.F90             <status=2>
pe=00078 FAIL at line=00343    MAPL_AbstractGridFactory.F90             <status=2>
pe=00078 FAIL at line=00696    MAPL_TripolarGridFactory.F90             <status=2>
pe=00083 FAIL at line=00248    MAPL_TripolarGridFactory.F90             <status=2>
pe=00083 FAIL at line=00143    MAPL_TripolarGridFactory.F90             <status=2>
pe=00083 FAIL at line=00343    MAPL_AbstractGridFactory.F90             <status=2>
pe=00083 FAIL at line=00696    MAPL_TripolarGridFactory.F90             <status=2>
pe=00017 FAIL at line=00248    MAPL_TripolarGridFactory.F90             <status=2>
pe=00017 FAIL at line=00143    MAPL_TripolarGridFactory.F90             <status=2>
pe=00017 FAIL at line=00343    MAPL_AbstractGridFactory.F90             <status=2>
pe=00017 FAIL at line=00696    MAPL_TripolarGridFactory.F90             <status=2>

@biljanaorescanin @zhaobin74 Once you all figure out where this should go, either myself or @sshakoor1 can update the scripts if needed.

This is where they should be read from :
/discover/nobackup/projects/gmao/bcs_shared/make_bcs_inputs/ocean/ and than MOM5 or MOM6 and than diff ogrid

linkbcs needs to show for MOM6 C90 option it is reading from here, if this is better example:
/discover/nobackup/projects/gmao/bcs_shared/make_bcs_inputs/ocean/MOM6/540x458/MAPL_Tripolar.nc