Hi,
I have the following precompiled binaries in my system:
Installed Packages
netcdf.x86_64 4.3.3.1-1.fc22 @fedora
netcdf-devel.x86_64 4.3.3.1-1.fc22 @fedora
netcdf-fortran.x86_64 4.4.1-3.fc22 @fedora
netcdf-fortran-devel.x86_64 4.4.1-3.fc22 @fedora
netcdf4-python.x86_64 1.1.6-1.fc22 @fedora
They provide all libraries needed to compile WRF. However the configure script (https://github.com/wrf-model/WRF/blob/fb60d61cc44e2a2e8b8311f0b79185724010d510/configure) is unable to detect them. Would you please provide a workaround for this?
I already tried the following:
export NETCDF=/usr
export NETCDF_classic=1
./configure
However WRF will use classic (non-compressed) NETCDF format when compression is available:
I have the following precompiled binaries in my system:
Installed Packages
netcdf.x86_64 4.3.3.1-1.fc22 @fedora
netcdf-devel.x86_64 4.3.3.1-1.fc22 @fedora
netcdf-fortran.x86_64 4.4.1-3.fc22 @fedora
netcdf-fortran-devel.x86_64 4.4.1-3.fc22 @fedora
netcdf4-python.x86_64 1.1.6-1.fc22 @fedora
They provide all libraries needed to compile WRF. However the configure script (https://github.com/wrf-model/WRF/blob/fb60d61cc44e2a2e8b8311f0b79185724010d510/configure) is unable to detect them. Would you please provide a workaround for this?
I already tried the following:
export NETCDF=/usr
export NETCDF_classic=1
./configure
However WRF will use classic (non-compressed) NETCDF format when compression is available:
Code:
[ WRF]$ nc-config --libs
-lnetcdf
[ WRF]$ nf-config --flibs
-lnetcdff
[r WRF]$ nc-config --all
This netCDF 4.3.3.1 has been built with the following features:
--cc -> gcc
--cflags -> -I/usr/include -I/usr/include/hdf
--libs ->
--has-c++ -> no
--cxx ->
--has-c++4 -> no
--cxx4 ->
--fc -> gfortran
--fflags -> -I/usr/include
--flibs -> -lnetcdff
--has-f90 -> no
--has-dap -> yes
--has-nc2 -> yes
--has-nc4 -> yes
--has-hdf5 -> yes
--has-hdf4 -> yes
--has-pnetcdf-> no
--prefix -> /usr
--includedir-> /usr/include
--version -> netCDF 4.3.3.1
[ WRF]$ nf-config --all
This netCDF-Fortran 4.4.1 has been built with the following features:
--cc -> gcc
--cflags -> -I/usr/include
--fc -> gfortran
--fflags -> -I/usr/include
--flibs -> -lnetcdff
--has-f90 -> no
--has-f03 -> yes
--has-nc2 -> yes
--has-nc4 -> yes
--prefix -> /usr
--includedir-> /usr/include
--version -> netCDF-Fortran 4.4.1