我要评分
获取效率
正确性
完整性
易理解

Running and Verifying CESM

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to switch to the working directory:
    cd /path/to/CESM/cesm-release-cesm2.1.1/cime/scripts
  3. Run the following command to create a case:
    ./create_newcase --case mycase --compset X --res f19_g16
  4. Run the following commands to download the import data:
    cd mycase
    ./check_case
    ./check_input_data --download
  5. 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
  6. 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.
    Figure 1 Test example