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

Issue creating CESM case with visualCaseGen cime_interface #9

Open
manishvenu opened this issue Feb 18, 2025 · 2 comments
Open

Issue creating CESM case with visualCaseGen cime_interface #9

manishvenu opened this issue Feb 18, 2025 · 2 comments
Assignees

Comments

@manishvenu
Copy link
Collaborator

manishvenu commented Feb 18, 2025

In the CrocoDash workflow, it calls visualCaseGens cime_interface, which calls self._retrieve_machines, which calls CIME.XML.machines Machines class for every machine available (Lines 618 onward). In the initialization for the Machines class, it validates the xml files for each machine. On the "casper" machine, this fails with the error, "

E CIME.utils.CIMEError: ERROR: Command: '/usr/share/miniconda/envs/CrocoDash/bin/xmllint --xinclude --noout --schema /home/runner/work/CrocoDash/CrocoDash/CESM/cime/CIME/data/config/xml_schemas/config_machines_version3.xsd /home/runner/work/CrocoDash/CrocoDash/CESM/ccs_config/machines/casper/config_machines.xml' failed with error '/home/runner/work/CrocoDash/CrocoDash/CESM/ccs_config/machines/casper/config_machines.xml:19: Schemas validity error : Element 'GPU_TYPE': This element is not expected. Expected is one of ( MAX_CPUTASKS_PER_GPU_NODE, MPI_GPU_WRAPPER_SCRIPT, COSTPES_PER_NODE, PROJECT_REQUIRED, mpirun ).
E /home/runner/work/CrocoDash/CrocoDash/CESM/ccs_config/machines/casper/config_machines.xml fails to validate' from dir '/home/runner/work/CrocoDash/CrocoDash/CrocoDash'

"

This only occurs when using Github Actions with machine ubuntu-latest and does not occur on derecho/casper. Sample action: https://github.com/CROCODILE-CESM/CrocoDash/actions/runs/13398159162/job/37422549889

@manishvenu
Copy link
Collaborator Author

@alperaltuntas

I looked into this further, the current ESCOMP/CESM has a cime commit that uses a schema validation file for the machines which doesn't include GPU_TYPE, but the CROCODILE-CESM/CESM does. The CIME commit for CROCODILE-CESM is 6 months ago while the ESCOMP one is 2 weeks ago.

@manishvenu
Copy link
Collaborator Author

So the tentative fix for now is just use the CROCODILE-CESM/CESM fork

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

No branches or pull requests

2 participants