-
Notifications
You must be signed in to change notification settings - Fork 371
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
Minimize scripts in a job run #1254
Comments
@amametjanov I assume your issue is that buildnml is slow and you don't want to repeat it. Marianna has made changes on the ESMCI that minimize and optimize namelist building, so this should be resolved once we merge 5.2 into ACME. |
@amametjanov this is one of the core problems with CIME-5* and I don't know if it's ever going to be fixed. The best I can tell you for now is that we're aware of it. |
Az, was there another problem caused by calling the script twice? |
Mostly speed: login nodes run at 2.3GHz, KNL compute nodes run at 1.4GHz. Also, at the time, the file system was slow. |
Does 5.2 still appear to be doing to much in the run script? |
Yes. Doing a standard workflow
After job completes, job output log has:
|
Issues have been opened for a couple of solutions: |
@amametjanov and @rljacob , When I make many changes to the user_nl_xxx files, I usually run preview_namelist on the login node before submitting the job to confirm all the changes are correctly implemented and the run won't fail by preview_namelist when the model is actually executed later on. Besides preview_namelist, are there other checks in case.submit and case.run before the actually command (e.g., srun) of submitting the job? If so, is there a way to invoke those checks manually similar to preview_namelist? Such function will save a lot of waiting time in the queue (esp. for machines like Mira), if we can know whether the run can pass the checks before submitting it. Thanks. |
Also tagging @jonbob to get his suggestions on making sure that all MPAS files are in place prior to case.submit. |
Tagging @golaz as he's also interested in knowing such functions. |
case.submit will also call check_input_data. You can also call that yourself. See "check_input_data --help" for options. |
This issue is primarily about reducing scripts in case.run and @erichlf now has a PR for that. |
I have some data on the length of time spent NOT running the model during a batch job execution on cori-knl. Is this a good place to copy/paste? |
@ndkeen: you can post it here. I'd be curious to see it. |
An additional option to skip preview-namelist has been implemented in ESMCI/cime#1471 and will be in ACME with the next CIME update (after #1490 ) |
@rljacob - can this be the default behavior? |
Eventually. We'll need to add a variable to control the default because some user's rely on it and some don't. |
The |
case.submit already sets up the namelists in the run-dir, however ,at the start of a job, this is repeated: e.g.
The text was updated successfully, but these errors were encountered: