WRF/WPS
From HPC users
The software WRF (Weather Research and Forecasting Model) is a numerical mesoscale weather prediction system.
Installation
The get the best performance WRF should be compiled with the Intel compilers and with Intel MPI. For the installation on flow two installation scripts are available:
- install_wrf_intel.sh for the compilation with Intel Compilers and Intel MPI
- install_wrf_gcc_ompi.sh for the compilation with gcc 4.7.1 and OpenMPI 1.6.2
In both scripts ungrib2 is supported. The usage of the scripts are
install_wrf_XXXX.sh WRF_RELEASE DIR_TO_TAR_GZ_FILES
Note:
- The final installation of WRF and WPS will be in the directories WRFV3_v${WRF_RELEASE}_XXXXX and WPS_v${WRF_RELEASE]_XXXXX, respectively
- The orginal folders WRFV3 and WPS will be removed during the installation process!
SGE script
A basic script to submit WRF to SGE is shown here....
Scaling
Here a short example (January test case) of the scaling and wall clock times for different compiler and single and double precision:
#Cores | GNU compiler [s] | Intel compiler [s] | ||
---|---|---|---|---|
single precision | double precision | single precision | double precision | |
1 | 351 | 292 | 127 | 212 |
2 | 181 | 151 | 62 | 109 |
4 | 98 | 88 | 37 | 62 |
8 | 56 | 51 | 22 | 39 |
Known issues
- The Intel compiler release 12.0.0 produces an bug in the binary ungrib.exe in the WPS-Suite. Due to this bug waves can occurs in the the preprocessed data.
- The default installation rules of WRF with single precision floating point operations leads to differences in the result of WRF when changing the compiler or the WRF release. Thus WRF should be compiled with double precision floating points.