-
Notifications
You must be signed in to change notification settings - Fork 3
Description
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