Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Getting Started

1. Clone the WRF Git

Code Block
languagebash
$ git clone https://github.com/wrf-model/WRF.git
...

2. Load prerequisite modules

Code Block
languagebash
$ module load intel/2019.1.144 hpcx/2.4.0 hdf5/1.10.4-hpcx-2.4.0 netcdf/4.6.2-hpcx-2.4.0

3. Add environemt variables

Code Block
$ export WRFIO_NCD_LARGE_FILE_SUPPORT=1
$ export NETCDF=$NETCDF_DIR

4. Configure

Code Block

Notes:

-xHost will not work on AMD

AVX2 may need to change to AVx512

remove

“Edit mpicc...” means edit configure.wrf; I remove the “-f90=$(SFC)” option from mpif90 and the “-cc=$(SCC)” option from mpicc, because HPC-X (Open MPI) doesn’t need those options. I would change AVX2 to AVX512 if I only intend to run WRF on SKL; otherwise leave it as AVX2

==========================================================================
build started: Mon Aug 12 16:26:30 PDT 2019
build completed: Mon Aug 12 17:04:50 PDT 2019

---> Executables successfully built <---

-rwxrwxr-x 1 ophirm ophirm 53073520 Aug 12 17:04 main/ndown.exe
-rwxrwxr-x 1 ophirm ophirm 53039128 Aug 12 17:04 main/real.exe
-rwxrwxr-x 1 ophirm ophirm 52062736 Aug 12 17:04 main/tc.exe
-rwxrwxr-x 1 ophirm ophirm 60282704 Aug 12 17:03 main/wrf.exe

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