cam6_3_79 and cam_6_80 new version_ERROR while creating new case (./ case.setup) on Cheyenne (tcsh)

dharmendraks841

Dharmendra Kumar Singh
Member
Dear CAM users,
I was creating a case on Cheyenne (tcsh) using the module cam6_3_79 and cam_6_80 new version cloned the Git Tag from here GitHub - ESCOMP/CAM at cam6_3_079
I was stuck with the following error.

Traceback (most recent call last):
File "./create_newcase", line 15, in <module>
from CIME.scripts.create_newcase import _main_func
File "/glade/scratch/dksingh/CAM/cime/CIME/scripts/create_newcase.py", line 180
f"The default is {srcroot_default}",
^
SyntaxError: invalid syntax


Normally, in CESM downloading we have only one ''cime '' for creating cases in scripts but here (cam6_3_79 and cam_6_80) I found one more CIME in the cime directory that is confusing, why 2 (cime and CIME) found? If both exist then which one should be used for using scripts for creating cases?
Please assist me.


Dharmendra
 

peverley

Courtney Peverley
Moderator
Staff member
Hi Dharmendra,

Both have existed for some time (the CIME directory contains the objects and scripts referenced in the cime/scripts directory). You should always use the scripts in cime/scripts.

That said, it looks like your error is the result of an older python version. Try loading a new python version with

module load python/3.7.9

Let me know if that helps.

Courtney
 

dharmendraks841

Dharmendra Kumar Singh
Member
Hi Dharmendra,

Both have existed for some time (the CIME directory contains the objects and scripts referenced in the cime/scripts directory). You should always use the scripts in cime/scripts.

That said, it looks like your error is the result of an older python version. Try loading a new python version with

module load python/3.7.9

Let me know if that helps.

Courtney
Thanks a lot for your prompt response!!
 
Back
Top