[GE users] drmaa python module 0.4a3

sumyee sum-yee.lai at hp.com
Tue Jan 26 20:32:39 GMT 2010


Can anyone help me with installing the latest drama python module?

I downloaded drmaa-0.4a3-r45.tar, ran setup.py install, and tried to import drmaa from within python.  I get the following error message:

>>> import drmaa
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.5/site-packages/PIL/__init__.py", line 39, in <module>

  File "build/bdist.linux-x86_64/egg/drmaa/wrappers.py", line 43, in <module>
RuntimeError: could not find drmaa library. Please specify its full path using the environment variable DRMAA_LIBRARY_PATH


If I set DRMAA_LIBRARY_PATH to point to libdrmaa.so in $SGE_ROOT/lib/lx24-amd64, I get the following error:

>>> import drmaa
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.5/site-packages/PIL/__init__.py", line 39, in <module>

  File "build/bdist.linux-x86_64/egg/drmaa/wrappers.py", line 45, in <module>
  File "/usr/local/lib/python2.5/ctypes/__init__.py", line 431, in LoadLibrary
    return self._dlltype(name)
  File "/usr/local/lib/python2.5/ctypes/__init__.py", line 348, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /usr/local/GridEngine/lib/lx24-amd64: cannot read file data: Is a directory

Any idea what I am doing wrong?  Any help will be greatly appreciated.

Regards,
Sum Yee



More information about the gridengine-users mailing list