page header
 

Get pre-compiled code

Compilation of WRFDA can take up to 30 minutes, and compilation of WRFPLUS can take more than an hour. To save the limited time available for these practice sessions, we recommend running practice cases with pre-compiled code.
If you are interested in compiling the code youreself, you can do that as a separate exercise.

Pre-compiled code for 3DVAR and 4DVAR

The pre-compiled WRFDA can be accessed from /kumquat/wrfhelp/SOURCE_CODE/WRFDA.

You should copy the pre-compiled code into your local working directory. Follow the steps below:

mkdir /kumquat/users/${USER}/DA    (your main working directory)
cd /kumquat/users/${USER}/DA
cp /kumquat/wrfhelp/SOURCE_CODE/WRFDA/WRFDA_compiled.tar.gz .
tar -xzf WRFDA_compiled.tar.gz

This will generate the WRFDA directory containing the compiled WRFDA package. The WRFDA code is pre-compiled to run in parallel (dmpar) mode using the PGI compiler.

The command for running a dmpar job on the classroom machine is
mpirun -np 4 ${your_exe_file}

Note: In the pre-compiled tar file, the code was compiled for 3D-VAR and 4D-VAR separately, but the executables are placed under the same WRFDA/var/build directory with the 3DVAR and 4DVAR executables renamed as da_wrfvar_3dvar.exe and da_wrfvar_4dvar.exe respectively.

Note: In the pre-compiled tar file, the un-supported scripts (can be downloaded separately from http://www.mmm.ucar.edu/wrf/users/wrfda/download/tools.html) are already included.

Pre-compiled code for WRFPLUS

The pre-compiled WRFPLUS can be accessed from the same directory:.

cd /kumquat/users/${USER}/DA
cp /kumquat/wrfhelp/SOURCE_CODE/WRFDA/WRFPLUS_compiled.tar.gz .
tar -xzf WRFPLUS_compiled.tar.gz


back to top
 
practical_page_header