Step 1: WRF Dependencies
Loading below module will set all the dependencies ,environment variables & paths required for wrf.
module load apps/wrf/intel2015
Please do remove environment variables from .bashrc related to hdf5,mpi,pnetcdf,netcdf,flex,bison etc & alsounload modules related to the same if any , this causes problem.
Step 2: There are three different compiled flavours of wrf 3.8.1 are available at the following paths :
Each tar contains two folders WPS & WRFV3 (already compiled), you simply need to copy the tar files & extract using tar -xzvf filename inside any folder. Make the changes for input as per your requirement. A sample submit script named pbs_submit.sh is available in each WRFV3/run folder (do the necessary changes). Changes made in source code/files of any model like physics ,chem etc needs recompilation.
Recompilation Steps : (Take interactive job for at least 2 hours for recompilation)Note:
For WRF CHEM (without KPP): export WRF_CHEM=1Note:
For WRF CHEM (with KPP): export WRF_CHEM=1 && export WRF_KPP=1
For WPS & to run real.exe take a interactive job ,do module load apps/wrf/intel2015 and run the binaries as per the wrf procedure.
Some Useful Hints :
To use pnetcdf features of wrf you can do the following changes in namelist.input file present either WRFV3/run or WRFV3/test/em_real/ i.e. from where you prefer to submit a job, also copy pbs_submit.sh to that folder.