Hi all,
I'm porting CESM2.3.beta08 to the ARCHER2 HPC here in the UK. My colleagues have previously successfully ported CESM2.1.3 but we have a research need for more recent model features. We have a script to install the model and a module file to go with it (attached).
Following the usual steps I am able to download the model and create a test case. The error arises when invoking ./case.build in the test case:
Traceback (most recent call last):
File "/mnt/lustre/a2fs-work2/work/n02/n02/jking/cesm/CESM2.3.beta08/cases/F2000climo_test/./case.build", line 147, in <module>
_main_func(__doc__)
File "/mnt/lustre/a2fs-work2/work/n02/n02/jking/cesm/CESM2.3.beta08/cases/F2000climo_test/./case.build", line 140, in _main_func
success = build.case_build(caseroot, case=case, sharedlib_only=sharedlib_only,
File "/mnt/lustre/a2fs-work2/work/n02/n02/jking/cesm/CESM2.3.beta08/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/build.py", line 570, in case_build
return run_and_log_case_status(functor, "case.build", caseroot=caseroot)
File "/mnt/lustre/a2fs-work2/work/n02/n02/jking/cesm/CESM2.3.beta08/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/utils.py", line 1684, in run_and_log_case_status
rv = func()
File "/mnt/lustre/a2fs-work2/work/n02/n02/jking/cesm/CESM2.3.beta08/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/build.py", line 568, in <lambda>
functor = lambda: _case_build_impl(caseroot, case, sharedlib_only, model_only, buildlist,
File "/mnt/lustre/a2fs-work2/work/n02/n02/jking/cesm/CESM2.3.beta08/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/build.py", line 519, in _case_build_impl
logs = _build_libraries(case, exeroot, sharedpath, caseroot,
File "/mnt/lustre/a2fs-work2/work/n02/n02/jking/cesm/CESM2.3.beta08/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/build.py", line 257, in _build_libraries
if comp_lnd == "clm" and "clm4_0" not in clm_config_opts:
TypeError: argument of type 'NoneType' is not iterable
Someone else has posted this error before on the forums but it doesn't appear to have been resolved. As this appears to be related to CLM I have attached the CLM namelist for the case as well. One thing to be aware of is that the CESM2.1.3 installation required modifying the default version of CIME (prior to running ./manage_externals/checkout_externals) to branch = maint-5.6 (which contains machine-specific settings for ARCHER2). I have done this again here but I am not sure if this older CIME version would work with CESM2.3.beta08.
Any advice on how we should proceed would be much appreciated.
Many thanks,
James
I'm porting CESM2.3.beta08 to the ARCHER2 HPC here in the UK. My colleagues have previously successfully ported CESM2.1.3 but we have a research need for more recent model features. We have a script to install the model and a module file to go with it (attached).
Following the usual steps I am able to download the model and create a test case. The error arises when invoking ./case.build in the test case:
Traceback (most recent call last):
File "/mnt/lustre/a2fs-work2/work/n02/n02/jking/cesm/CESM2.3.beta08/cases/F2000climo_test/./case.build", line 147, in <module>
_main_func(__doc__)
File "/mnt/lustre/a2fs-work2/work/n02/n02/jking/cesm/CESM2.3.beta08/cases/F2000climo_test/./case.build", line 140, in _main_func
success = build.case_build(caseroot, case=case, sharedlib_only=sharedlib_only,
File "/mnt/lustre/a2fs-work2/work/n02/n02/jking/cesm/CESM2.3.beta08/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/build.py", line 570, in case_build
return run_and_log_case_status(functor, "case.build", caseroot=caseroot)
File "/mnt/lustre/a2fs-work2/work/n02/n02/jking/cesm/CESM2.3.beta08/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/utils.py", line 1684, in run_and_log_case_status
rv = func()
File "/mnt/lustre/a2fs-work2/work/n02/n02/jking/cesm/CESM2.3.beta08/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/build.py", line 568, in <lambda>
functor = lambda: _case_build_impl(caseroot, case, sharedlib_only, model_only, buildlist,
File "/mnt/lustre/a2fs-work2/work/n02/n02/jking/cesm/CESM2.3.beta08/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/build.py", line 519, in _case_build_impl
logs = _build_libraries(case, exeroot, sharedpath, caseroot,
File "/mnt/lustre/a2fs-work2/work/n02/n02/jking/cesm/CESM2.3.beta08/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/build.py", line 257, in _build_libraries
if comp_lnd == "clm" and "clm4_0" not in clm_config_opts:
TypeError: argument of type 'NoneType' is not iterable
Someone else has posted this error before on the forums but it doesn't appear to have been resolved. As this appears to be related to CLM I have attached the CLM namelist for the case as well. One thing to be aware of is that the CESM2.1.3 installation required modifying the default version of CIME (prior to running ./manage_externals/checkout_externals) to branch = maint-5.6 (which contains machine-specific settings for ARCHER2). I have done this again here but I am not sure if this older CIME version would work with CESM2.3.beta08.
Any advice on how we should proceed would be much appreciated.
Many thanks,
James