Skip to content

Issue creating CESM case with visualCaseGen cime_interface #9

@manishvenu

Description

@manishvenu

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions