COSIMA / regional-mom6

Automatic generation of regional configurations of the Modular Ocean Model 6 (MOM6) in Python
https://regional-mom6.readthedocs.io/en/latest
MIT License
24 stars 11 forks source link

Processor layout #196

Open helenmacdonald opened 4 days ago

helenmacdonald commented 4 days ago

The code to automatically fill in the processor layout in the MOM_layout file does not work for me with a non-square layout. For example, if I set my layout as 11x10 (expt.FRE_tools(layout=(11,10)) then I will get an error message at run time:

FATAL from PE 0: fms2_io(parse_mask_table_2d): layout in file INPUT/mask_table.16.11x10does not match size of maskmap for ice model

I can fix this by manually swapping the order of the processor layout in the MOM_layout file (on line23: LAYOUT = 10,11), but I’m posting here to see if others also get this issue. I am happy to investigate this one further.

ashjbarnes commented 3 days ago

Oh oops looks like a bug to me!! Good spotting