爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 7182|回复: 2

MPAS-Atmosphere的编译

[复制链接]
发表于 2022-12-23 09:04:44 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册

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中可意下载











密码修改失败请联系微信:mofangbao
发表于 2022-12-23 09:32:11 | 显示全部楼层
点赞支持!
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

发表于 2022-12-23 15:07:50 | 显示全部楼层
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表