获取源码
操作步骤
- 使用PuTTY工具,以root用户登录服务器。
- 执行以下命令进入MOM的安装路径。
cd /path/to/MOM
- 验证服务器能连接互联网后,执行以下命令获取源码。
git clone https://github.com/NOAA-GFDL/MOM6-examples.git MOM6-examples cd MOM6-examples git submodule init git submodule update --recursive
- 执行以下命令更新各个模块。
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