- 积分
- 1504
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2017-9-2
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 ztqajw143 于 2022-12-23 09:07 编辑
1. 依赖、数据以及程序下载
CMake_Fortran_utils:git clone https://github.com/CESM-Development/CMake_Fortran_utils
genf90:git clone https://github.com/PARALLELIO/genf90
ParallelIO:git clone https://github.com/NCAR/ParallelIO
MPAS-Atmosphere:http://mpas-dev.github.io/
MPAS-Data:git clone git://github.com/MPAS-Dev/MPAS-Data.git
2. 环境配置(在天津超算机器上安装,使用的是module配置基础环境,没有的话就自己安装吧)
module load GCCmodule load MPI/mpich
module load hdf5/1.8.21
module load pnetcdf/1.10.0
module load netcdf/4.6module load zlib/1.2.11
module load cmake/3.20.4
module load loginnodee
export NETCDF=/path/to/netcdf
export PNETCDF=/path/to/pnetcdf
export PIO=/path/to/parallelio
export USE_PIO2=true # if using parallelio > 2.x
3. 编译
make gfortran CORE=atmosphere
make clean CORE=atmosphere
sed -i "s#git://github.com/\${github_org}/MPAS-Data.git#/path/to/MPAS-Data#g" ${PWD}/src/core_atmosphere/physics/checkout_data_files.sh
make -j 4 gfortran CORE=atmosphere
4. 测试案例
http://mpas-dev.github.io/中
MPAS-Atmosphere download/Sample real-data input files中可意下载
|
|