Running and Verifying CESM
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to switch to the working directory:
cd /path/to/CESM/cesm-release-cesm2.1.1/cime/scripts
- Run the following command to create a case:
./create_newcase --case mycase --compset X --res f19_g16
- Run the following commands to download the import data:
cd mycase ./check_case ./check_input_data --download
- Run the following commands to load environment variables:
export PATH=/path/to/GNU/bin:/path/to/OPENMPI/bin:$PATH export LD_LIBRARY_PATH=/path/to/GNU/lib64:/path/to/OPENMPI/lib:/path/to/OPENBLAS/lib:/path/to/HDF5/lib:/path/to/PNETCDF/lib:/path/to/NETCDF/lib:$LD_LIBRARY_PATH export NETCDF_PATH=/path/to/NETCDF
- Run the following commands to start the CESM program:
./case.setup ./case.build ./case.submit
If the information shown in Figure 1 is displayed at the end of the OUTCAR log generated by CESM, the CESM program ends normally.
View the logs displayed on the screen, as shown in the red line in Figure 1. You need to manually calculate the time difference. A smaller value indicates better performance.
Parent topic: CESM 2.1.1 Porting Guide (CentOS 7.6)
