Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looks like this may be broken for lsf 9.1 #6

Open
Pete-C opened this issue Aug 1, 2013 · 5 comments
Open

Looks like this may be broken for lsf 9.1 #6

Pete-C opened this issue Aug 1, 2013 · 5 comments

Comments

@Pete-C
Copy link

Pete-C commented Aug 1, 2013

root@farm3-srv1:/tmp/platform-python-lsf-api-master# python setup.py build
running build
running build_py
running build_ext
root@farm3-srv1:/tmp/platform-python-lsf-api-master# python setup.py install
running install
running build
running build_py
running build_ext
running install_lib
copying build/lib.linux-x86_64-2.7/pythonlsf/lsf.py -> /software/python-2.7.3/lib/python2.7/site-packages/pythonlsf
byte-compiling /software/python-2.7.3/lib/python2.7/site-packages/pythonlsf/lsf.py to lsf.pyc
running install_egg_info
Removing /software/python-2.7.3/lib/python2.7/site-packages/platform_python_lsf_api-0.0.1-py2.7.egg-info
Writing /software/python-2.7.3/lib/python2.7/site-packages/platform_python_lsf_api-0.0.1-py2.7.egg-info
root@farm3-srv1:/tmp/platform-python-lsf-api-master# python
Python 2.7.3 (default, Jun 11 2013, 13:21:10)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.

from pythonlsf import lsf
Traceback (most recent call last):
File "", line 1, in
File "pythonlsf/lsf.py", line 26, in
_lsf = swig_import_helper()
File "pythonlsf/lsf.py", line 18, in swig_import_helper
import _lsf
ImportError: No module named _lsf
quit()

:(

@tmetsch
Copy link
Owner

tmetsch commented Aug 2, 2013

Are there any *.so file create during the build?

@Pete-C
Copy link
Author

Pete-C commented Aug 2, 2013

Hello, many thanks for your rapid reply. We do see the following .so created:
./build/lib.linux-x86_64-2.7/pythonlsf/_lsf.so

Pete


From: tmetsch [email protected]
To: tmetsch/platform-python-lsf-api [email protected]
Cc: Pete-C [email protected]
Sent: Friday, 2 August 2013, 10:25
Subject: Re: [platform-python-lsf-api] Looks like this may be broken for lsf 9.1 (#6)

Are there any *.so file create during the build?

Reply to this email directly or view it on GitHub.

@tmetsch
Copy link
Owner

tmetsch commented Aug 2, 2013

okay could be that you just need to set PYTHONPATH (pointing to the _lsf.so dir) and LD_LIBRARY_PATH. can you check that?

@Pete-C
Copy link
Author

Pete-C commented Sep 17, 2013

Hello,

apologies for the delay, manic summer. Sadly this isn't the issue. The LD_LIBRARY_PATH is all set correctly
Pete

@tmetsch
Copy link
Owner

tmetsch commented Sep 17, 2013

:-D

Hmm, weird! How does it look like? And is the PYTHONPATH extended too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants