Installing WRF and WPS: Difference between revisions

From HPCwiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
==General config==
The following setup works for WRF version 4.0!
The following setup works for WRF version 4.0!


To install WRF download the WRF and WPS source code from  
To install WRF download the WRF and WPS source code from  
http://www2.mmm.ucar.edu/wrf/users/download/get_source.html
http://www2.mmm.ucar.edu/wrf/users/download/get_source.html
and untar into your directory
and untar into your directory


load the following modules:
load the following modules:


1) shared       
* GCC OR INTEL
         
* HDF5
2) slurm/16.05.8         
* NETCDF
 
* OpenMPI
3) jasper/gcc/64/1.900.1 
* JasPER


4) gcc/6.3.0             
Known good versions:


5) hdf5/gcc/64/1.10.1    
* gcc:
** jasper/gcc/64/1.900.1
** gcc/6.3.0
** hdf5/gcc/64/1.10.1
** netcdf/gcc/64/4.6.1
** openmpi/gcc/64/3.1.1


6) netcdf/gcc/64/4.6.1   


7) openmpi/gcc/64/3.1.1
==WRF==


Run ./configure and choose the (dmpar) GNU (gfortran/gcc) option (34?)


In /WRF run ./configure and choose the (dmpar) GNU (gfortran/gcc) option (34?)
Compile WRF as needed (em_real is used for model runs with real data, e.g. ERA-Interim, ECMWF, etc)


Compile WRF as needed
==WPS==


Run ./configure and choose the Linux x86_64, gfortran (serial) option (1?)


In /WPS run ./configure and choose the Linux x86_64, gfortran (serial) option (1?)
WPS Will attempt to find WRF in ../WRFv3. Override this with setting WRF_DIR.


Compile WPS
Compile WPS

Latest revision as of 13:51, 7 August 2018

General config

The following setup works for WRF version 4.0!

To install WRF download the WRF and WPS source code from http://www2.mmm.ucar.edu/wrf/users/download/get_source.html and untar into your directory

load the following modules:

  • GCC OR INTEL
  • HDF5
  • NETCDF
  • OpenMPI
  • JasPER

Known good versions:

  • gcc:
    • jasper/gcc/64/1.900.1
    • gcc/6.3.0
    • hdf5/gcc/64/1.10.1
    • netcdf/gcc/64/4.6.1
    • openmpi/gcc/64/3.1.1


WRF

Run ./configure and choose the (dmpar) GNU (gfortran/gcc) option (34?)

Compile WRF as needed (em_real is used for model runs with real data, e.g. ERA-Interim, ECMWF, etc)

WPS

Run ./configure and choose the Linux x86_64, gfortran (serial) option (1?)

WPS Will attempt to find WRF in ../WRFv3. Override this with setting WRF_DIR.

Compile WPS

In namelist.wps edit the geog_data_path to

/lustre/backup/WUR/ESG/data/MODEL_DATA/WRF/geog_v4.0 (still needs to be created)