[Wrf-users] metgrid libnetcdff.so.5 can't find file

David Smith dsmith at uvi.edu
Thu Oct 16 07:53:28 MDT 2014


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20141016/8f706f32/attachment.html 


More information about the Wrf-users mailing list