登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
各位大佬好,我在用win10 ubuntu子系统安装wrf3.6(版本有点旧),参考的是WRF官网的教程https://www2.mmm.ucar.edu/wrf/OnLineTutorial/compilation_tutorial.php#STEP1(zlib\libpng\jasper装在了/mnt/f/wrf3.6/install/grib2)。[size=17.3333px]Fortran + C + NetCDF测试成功(没装mpich),近入WRFV3文件,./configure时选择32和1。但是./compile em_real后没有生成对应的exe文件。[size=17.3333px]如下配置了环境变量:
vi ~/.bashrc export DIR=/mnt/f/wrf3.6/install export CC=gcc export CXX=g++ export FC=gfortran export FCFLAGS=-m64 export JASPERLIB=$DIR/grib2/lib export JASPERINC=$DIR/grib2/include export LDFLAGS=-L$DIR/grib2/lib export CPPFLAGS=-I$DIR/grib2/include export PATH=$DIR/netcdf/bin:$PATH export NETCDF=$DIR/netcdf source ~/.bashrc checkwrf.log见附件
|