Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Configure and locate: config_machines.xml

nuvolet

Toni Viudez
Member
What version of the code are you using?
cesm2.2.2

Have you made any changes to files in the source tree?
Some changes in nudging module and clm

Describe every step you took leading up to the problem:
I want to create a new case including the modifications indicated and run it in our local machines

Describe your problem or question:
Once the script starts to create the case shows this on screen:

Code:
...
Could not find machine match for 'bn15.cluster.net' or 'bn15.cluster.net'
Could not find machine match for 'bn15.cluster.net' or 'bn15.cluster.net'
Traceback (most recent call last):
  File "./create_newcase", line 243, in <module>
    _main_func(__doc__)
  File "./create_newcase", line 238, in _main_func
    extra_machines_dir=extra_machines_dir)
  File "~/CESM2.2/cime/scripts/Tools/../../scripts/lib/CIME/case/case.py", line 1644, in create
    extra_machines_dir=extra_machines_dir)
  File "~/CESM2.2/cime/scripts/Tools/../../scripts/lib/CIME/case/case.py", line 963, in configure
    machobj = Machines(machine=machine_name, extra_machines_dir=extra_machines_dir)
  File "~/CESM2.2/cime/scripts/Tools/../../scripts/lib/CIME/XML/machines.py", line 74, in __init__
    GenericXML.read(self, local_infile, schema)
  File "~/CESM2.2/cime/scripts/Tools/../../scripts/lib/CIME/XML/generic_xml.py", line 101, in read
    with file_open(infile) as fd:
  File "~/CESM2.2/cime/scripts/Tools/../../scripts/lib/CIME/XML/generic_xml.py", line 100, in <lambda>
    file_open = (lambda x: open(x, 'r', encoding='utf-8')) if six.PY3 else (lambda x: open(x, 'r'))
IOError: [Errno 2] No such file or directory: '~/CESM2.2/cime/config/e3sm/machines/config_machines.xml'
...

But in the machine, ~/CESM2.2/cime/config/e3sm/machines/config_machines.xml does not exit.
Only can reach up to:

~/CESM2.2/cime/config/e3sm/

where there is only this xml file:

config_files.xml

How can I configure the machines to be used by CESM?.

Thanks in advance
 
Top