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

Obtaining the Source Code

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to switch to the MOM installation directory:
    cd /path/to/MOM
  3. After verifying that the server can connect to the Internet, run the following commands to obtain the source code:
    git clone https://github.com/NOAA-GFDL/MOM6-examples.git MOM6-examples
    cd MOM6-examples
    git submodule init
    git submodule update --recursive
  4. Run the following commands to update the modules:
    git submodule update src/FMS
    git submodule update --init --recursive src/MOM6
    git submodule update src/SIS2
    git submodule update tools/matlab/gtools
    git submodule update tools/python/MIDAS
    cd src/MOM6
    git submodule init
    git submodule update