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

Problem with running CESM 1.2.0

Dear Forum Member,Two weeks ago, I started to build the CESM 1.2.0 on Cineca Server. So far so good, I got the model compiled and built on the server. But unfortunately, I've problem with the running of the model on the server. The case is created with following command:./create_newcase -case $CINECA_SCRATCH/Case/mycase -res f45_g37 -compset X -mach fermiI get the following error, when I run my case.nodes  = 1
ntasks = 1
mthrds = 4
-------------------------------------------------------------------------
 CESM BUILDNML SCRIPT STARTING
 - To prestage restarts, untar a restart.tar file into /gpfs/scratch/userexternal/asakalli/EXE/mycase10/run
 infile is /gpfs/scratch/userexternal/asakalli/Case/mycase10/Buildconf/cplconf/cesm_namelist
 CESM BUILDNML SCRIPT HAS FINISHED SUCCESSFULLY
-------------------------------------------------------------------------
-------------------------------------------------------------------------
 CESM PRESTAGE SCRIPT STARTING
 - Case input data directory, DIN_LOC_ROOT, is /gpfs/scratch/userexternal/asakalli/inputdata
 - Checking the existence of input datasets in DIN_LOC_ROOT
 CESM PRESTAGE SCRIPT HAS FINISHED SUCCESSFULLY
-------------------------------------------------------------------------
ntasks = 1
mthrds = 4
procs = 1
Di 24. Sep 16:02:41 CEST 2013 -- CSM EXECUTION HAS FINISHED
ls: No match.
Model did not complete - no cesm.log file present - exiting

It seem that the cesm.exe does not work correctly. Some Configuration which I did to compile and build the model are in the config_compiler file are: 
  mpixlf90_r
  mpixlf90_r
  mpixlc_r
  mpixlc_r
  -qsuffix=f=f -qfixed=132
  -qsuffix=f=f90:cpp=F90
  -DNO_C_SIZEOF -DFORTRAN_SAME -DNO_MPI2
  $(CPPDEFS) -q64 -O2
  $(FPPFLAGS) -q64 -g -qfullpath -qmaxmem=-1  -qsigtrap=xl__trcedump -qextname=flush
  -O3 -qstrict -Q
  -qsmp=omp
  -qinitauto=7FF7FFFF -qflttrap=ov:zero:inv:en -qspillsize=4000
  -qsmp=omp:noopt
  -g -I/cineca/prod/libraries/netcdf/4.1.3/bgq-xl--1.0/include
  -I/cineca/prod/libraries/netcdf/4.1.3/bgq-xl--1.0/include
  /cineca/prod/libraries/netcdf/4.1.3/bgq-xl--1.0
  -L/cineca/prod/libraries/netcdf/4.1.3/bgq-xl--1.0/lib -lnetcdff -lnetcdf -L/cineca/prod/libraries/hdf5/1.8.9_ser/bgq-xl--1.0/lib -lhdf5_hl -lhdf5 -L/cineca/prod/libraries/zlib/1.2.7/bgq-gnu--4.4.6/lib -lz
  -L/cineca/prod/libraries/szip/2.1/bgq-xl--1.0/lib -lsz
 I also put some codes in the config_machines file since the platform on which i'll try to run the model is a not supported platform for cesm1.2.0. The file includes:
        IBM BGQ machine                                
        ibm    
        mpi-serial               
        /gpfs/scratch/userexternal/asakalli/EXE/$CASE/run                      
        /gpfs/scratch/userexternal/asakalli/EXE/$CASE                    
        /gpfs/scratch/userexternal/asakalli/inputdata          
        LINUX                             
        llq -u
        llsubmit
        4
        4
 I also created a mkbatch file for the machine. The file is attached.Does anybody know how to fix the problem, and where I've mistake in the script files? Thank you very much for your support and help in advance. Best regards
 

jedwards

CSEG and Liaisons
Staff member
It looks like the runjob command in your mkbatch file didn't run, at least it didn't produce any output.  Try adding a -x to your run script toget more debug information: #! /bin/csh -fx
 

jedwards

CSEG and Liaisons
Staff member
It looks like the runjob command in your mkbatch file didn't run, at least it didn't produce any output.  Try adding a -x to your run script toget more debug information: #! /bin/csh -fx
 

jedwards

CSEG and Liaisons
Staff member
Try going to the run directory and running just this part from the command line:

runjob --label short -p 1 -n 1 : /gpfs/scratch/userexternal/asakalli/EXE/mycase11/cesm.exe where is the redirect to the cesm.log file? 
 

jedwards

CSEG and Liaisons
Staff member
Try going to the run directory and running just this part from the command line:

runjob --label short -p 1 -n 1 : /gpfs/scratch/userexternal/asakalli/EXE/mycase11/cesm.exe where is the redirect to the cesm.log file? 
 

jedwards

CSEG and Liaisons
Staff member
You will need to work with your system support staff to determine how to run a job on your system.   There is an mpi hello world example in the CESM users guide that may help. 
 

jedwards

CSEG and Liaisons
Staff member
You will need to work with your system support staff to determine how to run a job on your system.   There is an mpi hello world example in the CESM users guide that may help. 
 

jedwards

CSEG and Liaisons
Staff member
Another problem is that in your machine definition you should have BGQ not linux.     This machine should be very similar to the mira machine, use that as a template for your machine definition.  
 

jedwards

CSEG and Liaisons
Staff member
Another problem is that in your machine definition you should have BGQ not linux.     This machine should be very similar to the mira machine, use that as a template for your machine definition.  
 

wangj

wang juan
New Member
Dear Forum Member,Two weeks ago, I started to build the CESM 1.2.0 on Cineca Server. So far so good, I got the model compiled and built on the server. But unfortunately, I've problem with the running of the model on the server. The case is created with following command:./create_newcase -case $CINECA_SCRATCH/Case/mycase -res f45_g37 -compset X -mach fermiI get the following error, when I run my case.nodes = 1
ntasks = 1
mthrds = 4
-------------------------------------------------------------------------
CESM BUILDNML SCRIPT STARTING
- To prestage restarts, untar a restart.tar file into /gpfs/scratch/userexternal/asakalli/EXE/mycase10/run
infile is /gpfs/scratch/userexternal/asakalli/Case/mycase10/Buildconf/cplconf/cesm_namelist
CESM BUILDNML SCRIPT HAS FINISHED SUCCESSFULLY
-------------------------------------------------------------------------
-------------------------------------------------------------------------
CESM PRESTAGE SCRIPT STARTING
- Case input data directory, DIN_LOC_ROOT, is /gpfs/scratch/userexternal/asakalli/inputdata
- Checking the existence of input datasets in DIN_LOC_ROOT
CESM PRESTAGE SCRIPT HAS FINISHED SUCCESSFULLY
-------------------------------------------------------------------------
ntasks = 1
mthrds = 4
procs = 1
Di 24. Sep 16:02:41 CEST 2013 -- CSM EXECUTION HAS FINISHED
ls: No match.
Model did not complete - no cesm.log file present - exiting

It seem that the cesm.exe does not work correctly. Some Configuration which I did to compile and build the model are in the config_compiler file are:
mpixlf90_r
mpixlf90_r
mpixlc_r
mpixlc_r
-qsuffix=f=f -qfixed=132
-qsuffix=f=f90:cpp=F90
-DNO_C_SIZEOF -DFORTRAN_SAME -DNO_MPI2
$(CPPDEFS) -q64 -O2
$(FPPFLAGS) -q64 -g -qfullpath -qmaxmem=-1 -qsigtrap=xl__trcedump -qextname=flush
-O3 -qstrict -Q
-qsmp=omp
-qinitauto=7FF7FFFF -qflttrap=ov:zero:inv:en -qspillsize=4000
-qsmp=omp:noopt
-g -I/cineca/prod/libraries/netcdf/4.1.3/bgq-xl--1.0/include
-I/cineca/prod/libraries/netcdf/4.1.3/bgq-xl--1.0/include
/cineca/prod/libraries/netcdf/4.1.3/bgq-xl--1.0
-L/cineca/prod/libraries/netcdf/4.1.3/bgq-xl--1.0/lib -lnetcdff -lnetcdf -L/cineca/prod/libraries/hdf5/1.8.9_ser/bgq-xl--1.0/lib -lhdf5_hl -lhdf5 -L/cineca/prod/libraries/zlib/1.2.7/bgq-gnu--4.4.6/lib -lz
-L/cineca/prod/libraries/szip/2.1/bgq-xl--1.0/lib -lsz
I also put some codes in the config_machines file since the platform on which i'll try to run the model is a not supported platform for cesm1.2.0. The file includes:
IBM BGQ machine
ibm
mpi-serial
/gpfs/scratch/userexternal/asakalli/EXE/$CASE/run
/gpfs/scratch/userexternal/asakalli/EXE/$CASE
/gpfs/scratch/userexternal/asakalli/inputdata
LINUX
llq -u
llsubmit
4
4
I also created a mkbatch file for the machine. The file is attached.Does anybody know how to fix the problem, and where I've mistake in the script files? Thank you very much for your support and help in advance. Best regards
I have the same problem. How do you solve this? Can you help me?
 
Top