Skip to content

Conversation

@alperaltuntas
Copy link
Member

Case creator attemps to set NTASKS_OCN by checking OCN_NX and OCN_NY values but those variables are not set for standard MOM6 grids.

While we can retrieve them for standard grids too, we shouldn't change NTASKS for standard ocn grids, because they have associated and machine-optimized NTASKS values set in config_pes files.

This PR (1) adds a test that reproduces this issue and (2) implements a fix.

Fixes: #22

Case creator attemps to set NTASKS_OCN for by checking
OCN_NX and OCN_NY but those variables are not set for
standard MOM6 grids.
Case creator attemps to set NTASKS_OCN for by checking
OCN_NX and OCN_NY but those variables are not set for
standard MOM6 grids.

While we can retrieve them for
standard grids too, we should still not change NTASKS
for standard ocn grids, because they have associated,
and optimized NTASKS values set in config_pes files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix error handling for standard ocn grids

2 participants