How to fix symbol lookup error: undefined symbol errors in a cluster environment

Asked
Active3 hr before
Viewed126 times

3 Answers

symbolerror
90%

The program is run on a cluster server that I ssh into. I have tested the program through the ssh terminal and it runs fine. However, I would now like to submit a job to the cluster using qsub, but it reports the following:,For future reference: other than checking LD_LIBRARY_PATH, it's always a good idea to check a library with nm -D to see if the symbols actually exist. In this case it was found that they do exist in interactive mode but not when run in the queue. A quick md5sum revealed that the files were actually different., Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers , By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

The program is run on a cluster server that I ssh into. I have tested the program through the ssh terminal and it runs fine. However, I would now like to submit a job to the cluster using qsub, but it reports the following:

Traceback (most recent call last):
File "./gdal-test.py", line 5, in <module>
   from osgeo import gdal
   File "/home/h3/ctargett/.local/lib/python2.6/site-packages/GDAL-1.11.1-py2.6-linux-x86_64.egg/osgeo/__init__.py", line 21, in <module>
      _gdal = swig_import_helper()
      File "/home/h3/ctargett/.local/lib/python2.6/site-packages/GDAL-1.11.1-py2.6-linux-x86_64.egg/osgeo/__init__.py", line 17, in swig_import_helper
      _mod = imp.load_module('_gdal', fp, pathname, description)
      ImportError: /mnt/aeropix/prgs/.local/lib/libgdal.so.1: undefined symbol: H5Eset_auto2
load more v
88%

pacemaker throws libcrmcommon.so.3 undefined symbol errors,I updated pacemaker to the RHEL 7.1 release and its failing to start now,pacemaker won't start in RHEL 7 Update 1,A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

load more v
72%

Any idea what I did wrong? Thanks!,mpirun: symbol lookup error: /hx/u/hschilli/local/lib/libstracker.so: undefined symbol: _ZN3MPI3Win4FreeEv,LD_PRELOAD=/hx/u/hschilli/local/lib/libstracker.so mpirun -n 4 ./hello_world_mpi,cmake -DCMAKE_INSTALL_PREFIX=/hx/u/hschilli/local -DOMPI_BUILD_CXX_BINDINGS=0

OMPI_BUILD_CXX_BINDINGS

Other "symbol-error" queries related to "How to fix symbol lookup error: undefined symbol errors in a cluster environment"