Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Error in scripts regression tests: Not using optimized num nodes

inos@bas_ac_uk

Ingrid Cnossen
Member
Hello,I am in the process of porting CESM2.1.0 to the national HPC facility in the UK, called Archer. When I run the scripts regression tests I get the following error:2019-01-17 17:39:35: Exception during run:
ERROR: Not using optimized num nodes
Traceback (most recent call last):
  File "/fs2/n02/n02/inos/src/CESM2.1.0/cime/scripts/Tools/../../scripts/lib/CIME/SystemTests/system_tests_common.py", line 146, in run
    self.run_phase()
  File "/fs2/n02/n02/inos/src/CESM2.1.0/cime/scripts/Tools/../../scripts/lib/CIME/SystemTests/nodefail.py", line 76, in run_phase
    self._ers_second_phase()
  File "/fs2/n02/n02/inos/src/CESM2.1.0/cime/scripts/Tools/../../scripts/lib/CIME/SystemTests/ers.py", line 42, in _ers_second_phase
    self.run_indv(suffix="rest")
  File "/fs2/n02/n02/inos/src/CESM2.1.0/cime/scripts/Tools/../../scripts/lib/CIME/SystemTests/system_tests_common.py", line 230, in run_indv
    self._case.case_run(skip_pnl=self._skip_pnl, submit_resubmits=True)
  File "/fs2/n02/n02/inos/src/CESM2.1.0/cime/scripts/Tools/../../scripts/lib/CIME/case/case_run.py", line 284, in case_run
    lid = _run_model(self, lid, skip_pnl, da_cycle=cycle)
  File "/fs2/n02/n02/inos/src/CESM2.1.0/cime/scripts/Tools/../../scripts/lib/CIME/case/case_run.py", line 163, in _run_model
    return run_and_log_case_status(functor, "case.run", caseroot=case.get_value("CASEROOT"))
  File "/fs2/n02/n02/inos/src/CESM2.1.0/cime/scripts/Tools/../../scripts/lib/CIME/utils.py", line 1663, in run_and_log_case_status
    rv = func()
  File "/fs2/n02/n02/inos/src/CESM2.1.0/cime/scripts/Tools/../../scripts/lib/CIME/case/case_run.py", line 162, in
    functor = lambda: _run_model_impl(case, lid, skip_pnl=skip_pnl, da_cycle=da_cycle)
  File "/fs2/n02/n02/inos/src/CESM2.1.0/cime/scripts/Tools/../../scripts/lib/CIME/case/case_run.py", line 91, in _run_model_impl
    cmd = case.get_mpirun_cmd(allow_unresolved_envvars=False)
  File "/fs2/n02/n02/inos/src/CESM2.1.0/cime/scripts/Tools/../../scripts/lib/CIME/case/case.py", line 1266, in get_mpirun_cmd
    expect( (num_nodes + self.spare_nodes) == self.num_nodes, "Not using optimized num nodes")
  File "/fs2/n02/n02/inos/src/CESM2.1.0/cime/scripts/Tools/../../scripts/lib/CIME/utils.py", line 130, in expect
    raise exc_type(msg)
SystemExit: ERROR: Not using optimized num nodesFrom what I understand from the scripts this is related to a special definition for the aprun command, which is used by Archer, but I don't understand what it really means or what to do about it. Can anyone help? I will attach my config files and the TestStatus.log file for this test for further information. Thanks,Ingrid 
 
Top