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
tar -xvf WRF3.7.1.tar.gz
cd WRFV3
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_real