Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NorESM2.0.9 fails to create new case with the multi-driver mode #94

Open
lisesg opened this issue Feb 19, 2025 · 0 comments
Open

NorESM2.0.9 fails to create new case with the multi-driver mode #94

lisesg opened this issue Feb 19, 2025 · 0 comments

Comments

@lisesg
Copy link

lisesg commented Feb 19, 2025

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'

To Reproduce
Steps to reproduce the behavior:

  1. 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: to if 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant