Custom Query (43 matches)
Results (43 of 43)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#51 | fixed | Swig errors with pbs_python 4.4.0 and Torque 4.2.9 | bas | cganote@… |
Description |
Hi, I've seen a few tickets already on errors with undefined symbols, and I've tried replacing the pbs.py and pbs_wrap.c files as well as the setup.py.in file while compiling, to no avail. I'm still having issues linking these libraries. I'm running CentOS 6.6 and compiling with gcc 4.4.7. Here's what I see: # Set up a Torque Client cd torque-4.2.9 ./configure --prefix=$(pwd) --mandir=$(pwd)/man --libdir=$(pwd)/lib64 CC="gcc -m64" --enable-drmaa make make install_clients export LD_LIBRARY_PATH=$(pwd)/lib64:$LD_LIBRARY_PATH cd bin export PATH=$(pwd):$PATH # Set up pbs_python cd .. mkdir pbs_py_again cd pbs_py_again/ wget ftp://ftp.surfsara.nl/pub/outgoing/pbs_python.tar.gz tar -xzvf pbs_python.tar.gz cd pbs_python-4.4.0/ ./configure --prefix=$(pwd) --with-pbsdir=/full/path/to/new/torque-4.2.9 make emacs Makefile # Because the paths are all screwed up - is this ever going to be fixed? make install cd lib/python2.7/site-packages/pbs export PYTHONPATH=$(pwd) cd ~ python submit.py #Import pbs #Traceback (most recent call last): # File "submit.py", line 5, in <module> # import pbs # File "/path/to/pbs/pbs.py", line 25, in <module> # _pbs = swig_import_helper() # File "/path/to/pbs/pbs.py", line 21, in #swig_import_helper # _mod = imp.load_module('_pbs', fp, pathname, description) #ImportError: /path/to/pbs/_pbs.so: undefined symbol: log_remove_old |
Note: See TracQuery
for help on using queries.