Difference between revisions of "WRF/WPS"
From HPC users
Jump to navigationJump to search
Albensoeder (talk | contribs) |
Albensoeder (talk | contribs) |
||
Line 32: | Line 32: | ||
! colspan="2"|GNU compiler [s] | ! colspan="2"|GNU compiler [s] | ||
! colspan="2"|Intel compiler [s] | ! colspan="2"|Intel compiler [s] | ||
! colspan="2"|Intel vs. GNU | |||
|- style="background-color:#ddddff;" | |- style="background-color:#ddddff;" | ||
| | | | ||
| single precision | |||
| double precision | |||
| single precision | | single precision | ||
| double precision | | double precision | ||
Line 44: | Line 47: | ||
| 127 | | 127 | ||
| 212 | | 212 | ||
| 2,73 | |||
| 1.37 | |||
|-align="center" | |-align="center" | ||
| 2 | | 2 | ||
Line 50: | Line 55: | ||
| 62 | | 62 | ||
| 109 | | 109 | ||
| 2.92 | |||
| 1.39 | |||
|-align="center" | |-align="center" | ||
| 4 | | 4 | ||
Line 56: | Line 63: | ||
| 37 | | 37 | ||
| 62 | | 62 | ||
| 2.65 | |||
| 1.42 | |||
|-align="center" | |-align="center" | ||
| 8 | | 8 | ||
Line 62: | Line 71: | ||
| 22 | | 22 | ||
| 39 | | 39 | ||
| 2.55 | |||
| 1.31 | |||
|- | |- | ||
|} | |} |
Revision as of 16:09, 25 January 2013
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 for installation scripts are available:
- install_wrf_intel_double.sh for the compilation with Intel Compilers and Intel MPI with double precision floating points (install_wrf_intel.sh for single precision is depricated)
- install_wrf_gcc_ompi_double.sh for the compilation with gcc 4.7.1 and OpenMPI 1.4.3 with double precision floating points (install_wrf_gcc_ompi.sh for single precision is depricated)
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!
- WRF with single precision floating point operations leads to strong deviations in the result of WRF when changing the compiler or the WRF release. Thus WRF should be compiled with double precision floating points.
SGE script
A basic script to submit WRF to SGE is shown here....
Scaling
Here a short example (January test case, see WRF tutorial) of the scaling and wall clock times for different compiler and single (SP) and double precision (DP):
#Cores | GNU compiler [s] | Intel compiler [s] | Intel vs. GNU | |||
---|---|---|---|---|---|---|
single precision | double precision | single precision | double precision | single precision | double precision | |
1 | 351 | 292 | 127 | 212 | 2,73 | 1.37 |
2 | 181 | 151 | 62 | 109 | 2.92 | 1.39 |
4 | 98 | 88 | 37 | 62 | 2.65 | 1.42 |
8 | 56 | 51 | 22 | 39 | 2.55 | 1.31 |
A short visualisation of the times is given below
[of WRF for different compilers and precisions] | [of WRF for different compilers and precisions. Note the times are normalized by the time for one core with the same setup.] |
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 strong deviations in the result of WRF when changing the compiler or the WRF release. Thus WRF should be compiled with double precision floating points.