Last modified: September 07 2020.
Contact: hpchelp [at] iitd.ac.in

WRF

Step 1: WRF Dependencies

 

Loading below module will set all the dependencies ,environment variables & paths required for wrf.

module load apps/wrf/intel2015

 

Note:

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 :

 

  • WRF 3.8.1 : /home/apps/skeleton/wrf/wrf_3.8.1.tar.gz
  • WRF-CHEM 3.8.1 : /home/apps/skeleton/wrf/wrf_chem_3.8.1.tar.gz
  • WRF-CHEM-KPP 3.8.1 : /home/apps/skeleton/wrf/wrf_chem_kpp_3.8.1.tar.gz
  • Note:

    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=1

    Note:

    For WRF CHEM (with KPP): export WRF_CHEM=1 && export WRF_KPP=1

  • cd WRFV3
  • module load apps/wrf/intel2015
  • cp configure.wrf configure.wrf.bkp
  • ./clean -a
  • cp configure.wrf.bkp configure.wrf
  • ./compile em_real
  •  

    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.

  • io_form_history = 11,
  • io_form_restart = 11,
  • io_form_input = 11,
  • io_form_boundary = 11,
  • nocolons =.true.