-
Notifications
You must be signed in to change notification settings - Fork 207
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
Remove GPU options from the Python workflow and move them to XML files for CESM #4690
Conversation
only do sanity check ngpus_per_node
pylint errors to correct:
|
Thanks @jedwards4b . I have fixed the pylint error. But it looks like there are still two errors left:
Could you tell me how to fix these errors? |
The easiest way is to install pre-commit and use it locally. |
Thanks @jedwards4b . I ran the
It seems that nothing is fixed somehow. I am using |
@sjsprecious Run |
Thanks @jasonb5 . I have fixed them with Jim's help. |
@sjsprecious I noticed that you only tested this for e3sm - the cesm version of the config_machines xsd file has not been updated to reflect the change. |
Thanks @jedwards4b for catching this bug. I will work on a PR to fix it for CESM shortly. |
As discussed in #4687, it is better remove the GPU options from the Python workflow in CIME and use XML files instead to configure them for CESM.
This PR does this and it works for CESM CPU & GPU runs according to my tests on Derecho.
The general build procedure for building a CESM GPU run on Derecho now looks like (the other machines can modify the settings for their specific hardware accordingly):
It should work together with the following PRs: