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

Dominikus Heinzeller xena.the.fire.goddess at googlemail.com
Thu Oct 16 09:01:19 MDT 2014


Hi David,

This means that metgrid can’t find libnetcdff.so.5. On linux you can also run “ldd metgrid.exe” to check this. Maybe the location of your libnetcdff.so.5 library is no longer in the system search path (environment variable LD_LIBRARY_PATH  - should contain /usr/local/netcdf/lib in your case)?

Cheers

Dom

On 16/10/2014, at 3:53 pm, David Smith <dsmith at uvi.edu> wrote:

> 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
> 
> _______________________________________________
> Wrf-users mailing list
> Wrf-users at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/wrf-users

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


More information about the Wrf-users mailing list