Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Issue while running geogrid.exe ungrib.exe

burhangis

New member
Hi
I am running ./geogrid.exe and ./ungrib.exe command on supercomputer but it giving me error that

/geogrid.exe: error while loading shared libraries: libnetcdff.so.7: cannot open shared object file: No such file or directory
and

/usr/mathlib/libpng/lib/libpng15.so.15: version `PNG15_0' not found (required by ./ungrib.exe)

respectively...in my specific path libnetcdff.so.7 is not available but libnetcdff.so.6 is available and libpng15.so.15 is available in specific path.

I also added the path (export LD_LIBRARY_PATH=/usr/mathlib/libpng/lib/) in bash file

how i can resolve these issues?
 
The Unix operating system usually looks at the environment variable LD_LIBRARY_PATH to search the directories in the path for the library. Try issuing these commands:

echo $LD_LIBRARY_PATH

If the path /usr/local/netcdf/lib is not included, then (in ksh, for example) please type:

export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/netcdf/lib"

Follow the same approach to add the directory containing the 'libpng15' file to your LD_LIBRARY_PATH environment variable.
 
Top