Difference between revisions of "WRF/WPS"
From HPC users
Jump to navigationJump to search
Albensoeder (talk | contribs) |
Albensoeder (talk | contribs) |
||
Line 3: | Line 3: | ||
== Installation == | == Installation == | ||
The get the best performance WRF should be compiled with the Intel compilers and with Intel MPI. For the installation on flow | 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]] single precision, 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]] single precision, depricated) | ||
In both scripts ungrib2 is supported. The usage of the scripts are | In both scripts ungrib2 is supported. The usage of the scripts are | ||
Line 17: | Line 17: | ||
* 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 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! | * The orginal folders ''WRFV3'' and ''WPS'' will be removed during the installation process! | ||
== SGE script == | == SGE script == |
Revision as of 15:45, 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 single precision, 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 single precision, 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!
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] | ||
---|---|---|---|---|
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 |
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 differences in the result of WRF when changing the compiler or the WRF release. Thus WRF should be compiled with double precision floating points.