page header
 

Compiling WRFDA for 3DVAR

Get the WRFDA zipped tar file from /wrfhelp/SOURCE_CODE/WRFDA_compiled.tar.gz

cd /data1/${USER}/DA

cp /wrfhelp/SOURCE_CODE/WRFDA_compiled.tar.gz .

Unzip and untar the file

tar -xvf WRFDA_compiled.tar.gz

Configure and compile

cd /data1/${USER}/DA/WRFDA

./clean -a

setenv BUFR 1

Only one radiative transfer model is necessary, but WRFDA can be compiled with both, so set the CRTM and/or RTTOV environment variables as below

setenv CRTM 1
setenv RTTOV /wrfhelp/WRFDA/external/rttov10/pgi

./configure wrfda

Choose 9 for PGI, dmpar

./compile all_wrfvar >&! make.log &

Compiling WRFPLUS

WRFPLUS contains both the non-linear and the tangent-linear/adjoint WRF code. It is needed for 4DVAR and Forecast Sensitivity to Observations (FSO).

Get the WRFPLUS zipped tar file from /wrfhelp/SOURCE_CODE/WRFPLUS_compiled.tar.gz

cd /data1/$USER/DA

cp /wrfhelp/SOURCE_CODE/WRFPLUS_compiled.tar.gz .

Unzip and untar the file

tar zxvf WRFPLUS_compiled.tar.gz

Configure and compile

cd /data1/$USER/DA/WRFPLUS

./configure wrfplus

Choose 9 for PGI, dmpar

./compile wrf >&! make.log &

Compiling WRFDA for 4DVAR

To compile WRFDA for 4DVAR, you should have already compiled WRFPLUS (see above).

Get the WRFDA zipped tar file from /wrfhelp/SOURCE_CODE/WRFDA_compiled.tar.gz

cd /data1/$USER/DA

cp /wrfhelp/SOURCE_CODE/WRFDA_compiled.tar.gz .

Unzip and untar the file

tar zxvf WRFDA_compiled.tar.gz

Configure and Compile

cd /data1/${USER}/DA/WRFDA

./clean -a

Only one radiative transfer model is necessary, but WRFDA can be compiled with both, so set the CRTM and/or RTTOV environment variables as below

setenv BUFR 1
setenv CRTM 1
setenv RTTOV /wrfhelp/WRFDA/external/rttov10/pgi

Set the environment variable WRFPLUS_DIR to point to the WRFPLUS build you just installed

setenv WRFPLUS_DIR /data1/$USER/DA/WRFPLUS

./configure 4dvar

Choose 9 for PGI, dmpar

./compile all_wrfvar >&! make.log &

 


back to top
 
practical_page_header