Update the WRF on the Think Station to new version.
After checking the updates and Known Problems of the WRF versions, WRF-ARW 3.9.1.1, WPS 3.9.1 and WRF-Chem 3.9.1 are finally chosen.
http://www2.mmm.ucar.edu/wrf/users/download/get_sources.html
Folloiwng the steps as before
(Installing WRF/Chem on CentOS 7(转载修正) https://blog.csdn.net/maplematics/article/details/50481324), the updates are carried out as below.
Note:
- The ifort and icc have been updated to 2019 update ver2.
- Note to use the fixed files to replace the original files in WRF-ARW.
1. Build WRF
- Configure
go with icc+ifort
export EM_CORE=1
export NMM_CORE=0
export WRF_CHEM=1
export WRF_KPP=0
export WRFIO_NCD_LARGE_FILE_SUPPORT=1
Then configure (wrf-arw ver 3.9.1.1 and chem 3.9.1),
./configure
choose option 13, which is ((serial) INTEL (ifort/icc)).configure (wrf-arw ver 3.9.1.1 and chem 3.9.1), choose option 13, which is ((serial) INTEL (ifort/icc)).
-
Compile
Compile the WRF code using the standard WRF compile command
nohup ./compile em_real &> compile.log &
-
Examine the compile log file to confirm that there are no compilation errors, and check executables successfully built
$ ls main/*.exe
main/ndown.exe main/real.exe main/tc.exe main/wrf.exe
- Finally compile the WRF-Chem external emissions conversion code using the compile command
nohup ./compile emi_conv >& emcompile.log &
2. Build WPS
- Configure
Go to the WPS directory and configure the WPS code using the configure command
$ cd WPS351/
$ ./configure
// select the Intel compiler, here choose 17
$ nohup ./compile &> compile.log &
The exe files are generated successfully.