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

Setup and Build CESM 1.2.2 on Gaea

Dear All:Has anyone ever tried to setup and build CESM 1.2.2 on Gaea lately? I used to run CESM 1.2.2 on Gaea, and wanted to pick up some work lately. If I remember correctly, I could setup and build CESM on Gaea early this year, but not anymore now. I didn't change my setup/build script at all since last time I had a success.The error message is as follows:Creating batch script FIDEAL_ne240.run
ModuleCmd_Load.c(244):ERROR:105: Unable to locate a modulefile for 'torque'
Locking file env_mach_pes.xml
Creating user_nl_xxx files for components and cpl
Running preview_namelist script
ModuleCmd_Load.c(244):ERROR:105: Unable to locate a modulefile for 'torque'
ModuleCmd_Load.c(244):ERROR:105: Unable to locate a modulefile for 'torque'
syntax error at /ncrc/home1/Aaron.Wang/cesm1_2_2/models/drv/bld/build-namelist line 784, near "$model qw(cpl atm lnd ice ocn glc rof wav)"
Global symbol "$model" requires explicit package name at /ncrc/home1/Aaron.Wang/cesm1_2_2/models/drv/bld/build-namelist line 787.
Global symbol "$model" requires explicit package name at /ncrc/home1/Aaron.Wang/cesm1_2_2/models/drv/bld/build-namelist line 792.
Global symbol "$model" requires explicit package name at /ncrc/home1/Aaron.Wang/cesm1_2_2/models/drv/bld/build-namelist line 793.
Global symbol "$model" requires explicit package name at /ncrc/home1/Aaron.Wang/cesm1_2_2/models/drv/bld/build-namelist line 794.
... It seems to me that Gaea can't find a modulefile for 'torque'. Then for some reason the perl script /ncrc/home1/Aaron.Wang/cesm1_2_2/models/drv/bld/build-namelist can't be read correctly. The complaint about the perl script is long and I only posted part of it.Does anyone have any idea how to solve the problems?Thank you so much.  
 

jedwards

CSEG and Liaisons
Staff member
The perl script issue is this: function qw now needs to be encllosed in parenthesis for newer versions of perlso for example:for $model qw(cpl atm lnd ice ocn glc rof wav)should now befor $model (qw(cpl atm lnd ice ocn glc rof wav))
you will also need to go through the env_mach_speciflc file and make sure that modules listed are still available or find appropriate substitutes.   
 
Top