I set :
export DRMAA_LIBRARY_PATH=/opt/gridengine/lib/lx24-amd64/libdrmaa.so
then:

[root@xen ~]# python
Python 2.4.3 (#1, Sep  3 2009, 15:37:37)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import drmaa
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named drmaa


On Tue, Jan 10, 2012 at 12:27 PM, Gerard Henry <[email protected]>wrote:

> could you post the error, please?
> when i did the test, i noted:
> export DRMAA_LIBRARY_PATH=/local/**export/sge/lib/sol\-x86/**libdrmaa.so
> python
> Python 2.6.4 (r264:75706, Feb 14 2010, 14:03:47) [C] on sunos5
> Type "help", "copyright", "credits" or "license" for more information.
> (InteractiveConsole)
> >>> import os,drmaa
>
> >>>
>
> On 01/10/12 09:52 AM, mahbube rustaee wrote:
>
>>
>> Yes, there is, but my problem is that python cannot import drmaa!
>>
>> thanks
>> On Tue, Jan 10, 2012 at 11:11 AM, Gerard Henry <[email protected]
>> <mailto:[email protected]**>> wrote:
>>
>>    On 01/10/12 08:01 AM, mahbube rustaee wrote:
>>
>>        Happy new year to all,
>>
>>        How can I install drmaa-python on sge6.2u5, the link
>>        
>> http://code.google.com/p/__**drmaa-python/w/list<http://code.google.com/p/__drmaa-python/w/list>
>>
>>        
>> <http://code.google.com/p/**drmaa-python/w/list<http://code.google.com/p/drmaa-python/w/list>>
>> 's fault!
>>
>>
>>    hello,
>>    it depends on which platform you're running on. python will look for
>>    a libdrmaa.so file, it will be present in your SGE installation
>>    lib/. If not, you have to recompile SGE from sources
>>
>>
>>    gerard
>>    ______________________________**___________________
>>    users mailing list
>>    [email protected] <mailto:[email protected]>
>>    
>> https://gridengine.org/__**mailman/listinfo/users<https://gridengine.org/__mailman/listinfo/users>
>>    
>> <https://gridengine.org/**mailman/listinfo/users<https://gridengine.org/mailman/listinfo/users>
>> >
>>
>>
>>
>
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to