You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
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.
In the CrocoDash workflow, it calls visualCaseGens
cime_interface
, which callsself._retrieve_machines
, which calls CIME.XML.machinesMachines
class for every machine available (Lines 618 onward). In the initialization for theMachines
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
The text was updated successfully, but these errors were encountered: