Closed kshedstrom closed 4 months ago
@kshedstrom Can you set up an example on GAEA?
I have it here: /gpfs/f5/gfdl_med/scratch/Katherine.Hedstrom/Bering
If I ask for only the atmospheric fields, it runs but doesn't know about #override IO_LAYOUT = 1, 1 from MOM_layout and/or SIS_layout.
ohh I see, where you getting a file for each of the PEs?
Can you try adding this
call mpp_define_io_domain(Atmos%domain, (/1,1/))
before this line in atmos_model.F90? https://github.com/NOAA-GFDL/atmos_null/blob/master/atmos_model.F90#L429
Yes, I was getting one file per core without the land mask, with only asking for atmospheric fields. With that line (and the corresponding use statement), I still get:
FATAL from PE 36: file:20110903.boem_hourly.nc and variable:u_atm The data is not on the compute domain or the data domain
If I ask for two different output files, one for atmosphere, one for the rest, I do now get the output I need without having to deal with the zillion small files. Thanks.
Just to confirm, you do need the code update in atmos_null, correct?
Yes, I do.
I opened a PR in atmos_null to fix this. Thank you for catching this! https://github.com/NOAA-GFDL/atmos_null/pull/6
Closing this issue.
For a BOEM contract, I would like to write out ice, ocean velocities plus winds. This diag_table works:
if my ice and ocean layout files contain only:
#override IO_LAYOUT = 1, 1
If the ice and ocean layout files also contain:
then the model fails with:
Is there a way to provide a layout file to the coupler?
To Reproduce Turn on the ice and ocean mask_table.
Expected behavior I would like the combined model to output one file per year, and to run with the mask_table on.
System Environment This happens on both gaea with Intel and on chinook with gfortran.
Additional context I could set you up with an example on gaea.