I am running create_test ( specifically ./create_test --xml-category prealpha --xml-machine cheyenne --xml-compiler intel --machine cedar --compiler intel )
and I am getting a bunch of errors like the one below. Any idea how to resolve this? It looks like that some character in my modules list is breaking python's f.write function. Additional information about my setup in the attached files.
Starting CREATE_NEWCASE for test SMS_D_Ld3.f10_f10_musgs.I1850Clm50BgcCrop.cedar_intel.clm-default with 1 procs
Finished SETUP for test ERS_Lm3.T62_g16.AIAF.cedar_intel in 9.855023 seconds (FAIL). [COMPLETED 14 of 70]
Case dir: /scratch/ntandon/cesm2_1_3/ERS_Lm3.T62_g16.AIAF.cedar_intel.20201124_183334_t6pkvp
Errors were:
/scratch/ntandon/cesm2_1_3/ERS_Lm3.T62_g16.AIAF.cedar_intel.20201124_183334_t6pkvp/env_mach_specific.xml already exists, delete to replace
Traceback (most recent call last):
File "./case.setup", line 62, in <module>
_main_func(__doc__)
File "./case.setup", line 59, in _main_func
case.case_setup(clean=clean, test_mode=test_mode, reset=reset)
File "/home/ntandon/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/case/case_setup.py", line 220, in case_setup
run_and_log_case_status(functor, phase, caseroot=caseroot)
File "/home/ntandon/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/utils.py", line 1683, in run_and_log_case_status
rv = func()
File "/home/ntandon/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/case/case_setup.py", line 214, in <lambda>
functor = lambda: _case_setup_impl(self, caseroot, clean, test_mode, reset)
File "/home/ntandon/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/case/case_setup.py", line 205, in _case_setup_impl
env_module.save_all_env_info("software_environment.txt")
File "/home/ntandon/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/XML/env_mach_specific.py", line 140, in save_all_env_info
f.write(self.list_modules())
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 513: ordinal not in range(128)
and I am getting a bunch of errors like the one below. Any idea how to resolve this? It looks like that some character in my modules list is breaking python's f.write function. Additional information about my setup in the attached files.
Starting CREATE_NEWCASE for test SMS_D_Ld3.f10_f10_musgs.I1850Clm50BgcCrop.cedar_intel.clm-default with 1 procs
Finished SETUP for test ERS_Lm3.T62_g16.AIAF.cedar_intel in 9.855023 seconds (FAIL). [COMPLETED 14 of 70]
Case dir: /scratch/ntandon/cesm2_1_3/ERS_Lm3.T62_g16.AIAF.cedar_intel.20201124_183334_t6pkvp
Errors were:
/scratch/ntandon/cesm2_1_3/ERS_Lm3.T62_g16.AIAF.cedar_intel.20201124_183334_t6pkvp/env_mach_specific.xml already exists, delete to replace
Traceback (most recent call last):
File "./case.setup", line 62, in <module>
_main_func(__doc__)
File "./case.setup", line 59, in _main_func
case.case_setup(clean=clean, test_mode=test_mode, reset=reset)
File "/home/ntandon/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/case/case_setup.py", line 220, in case_setup
run_and_log_case_status(functor, phase, caseroot=caseroot)
File "/home/ntandon/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/utils.py", line 1683, in run_and_log_case_status
rv = func()
File "/home/ntandon/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/case/case_setup.py", line 214, in <lambda>
functor = lambda: _case_setup_impl(self, caseroot, clean, test_mode, reset)
File "/home/ntandon/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/case/case_setup.py", line 205, in _case_setup_impl
env_module.save_all_env_info("software_environment.txt")
File "/home/ntandon/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/XML/env_mach_specific.py", line 140, in save_all_env_info
f.write(self.list_modules())
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 513: ordinal not in range(128)