Hernán García CeCalcULA Universidad de los Andes
The Weather Research and Forecasting (WRF) Model is a next-generation mesoscale numerical weather prediction system designed to serve both operational forecasting and atmospheric research needs
Developed and Maintained by NCAR National Center for Atmospheric Research The National Center for Atmospheric Research (NCAR) development team:
The current WRF Model supports two dynamical solvers: The Advance Research WRF (ARW) Users Page: Nonhydrostatic Mesoscale Model (NMM) Users Page:
Fortran 90/95 C Compiler Perl netCDF library MPI / OpenMP library UNIX utilities: csh and Bourne shell, make, M4, sed, awk, and the uname command
Current Release: Version Go to: nload/get_source.html Registration is required
If you are only planning on running Idealized Cases, you would need: WRF ARW Model + Post Processing If you are planning on running Real Cases, you would need: WPS + WRF ARW Model + Post Processing
Unzip › tar -xvf WRFV3.4.1.TAR Change Directory › cd WRFV3/ The README files contain useful information about the code and how to set up and run the model Set Environment Variable › setenv NETCDF /usr/local/netcdf
Run configure script ›./configure
serialSingle processor smparshared memory option (OpenMP) dmpardistributed memory option (MPI) dm+smdistributed memory with shared memory The above will create a configure.wrf file. Edit compile options/paths in this file, if necessary.
Compiling WRF ›./compile test_case >& compile.log Available Test Cases em_b_wave 3D Ideal Case (ARW Only) em_quarter_ss em_heldsuarez em_les em_grav2d_x 2D Ideal Case (ARW Only) em_hill2d_x em_squall2d_x em_squall2d_y em_seabreeze2d_x em_real Real Data Cases (ARW and NMM) nmm_real
Check the compile.log file for any errors. If your compilation was successful, you should see these executables created in the main/ directory. The executables were not created Check the compile.log file carefully for any errors. main/ideal.exeWRF initialization for idealized data cases main/wrf.exeWRF model integration
1) If there is a run_me_first.csh script in the directory - RUN IT (this will link in extra data files needed during the run). 2) Edit namelist.input Use the default option if you have never run an idealized case before.
3) Run ideal.exe ideal.exe cannot generally be run in parallel. For parallel compiles, run this on a single processor. Verify that the program run correctly Check that the file wrfinput_d01 was generated
4) Run wrf.exe Two-dimensional ideal cases cannot be run in MPI parallel. OpenMP is fine. Three-dimensional cases can be run with MPI Verify that the program run correctly After successful completion, you should see wrfout_d01_ * files
On a single processor machine:./wrf.exe On distributed memory For example, to run MPI code, using 4 processors: mpirun -np 4 –machinefile./machfile wrf.exe
5) Use a post-processing tool to view the output. G RAPHICS : Supported graphical packages: NCL (NCAR Command Language) RIP4 ARWpost (GrADS / Vis5D output)
More Test Cases/Data: Input Data : ~ 150 MB Output Data: Unknown
Execution Time: