配置外部网络,使服务器可以接入Internet网络。
tar -xvf cesm-release-cesm2.1.1.tar.gz cd cesm-release-cesm2.1.1
yum install git svn environment-modules -y
svn ls https://svn-ccsm-models.cgd.ucar.edu/ww3/release_tags
./manage_externals/checkout_externals
./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
vi cime/config/cesm/machines/config_machines.xml
153 <NODENAME_REGEX>node1</NODENAME_REGEX> 170 <MAX_TASKS_PER_NODE>96</MAX_TASKS_PER_NODE> 171 <MAX_MPITASKS_PER_NODE>96</MAX_MPITASKS_PER_NODE> 176 <arg name="ntasks"> --allow-run-as-root --mca btl ^openib -np {{ total_tasks }} </arg>
“node1”为当前节点的hostname,“96”为程序运行的进程数,请根据实际情况修改。