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

Error in create_newcase

Chiyang

liyang
New Member
./create_newcase --compset F1850 --res f09_f09_mg17 --case test --machine ibmintel
Running the code produces the following error:
Compset longname is 1850_CAM60_CLM50%SP_CICE%PRES_DOCN%DOM_MOSART_CISM2%NOEVOLVE_SWAV
Compset specification file is /home2/liy/my_cesm_sandbox/cime/../components/cam//cime_config/config_compsets.xml
Compset forcing is 1850
ATM component is CAM cam6 physics:
LND component is clm5.0:Satellite phenology:
ICE component is Sea ICE (cice) model version 5 :prescribed cice
OCN component is DOCN prescribed ocean mode
ROF component is MOSART: MOdel for Scale Adaptive River Transport
GLC component is cism2 (default, higher-order, can run in parallel):cism ice evolution turned off (this is the standard configuration unless you're explicitly interested in ice evolution):
WAV component is Stub wave component
ESP component is
Pes specification file is /home2/liy/my_cesm_sandbox/cime/../components/cam//cime_config/config_pes.xml
Compset specific settings: name is SSTICE_DATA_FILENAME and value is $DIN_LOC_ROOT/atm/cam/sst/sst_HadOIBl_bc_0.9x1.25_clim_pi_c101028.nc
Compset specific settings: name is SSTICE_GRID_FILENAME and value is $DIN_LOC_ROOT/share/domains/domain.ocn.fv0.9x1.25_gx1v7.151020.nc
Traceback (most recent call last):
File "/home2/liy/my_cesm_sandbox/cime/scripts/./create_newcase", line 218, in <module>
_main_func(__doc__)
File "/home2/liy/my_cesm_sandbox/cime/scripts/./create_newcase", line 206, in _main_func
case.create(casename, srcroot, compset, grid, user_mods_dir=user_mods_dir,
File "/home2/liy/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/case/case.py", line 1440, in create
self.configure(compset_name, grid_name, machine_name=machine_name,
File "/home2/liy/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/case/case.py", line 813, in configure
machobj = Machines(machine=machine_name)
File "/home2/liy/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/XML/machines.py", line 36, in __init__
GenericXML.__init__(self, infile, schema)
File "/home2/liy/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/XML/generic_xml.py", line 57, in __init__
self.read(infile, schema)
File "/home2/liy/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/XML/generic_xml.py", line 87, in read
self.read_fd(fd)
File "/home2/liy/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/XML/generic_xml.py", line 112, in read_fd
self.tree = ET.parse(fd)
File "/home2/liy/miniconda3/lib/python3.9/xml/etree/ElementTree.py", line 1222, in parse
tree.parse(source, parser)
File "/home2/liy/miniconda3/lib/python3.9/xml/etree/ElementTree.py", line 580, in parse
self._root = parser._parse_whole(source)
xml.etree.ElementTree.ParseError: junk after document element: line 88, column 2
I have checked the xml file and there are no syntax errors.
 

xnnzka

xnnzka
New Member
Hi, I think there might be errors in your xml file, such as missing end tag (">").
If your question still exists, you can upload your xml files to let me and others to help you.
 
Vote Upvote 0 Downvote
Top