You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Please provide a clear and concise description of what the bug is.
NorESM version: 2.0.9
HPC platform: Betzy
Compset: NF2000climo
Resolution: f19_f19
Error message (if applicable): Traceback (most recent call last):
File "/cluster/home/lisesg/NorESM/cime/scripts/./create_newcase", line 210, in
_main_func(doc)
File "/cluster/home/lisesg/NorESM/cime/scripts/./create_newcase", line 198, in _main_func
case.create(casename, srcroot, compset, grid, user_mods_dir=user_mods_dir,
File "/cluster/home/lisesg/NorESM/cime/scripts/Tools/../../scripts/lib/CIME/case/case.py", line 1449, in create
self.configure(compset_name, grid_name, machine_name=machine_name,
File "/cluster/home/lisesg/NorESM/cime/scripts/Tools/../../scripts/lib/CIME/case/case.py", line 856, in configure
if multi_driver and ninst>1:
TypeError: '>' not supported between instances of 'str' and 'int'
Describe the bug
Please provide a clear and concise description of what the bug is.
File "/cluster/home/lisesg/NorESM/cime/scripts/./create_newcase", line 210, in
_main_func(doc)
File "/cluster/home/lisesg/NorESM/cime/scripts/./create_newcase", line 198, in _main_func
case.create(casename, srcroot, compset, grid, user_mods_dir=user_mods_dir,
File "/cluster/home/lisesg/NorESM/cime/scripts/Tools/../../scripts/lib/CIME/case/case.py", line 1449, in create
self.configure(compset_name, grid_name, machine_name=machine_name,
File "/cluster/home/lisesg/NorESM/cime/scripts/Tools/../../scripts/lib/CIME/case/case.py", line 856, in configure
if multi_driver and ninst>1:
TypeError: '>' not supported between instances of 'str' and 'int'
To Reproduce
Steps to reproduce the behavior:
create_newcase --case <path-to-case-folder> --multi-driver --ninst 11 --compset NF2000climo --machine betzy --res f19_f19 --project <some-computing-project> --run-unsupported
Solution
The problem is resolved by changing the if test on line 856 in case.py from
if multi_driver and ninst>1:
toif multi_driver and int(ninst)>1:
.According to @gold2718, the problem is solved for the newer versions of CIME in cime6.0.13, but a permanent fix is need for NorESM2.
This bug is also reported in an issue in the NorESM repo, issue 648.
The text was updated successfully, but these errors were encountered: