Below are instructions to install WRF on Hyak. Here xyz is your group name and abc is your userid.

srun -p build --time=2:00:00 --mem=100G --pty /bin/bash
module load netcdf_fortran+c_4.4.1-icc_15.0
module load icc_15.0-impi_5.0.1

mkdir /gscratch/xyz/abc/wrf_install


tar -xvf WRF3.7.1.tar.gz
cd WRFV3

./configure --prefix=/gscratch/xyz/abc/hyperion_install


export I_MPI_CC=icc
export I_MPI_CXX=icpc
export I_MPI_F77=ifort
export I_MPI_F90=ifort
export WRFIO_NCD_LARGE_FILE_SUPPORT=1
./configure
select INTEL (ifort/icc): Xeon (SNB with AVX mods) for 16 core nodes (e.g. stf, uwbstem, coenv nodes)
 

./compile em_tropical_cyclone


./compile em_real

 

(or any of the directory names in ./WRFV3/test directory)
ls main/*.exe
If you built a real data case, you should see ndown.exe, real.exe, and wrf.exe

=========================================================

srun -p build --time=2:00:00 --mem=100G --pty /bin/bash

module load netcdf_fortran+c_4.4.2-icc_15.0.

module load icc_15.0.3-impi_5.0.

export WRFIO_NCD_LARGE_FILE_SUPPORT=

./configure --prefix=/gscratch/xyz/abc/wrf_install

select choice 20 for 16 core nodes, select choice 15 for 8 and 12 core nodes

./compile em_tropical_cyclone

cd test/em_tropical_cyclone

./run_me_first.csh

exit

From login node use below command to run WRF:

sbatch myjobscript.sh