In case you need it, here is how I compile WRF on keeling. Caveat emptor.
Create a directory where you have space (not in your home directory)
cp /data/snesbitt/h/snesbitt/wrf/WRFV3.7.1.TAR.gz . cp /data/snesbitt/h/snesbitt/wrf/WPSV3.7.1.TAR.gz .
Set up your environment
module load intel module load intel/netcdf4-4.2-intel-14.0.3 setenv NETCDF $NETCDF4_HOME setenv WRFIO_NCD_LARGE_FILE_SUPPORT 1
Extract, configure, compile:
tar xvf WRFV3.7.1.tar.gz cd WRFV3 ./configure
Select option 20
./compile em_real >& compile.log & tail -f compile.log #watch what you are doing