Dear all,
I'm trying to run the CLM single point run following the tutorial (http://www.cgd.ucar.edu/events/2019/ctsm/files/practical4-wieder.pdf), and it fails to build the executable. I also have tried it in debug mode (Python/2.7.16 loaded) but there is no much information in the CaseStatus file, so I post the error message below and hope someone could provide some instructions or hints to fix the problem, thanks!
------------------------------error message below--------------------------------------------------
<username>@cheyenne2:~/clm_tutorial_cases/Ha1_CLM50sp_001> ./case.build
Building case in directory /glade/u/home/<username>/clm_tutorial_cases/Ha1_CLM50sp_001
sharedlib_only is False
model_only is False
Setting resource.RLIMIT_STACK to -1 from (307200000, -1)
Generating component namelists as part of build
Creating component namelists
Calling /glade/u/home/<username>/clm5.0_2019tutorial/cime/src/components/data_comps/datm/cime_config/buildnml
Running /glade/u/home/<username>/clm5.0_2019tutorial/cime/src/components/data_comps/datm/cime_config/buildnml
Traceback (most recent call last):
File "/glade/u/home/<username>/clm5.0_2019tutorial/cime/src/components/data_comps/datm/cime_config/buildnml", line 251, in <module>
_main_func()
File "/glade/u/home/<username>/clm5.0_2019tutorial/cime/src/components/data_comps/datm/cime_config/buildnml", line 247, in _main_func
buildnml(case, caseroot, "datm")
File "/glade/u/home/<username>/clm5.0_2019tutorial/cime/src/components/data_comps/datm/cime_config/buildnml", line 229, in buildnml
_create_namelists(case, confdir, inst_string, namelist_infile, nmlgen, data_list_path)
File "/glade/u/home/<username>/clm5.0_2019tutorial/cime/src/components/data_comps/datm/cime_config/buildnml", line 123, in _create_namelists
nmlgen.create_stream_file_and_update_shr_strdata_nml(config, case.get_value("CASEROOT"),stream, stream_path, data_list_path)
File "/glade/u/home/<username>/clm5.0_2019tutorial/cime/scripts/Tools/../../scripts/lib/CIME/nmlgen.py", line 444, in create_stream_file_and_update_shr_strdata_nml
strmobj = Stream(infile=stream_path)
File "/glade/u/home/<username>/clm5.0_2019tutorial/cime/scripts/Tools/../../scripts/lib/CIME/XML/stream.py", line 22, in __init__
GenericXML.__init__(self, infile, schema=schema)
File "/glade/u/home/<username>/clm5.0_2019tutorial/cime/scripts/Tools/../../scripts/lib/CIME/XML/generic_xml.py", line 57, in __init__
self.read(infile, schema)
File "/glade/u/home/<username>/clm5.0_2019tutorial/cime/scripts/Tools/../../scripts/lib/CIME/XML/generic_xml.py", line 87, in read
self.read_fd(fd)
File "/glade/u/home/<username>/clm5.0_2019tutorial/cime/scripts/Tools/../../scripts/lib/CIME/XML/generic_xml.py", line 112, in read_fd
self.tree = ET.parse(fd)
File "/glade/u/apps/ch/opt/python/2.7.16/gnu/8.3.0/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
tree.parse(source, parser)
File "/glade/u/apps/ch/opt/python/2.7.16/gnu/8.3.0/lib/python2.7/xml/etree/ElementTree.py", line 656, in parse
parser.feed(data)
File "/glade/u/apps/ch/opt/python/2.7.16/gnu/8.3.0/lib/python2.7/xml/etree/ElementTree.py", line 1659, in feed
self._raiseerror(v)
File "/glade/u/apps/ch/opt/python/2.7.16/gnu/8.3.0/lib/python2.7/xml/etree/ElementTree.py", line 1523, in _raiseerror
raise err
xml.etree.ElementTree.ParseError: junk after document element: line 5, column 0
ERROR: /glade/u/home/<username>/clm5.0_2019tutorial/cime/src/components/data_comps/datm/cime_config/buildnml /glade/u/home/<username>/clm_tutorial_cases/Ha1_CLM50sp_001 FAILED, see above
I'm trying to run the CLM single point run following the tutorial (http://www.cgd.ucar.edu/events/2019/ctsm/files/practical4-wieder.pdf), and it fails to build the executable. I also have tried it in debug mode (Python/2.7.16 loaded) but there is no much information in the CaseStatus file, so I post the error message below and hope someone could provide some instructions or hints to fix the problem, thanks!
------------------------------error message below--------------------------------------------------
<username>@cheyenne2:~/clm_tutorial_cases/Ha1_CLM50sp_001> ./case.build
Building case in directory /glade/u/home/<username>/clm_tutorial_cases/Ha1_CLM50sp_001
sharedlib_only is False
model_only is False
Setting resource.RLIMIT_STACK to -1 from (307200000, -1)
Generating component namelists as part of build
Creating component namelists
Calling /glade/u/home/<username>/clm5.0_2019tutorial/cime/src/components/data_comps/datm/cime_config/buildnml
Running /glade/u/home/<username>/clm5.0_2019tutorial/cime/src/components/data_comps/datm/cime_config/buildnml
Traceback (most recent call last):
File "/glade/u/home/<username>/clm5.0_2019tutorial/cime/src/components/data_comps/datm/cime_config/buildnml", line 251, in <module>
_main_func()
File "/glade/u/home/<username>/clm5.0_2019tutorial/cime/src/components/data_comps/datm/cime_config/buildnml", line 247, in _main_func
buildnml(case, caseroot, "datm")
File "/glade/u/home/<username>/clm5.0_2019tutorial/cime/src/components/data_comps/datm/cime_config/buildnml", line 229, in buildnml
_create_namelists(case, confdir, inst_string, namelist_infile, nmlgen, data_list_path)
File "/glade/u/home/<username>/clm5.0_2019tutorial/cime/src/components/data_comps/datm/cime_config/buildnml", line 123, in _create_namelists
nmlgen.create_stream_file_and_update_shr_strdata_nml(config, case.get_value("CASEROOT"),stream, stream_path, data_list_path)
File "/glade/u/home/<username>/clm5.0_2019tutorial/cime/scripts/Tools/../../scripts/lib/CIME/nmlgen.py", line 444, in create_stream_file_and_update_shr_strdata_nml
strmobj = Stream(infile=stream_path)
File "/glade/u/home/<username>/clm5.0_2019tutorial/cime/scripts/Tools/../../scripts/lib/CIME/XML/stream.py", line 22, in __init__
GenericXML.__init__(self, infile, schema=schema)
File "/glade/u/home/<username>/clm5.0_2019tutorial/cime/scripts/Tools/../../scripts/lib/CIME/XML/generic_xml.py", line 57, in __init__
self.read(infile, schema)
File "/glade/u/home/<username>/clm5.0_2019tutorial/cime/scripts/Tools/../../scripts/lib/CIME/XML/generic_xml.py", line 87, in read
self.read_fd(fd)
File "/glade/u/home/<username>/clm5.0_2019tutorial/cime/scripts/Tools/../../scripts/lib/CIME/XML/generic_xml.py", line 112, in read_fd
self.tree = ET.parse(fd)
File "/glade/u/apps/ch/opt/python/2.7.16/gnu/8.3.0/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
tree.parse(source, parser)
File "/glade/u/apps/ch/opt/python/2.7.16/gnu/8.3.0/lib/python2.7/xml/etree/ElementTree.py", line 656, in parse
parser.feed(data)
File "/glade/u/apps/ch/opt/python/2.7.16/gnu/8.3.0/lib/python2.7/xml/etree/ElementTree.py", line 1659, in feed
self._raiseerror(v)
File "/glade/u/apps/ch/opt/python/2.7.16/gnu/8.3.0/lib/python2.7/xml/etree/ElementTree.py", line 1523, in _raiseerror
raise err
xml.etree.ElementTree.ParseError: junk after document element: line 5, column 0
ERROR: /glade/u/home/<username>/clm5.0_2019tutorial/cime/src/components/data_comps/datm/cime_config/buildnml /glade/u/home/<username>/clm_tutorial_cases/Ha1_CLM50sp_001 FAILED, see above