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

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!!
 
Top