[Wrf-users] metgrid libnetcdff.so.5 can't find file (UNCLASSIFIED)
Kirby, Stephen F CIV USARMY ARL (US)
stephen.f.kirby.civ at mail.mil
Thu Oct 16 09:04:34 MDT 2014
Classification: UNCLASSIFIED
Caveats: NONE
David,
You can do:
export LD_LIBRARY_PATH=/path/to/libnetcdff.so.5 file if in ksh
setenv LD_LIBRARY_PATH /path/to/libnetcdff.s0.5 file if in csh
This should solve your current error by allowing for a dynamic link of this
lib.
Regards,
Steve
-----Original Message-----
From: wrf-users-bounces at ucar.edu [mailto:wrf-users-bounces at ucar.edu] On
Behalf Of David Smith
Sent: Thursday, October 16, 2014 7:53 AM
To: wrf-users at ucar.edu
Subject: [Wrf-users] metgrid libnetcdff.so.5 can't find file
Hi,
I successfully ran ungrib for a recent 3-day forecast, but when I tried
to run metgrid, I got the following error.
./metgrid.exe: error while loading shared libraries: libnetcdff.so.5: cannot
open shared object file: No such file or directory
Does this mean metgrid can't find libnetcdff.so.5 , or that
libnetcdff.so.5 can't find a file or directory? One suggestion I found on
wrfforum for a similar error suggested that the NETCDF environment was not
properly set. But it was during the original compilation and metgrid has
run without any errors for all previous runs. Does anyone have an idea of
what might have happened to cause this error? (There was no other major
installation/compilation that I know of that might have clobbered some
links. I did try doing soft links to all the relevant libnetcdff.so.5 files
below, but that didn't help.
Thanks for any ideas.
/aspendata/install/netcdf-fortran-4.2/fortran/.libs/libnetcdff.so.5
/aspendata/install/netcdf-fortran-4.2/fortran/.libs/libnetcdff.so.5.3.1
/usr/local/netcdf/lib/libnetcdff.so.5
/usr/local/netcdf/lib/libnetcdff.so.5.1.0
/usr/local/netcdf-4.1.3/fortran/.libs/libnetcdff.so.5
/usr/local/netcdf-4.1.3/fortran/.libs/libnetcdff.so.5.1.0
/usr/local/netcdf-4.1.3/fortran/.libs/libnetcdff.so.5.1.0T
/usr/local/netcdf-4.2.1.1/gcc/lib/libnetcdff.so.5
/usr/local/netcdf-4.2.1.1/gcc/lib/libnetcdff.so.5.3.1
/usr/local/savenetcdf-4.1.3/gcc/lib/libnetcdff.so.5
/usr/local/savenetcdf-4.1.3/gcc/lib/libnetcdff.so.5.1.0
/usr/local/savenetcdf-4.1.3/intel/lib/libnetcdff.so.5
/usr/local/savenetcdf-4.1.3/intel/lib/libnetcdff.so.5.1.0
Dr. David J Smith
College of Science and Mathematics
University of the Virgin Islands
St. Thomas, VI 00802
340 693-1257
dsmith at uvi.edu
Classification: UNCLASSIFIED
Caveats: NONE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5617 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/wrf-users/attachments/20141016/786b8a17/attachment-0001.bin
More information about the Wrf-users
mailing list