Setup a CESM 1.0.x benchmark run on a generic Linux system
This is a
cookbook to setup a CESM 1.0 benchmark run on a generic Linux system. This page is
still work in progress, but will give already an idea what has to be done.
See also porting CESM in the CESM user's guide:
http://www.cesm.ucar.edu/models/cesm1.0/cesm/cesm_doc/c2161.html
Compile NETCDF (Requirement)
- Install NETCDF
make install
Download CESM source code
Adapt configuration files
- Meaning of filenames
Filename | Purpose |
env_machopts.* | Set environment: Can be used to set paths to compiler, MPI library, NETCDF library |
Macros.* | Set compiler name and paths to MPI library, NETCDF library. Set compiler options |
mkbatch.* | Setting for queuing system |
where * corresponds to a machine.
Compile and setup simulation
- Change to
scripts
directory
cd cesm1_0_2
cd scripts
- Change into case directory
cd $CASE
- Configure case
./configure -case
- Build/Compile the model
./$CASE.$MACH.build
Run the model
- Run the model, for example with LSF queuing system
bsub < $CASE.$MACH.run
