page header
 

Get pre-compiled code

As compilation of the code can take quite a long time, we recommend running practice cases with pre-compiled code.
If you are interested in compiling the code, do that as a separate exercise.

Pre-compiled code for 3DVAR and 4DVAR

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

If you would like to have a copy of the code in your local working directory, follow the steps below.

cd /data1/${USER}/DA    (your main working directory)
cp /wrfhelp/SOURCE_CODE/WRFDA_compiled.tar.gz .
tar zxvf WRFDA_compiled.tar.gz

This will generate the directory

WRFDA

The WRFDA_compiled.tar.gz can be removed after you have untarred the file.

The WRFDA code is pre-compiled in mpp (dmpar) mode using PGI compiler.

The command for running mpp job on the classroom machine is
mpirun -np 4 -machinefile ~/mach ${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 4D-VAR executable renamed as da_wrfvar.exe_4dvar from the original da_wrfvar.exe.

Note: In the pre-compiled tar file, the un-supported scripts (can be downloaded separately from http://www2.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 /wrfhelp/SOURCE_CODE/WRFPLUS.

 


back to top
 
practical_page_header