[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #EDP-282307]: installation of netcdf4 not working?



> Ed,
> some misinformation there....
> It seems WRF does not run with enabled netcdf-4 features at all.
> It seems these features, as well as the shared libraries must disabled
> when installing.
> Cheers,
> Rich
>
> Richard Hewston wrote:
> > Hi Ed,
> > I found this (eventually):
> >
> > http://www.mmm.ucar.edu/wrf/users/wrfv3/known-prob.html
> >
> > describing my problem:
> >
> > /wrf.exe: error while loading shared libraries: libnetcdf.so.4: cannot
> > open shared object file: No such file or directory/
> > It probably means that you are using netcdf 3.6.2 with shared library
> > build enabled.
> >
> > *Solution*: For PGI compiler 6.1 or later, one can add
> > -R/usr/local/netcdf/lib to LIB_EXTERNAL macro in the configure.wrf
> > file, so the line looks like:
> >
> > LIB_EXTERNAL = $(WRF_SRC_ROOT_DIR)/external/io_netcdf/libwrfio_nf.a \
> > -L/usr/local/netcdf/lib -lnetcdf -R/usr/local/netcdf/lib
> >
> > Or, one can rebuild netcdf without shared library option enabled.
> >
> >
> > I went back and reinstalled netcdf4 without the shared libraries (i.e.
> > the default option), but with the netcdf-4 features, and this worked.
> >


Rich,

Any progress on this? I just released netCDF-4.0.1, you might want to give it a
try.

Thanks,

Ed

Ticket Details
===================
Ticket ID: EDP-282307
Department: Support netCDF
Priority: Emergency
Status: Closed