ESMCI / ccs_config_cesm

CESM CIME Case Control System configuration files
3 stars 43 forks source link

Add "-V" option back to avoid a python issue on Cheyenne #122

Closed sjsprecious closed 11 months ago

sjsprecious commented 11 months ago

According to many feedback, removing the -V option from PBS resource will lead to an error like below on Derecho:

File "/var/spool/pbs/mom_priv/jobs/3309939.chadmin1.ib0.cheyenne.ucar.edu.SC", line 20, in from standard_script_setup import * File "/glade/u/home/cacraig/cam_misc_tag/cime/CIME/Tools/standard_script_setup.py", line 33, in check_minimum_python_version(3, 6) File "/glade/u/home/cacraig/cam_misc_tag/cime/CIME/Tools/standard_script_setup.py", line 30, in check_minimum_python_version ), msg AssertionError: Python 3, minor version 6 is required, you have 3.4

The -V option is removed by PR https://github.com/ESMCI/ccs_config_cesm/pull/97 because the NGPUS env variable is not set properly on Derecho's compute node and the GPU run will crash accordingly. This issue can be resolved later on Derecho and this PR will add -V option back for PBS system to avoid the error above.

sjsprecious commented 11 months ago

The #PBS -V issue on Derecho for a GPU job is fixed on 09/19/2023 by CSG staff.