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

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

  • compile.log
    1.2 MB · Views: 1
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?
 
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:
 
Top