编译和安装

前提条件

配置外部网络,使服务器可以接入Internet网络。

操作步骤

  1. 使用PuTTY工具,以root用户登录服务器。
  2. 执行以下命令解压CESM安装包,并且进入解压后的目录。

    tar xf CESM-cesm2.1.1.tar.gz
    cd /path/to/CESM/CESM-cesm2.1.1

  3. 执行以下命令安装Environment-Modules、Git和SVN。

    yum install git svn environment-modules -y

  4. 执行以下命令添加验证信息。

    svn ls https://svn-ccsm-models.cgd.ucar.edu/ww3/release_tags

  5. 执行以下命令安装CESM其他组件。

    ./manage_externals/checkout_externals

  6. 执行以下命令检查组件安装情况。

    ./manage_externals/checkout_externals -S

    显示如下信息表示正常。

    Processing externals description file : Externals.cfg
    Processing externals description file : Externals_CLM.cfg
    Processing externals description file : Externals_POP.cfg
    Processing externals description file : Externals_CISM.cfg
    Checking status of externals: clm, fates, ptclm, mosart, ww3, cime, cice, pop, cvmix, marbl, cism, source_cism, rtm, cam,
    ./cime
    ./components/cam
    ./components/cice
    ./components/cism
    ./components/cism/source_cism
    ./components/clm
    ./components/clm/src/fates
    ./components/clm/tools/PTCLM
    ./components/mosart
    ./components/pop
    ./components/pop/externals/CVMix
    ./components/pop/externals/MARBL
    ./components/rtm ./components/ww3