can't compile WRFPLUS

janac4

Member
Hello everyone,
I'm trying to compile WRFDA 4DVAR and to do so it is mandatory to install WRFPLUS. However I haven't managed to do so. I attach my compile log file for v4.7.1 (I have also tried previous versions with the same results).

exports:
export LD_LIBRARY_PATH=/share/home/sergiod/tst/wrf-4.7.1/LIB/lib:/share/home/sergiod/tst/wrf-4.7.1/LIB/netcdf/lib:/share/home/sergiod/tst/wrf-4.7.1/LIB/grib2/lib
export NETCDF=/share/home/sergiod/tst/wrf-4.7.1/LIB/netcdf
export HDF5=/share/home/sergiod/tst/wrf-4.7.1/LIB/lib

versions:
HDF5 -> 1.10.5
NETCDF-C -> 4.7.2
NETCDF-FORTRAN -> 4.5.2

Thank you!
 

Attachments

Hello everyone,
I'm trying to compile WRFDA 4DVAR and to do so it is mandatory to install WRFPLUS. However I haven't managed to do so. I attach my compile log file for v4.7.1 (I have also tried previous versions with the same results).

exports:
export LD_LIBRARY_PATH=/share/home/sergiod/tst/wrf-4.7.1/LIB/lib:/share/home/sergiod/tst/wrf-4.7.1/LIB/netcdf/lib:/share/home/sergiod/tst/wrf-4.7.1/LIB/grib2/lib
export NETCDF=/share/home/sergiod/tst/wrf-4.7.1/LIB/netcdf
export HDF5=/share/home/sergiod/tst/wrf-4.7.1/LIB/lib

versions:
HDF5 -> 1.10.5
NETCDF-C -> 4.7.2
NETCDF-FORTRAN -> 4.5.2

Thank you!
which compiler are you using GNU or something else?

Are you using the configure or configure_new script?
 
which compiler are you using GNU or something else?

Are you using the configure or configure_new script?
We are using GNU version 11 compilers. We have used both configure and configure_new scripts, with different errors each. The errors attached are from configure.
 
so for WRFPLUS using ./configure

you need to make sure that you export these variables

NETCDF=/path/to/netcdf/parent/folder (/home/workhorse/WRF/Libs/NETCDF/) as an example
HDF5=/path/to/grib2/parent/folder (/home/workhorse/WRF/Libs/grib2/)
LD_LIBRARY_PATH=/path/to/grib2/lib/folder:$LD_LIBRARY_PATH (/home/workhorse/WRF/Libs/grib2/lib:$LD_LIBRARY_PATH

then run the clean command ./clean -a

configure with option 18 for GNU

./configure wrfplus

then compile

./compile wrfplus

Hopefully that helps


Also since you are using GNU 11 take a look at this post about the argument mismatch issue:
 
Back
Top