User Tools

Site Tools


howto:wrf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
howto:wrf [2020/06/30 09:09]
ccrosby [OpenMP]
howto:wrf [2020/10/14 13:46] (current)
ccrosby [Running ARW / WRF at the CHPC]
Line 1: Line 1:
 ====== Running ARW / WRF at the CHPC ====== ====== Running ARW / WRF at the CHPC ======
 +
 +**NEW: ​ [[https://​youtu.be/​beXd1pBEOYY|Howto video]] **
 + 
 There are several versions of WRF, using different combinations of compiler and MPI implementation,​ installed on the filesystem in ''/​apps/​chpc/​earth/''​. ​ The latest version is WRF-4.2, built with the Intel compiler. ​ Tests have indicated a very large benefit from using the Intel compiler and MPI rather than Gnu compiler and OpenMPI or MPICH. ​ MPICH versions need the mpirun argument ''​-iface ib0''​ to force it to use the Infiniband network. ​ Please note that it is essential to set the unlimited stack size for the Intel-compiled version, as done in the script below. ​ To set up an appropriate environment,​ "​source"​ the setWRF file in the required directory with the following type of command: ''​. ​  /​apps/​chpc/​earth/​WRF-3.8-impi/​setWRF''​ .  This command should be placed in the PBS-Pro job submission script. ​ Users need to develop their own workflows, but it is also practical to execute the pre-processing steps ''​geogrid.exe,​ ungrib.exe, metgrid.exe and real.exe''​ in single node mode with an interactive session. ​ Simply give the command ''​qsub -I -q smp -P <​AAAA0000>'',​ where <​AAAA0000>​ should be replaced with **your** project code, to obtain an interactive session. ​ Do not try to run these pre-processing steps from the login shell, as the shared login node cannot sustain a high work load.  The real.exe pre-processing step for large cases may run into memory constraints. ​ In that case, run real.exe in parallel over the requested number of nodes, but with only one process per node, as per the example script. There are several versions of WRF, using different combinations of compiler and MPI implementation,​ installed on the filesystem in ''/​apps/​chpc/​earth/''​. ​ The latest version is WRF-4.2, built with the Intel compiler. ​ Tests have indicated a very large benefit from using the Intel compiler and MPI rather than Gnu compiler and OpenMPI or MPICH. ​ MPICH versions need the mpirun argument ''​-iface ib0''​ to force it to use the Infiniband network. ​ Please note that it is essential to set the unlimited stack size for the Intel-compiled version, as done in the script below. ​ To set up an appropriate environment,​ "​source"​ the setWRF file in the required directory with the following type of command: ''​. ​  /​apps/​chpc/​earth/​WRF-3.8-impi/​setWRF''​ .  This command should be placed in the PBS-Pro job submission script. ​ Users need to develop their own workflows, but it is also practical to execute the pre-processing steps ''​geogrid.exe,​ ungrib.exe, metgrid.exe and real.exe''​ in single node mode with an interactive session. ​ Simply give the command ''​qsub -I -q smp -P <​AAAA0000>'',​ where <​AAAA0000>​ should be replaced with **your** project code, to obtain an interactive session. ​ Do not try to run these pre-processing steps from the login shell, as the shared login node cannot sustain a high work load.  The real.exe pre-processing step for large cases may run into memory constraints. ​ In that case, run real.exe in parallel over the requested number of nodes, but with only one process per node, as per the example script.
  
/var/www/wiki/data/pages/howto/wrf.txt · Last modified: 2020/10/14 13:46 by ccrosby