Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local testing help / defaults #160

Open
kafitzgerald opened this issue Aug 27, 2018 · 0 comments
Open

Local testing help / defaults #160

kafitzgerald opened this issue Aug 27, 2018 · 0 comments
Labels
documentation testing Issues related to model testing

Comments

@kafitzgerald
Copy link
Contributor

kafitzgerald commented Aug 27, 2018

I was able to get testing working on Cheyenne using the nwm_compute environment and the scripts in tests/local 🎉, but some of the help looks like it should be updated (incl. the README - which seems pretty dated at this point) and I'm a bit confused about some of the default options.

In particular...

Compiler options should be ifort and gfort rather than:

help='<Required> compiler, options are intel or gfort')

The choices keyword argument for add_argument looks like it might be helpful for this and some of the other options in here particularly if we're trying to get more people on board with this.

Also, a bit confused about the ncores and nnodes option defaults and how they can be overwritten here:

if scheduler:
# reset ncores and nnodes defaults to scheduler defaults
if ncores == 2:
ncores = 216
if nnodes < 6:
warnings.warn('CONUS testing should run on a minimum of 6 nodes, setting nnodes '
'to 6')
nnodes = 6

Is this so we can support testing (appropriate default values) on both local machines and HPC systems? Seems like we might want less than 6 nodes on Cheyenne in some cases.

Really excited about this working though!!

@kafitzgerald kafitzgerald added testing Issues related to model testing documentation labels Oct 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation testing Issues related to model testing
Projects
None yet
Development

No branches or pull requests

1 participant