This machine is not available for the target CIME_MODEL

mariuslam

Marius Lambert
New Member
Hello,

Me and the Oslo community are running CTSM on saga. When updating CTSM from dev079 to dev92, we get an ERROR message when running ./xmlchange and ./xmlquery, after the case has been built.

manage_externals was run, and cime is at version 6.0.15

The full message is: "ERROR: Could not initialize machine object from /cluster/home/marlam/CTSM_single_site_hardening_pv_cosmo_28_04/ccs_config/machines/config_machines.xml. This machine is not available for the target CIME_MODEL."

This shows up despite the machine files for saga (attached) downloaded to ~/HOME/.cime

Thanks for your help,

Marius
 

Attachments

jedwards

CSEG and Liaisons
Staff member
Hi Marius,

I tried to reproduce your issue by checking out ctsm5.1.dev092 and removing the machine definition for cheyenne from
ccs_config/machines/config_machines.xml and putting it in .cime/config_machines.xml
Creating a case with this configuration appears to work correctly.

I then tried changing the HOSTNAME_REGEX in the machine definition to $HOSTNAME as you have it set.
That generated the error that you report. Please either use the --machine option to create_newcase or provide a valid regex
to match the hostname on your system.
 

mariuslam

Marius Lambert
New Member
Hi,

Right now I use this command to create a case:
${path2}/cime/scripts/create_newcase --case ~/cases/${GRIDNAME}_${name} --compset ${compset0} --res CLM_USRDAT --machine saga --run-unsupported --project nn2806k.

When I remove <NODENAME_REGEX>$HOSTNAME</NODENAME_REGEX> from the machine file, I still get the same error.

Regards,

Marius
 

jedwards

CSEG and Liaisons
Staff member
Sorry, I'm not able to reproduce this issue. Maybe try adding your machine definition to the
ccs_config/machines/config_machines.xml and see if it still gives that error.
 

mariuslam

Marius Lambert
New Member
Hi, Thanks for quick replies and having a look at it. We managed by specifying export CIME_MACHINE=saga, before creating the case etc.

 
Back
Top