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

WRFv4.6 compilation Errors

Nadim

New member
I followed each step given in Compiling WRF and successfully installed all required library which passed all the given tests. I set the following environmental variables.

export DIR="/home/nadim/WRF/LIBRARIES"
export CC="gcc"
export CXX="g++"
export FC="gfortran"
export FCFLAGS="-m64"
export F77="gfortran"
export FFLAGS="-m64"
export JASPERLIB="$DIR/grib2/lib"
export JASPERINC="$DIR/grib2/include"
export LDFLAGS="-L$DIR/grib2/lib"
export CPPFLAGS="-I$DIR/grib2/include"
export PATH=$DIR/netcdf/bin:$PATH
export NETCDF=$DIR/netcdf
export LIBS="-lnetcdf -lz"
export CPPFLAGS="-I$DIR/netcdf/include"
export LDFLAGS="-L$DIR/netcdf/lib"
export PATH="$DIR/mpich/bin:$PATH"
export WRFIO_NCD_LARGE_FILE_SUPPORT=1
export NETCDF_classic=1

I am using ArchLinux with Kernel: 6.6.36-1-LTS and GCC, CPP, g++, GFORTRAN version = 10.3.0
I had the following compilation errors.(please check compilation log file). I tried both WRFv4.5 and WRFv4.6.
 

Attachments

  • wrf_compile_v4.6.log
    946.1 KB · Views: 6
  • wrf_compile_v4.5.log
    944 KB · Views: 0
Last edited:
It looks like the command time is missing in your environment, though it should not have been added if it wasn't present. Can you upload your configure.wrf file as well?
 
I installed the time package and recompiled the WRF model, and it worked.
Thanks A Lot. I really appreciate your help.
 
Top