Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

WRFPLUSV3 Compilation Issue

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

bbleckly

New member
Hi Everyone,

I am trying to compile WRFDA and WRFPLUS for 4D-var cases but am having issues with WRFPLUS not building the executable. I am following the user guide.

I have attached the compile.log for ease of reference and my bash settings are below. I have successfully compiled V3 of WRF but wish to include PREPBUFR data and believe this may be one way to do that. However, the 3D case compiles successfully whereas the 4D case does not and I am interested in how weather patterns change over time.

Thank you for your help :)

export DIR=/home/bbleckly/Build_WRF/LIBRARIES
export CC=gcc
export CXX=g++
export FC=gfortran
export CFLFAGS=-m64
export F77=gfortran
export FFLAGS=-m64
export PATH=$DIR/netcdf/bin:$PATH
export NETCDF=$DIR/netcdf-4
export PATH=$DIR/mpich/bin:$PATH
export LDFLAGS=-L$DIR/netcdf-4/lib
export CPPFLAGS=-I$DIR/netcdf-4/include
export JASPLIB=$DIR/grib2/lib
export JASPERINC=$DIR/grib2/include
export PATH=$NCARG_ROOT/bin:$PATH
export NCARG_ROOT=/usr
export DISPLAY=:0
export BUFR=1
export WRFDA_DIR=/home/bbleckly/Build_WRF/WRFDA/WRFDA
export WORK_DIR=$WRFDA_DIR/Australia
export DAT_DIR=/home/bbleckly/Build_WRF/DATA
export WRFPLUS_DIR=/home/bbleckly/Build_WRF/WRFV3
export HDF5=$DIR/hdf5-1.8.21
export LD_LIBRARY_PATH=$DIR/netcdf-4/lib:$DIR/hdf5-1.8.21/lib:$LD_LIBRARY_PATH
export NETCDF4=1
 

Attachments

  • compile.log
    52 KB · Views: 83
As the log says: /usr/bin/ld: cannot find -lhdf5_fortran
That indicates that libhdf5_fortran.a does not exist in your /home/bbleckly/Build_WRF/LIBRARIES/hdf5-1.8.21/lib

Since HDF5 is not needed to build WRFPLUSV3, please try first
unset HDF5
then
./configure wrfplus
then
compile wrf
 
Top