[GE dev] DRMAA-python error

bmcnally bmcnally at u.washington.edu
Mon Feb 2 17:56:44 GMT 2009


I'm using this one:

http://gridengine.sunsource.net/files/documents/7/36/DRMAA-python-0.2.tar.gz

Which was posted by andreas (andreas at sunsource.net). Interestingly, 
using a 64bit version of DRMAA-python built on RHEL4 and SGE 6.1u5 works 
okay from RHEL5.

--
Brian McNally


templedf wrote:
> Odds are it's a bug in the swig wrapper.  The underlying operation to 
> jt.remoteCommand is drmaa_set_attribute(), and there are no known issues 
> there.  Unfortunately, I don't know much about the Python binding, other 
> than that there are now a few out there.  Who's Python binding are you 
> using?
> 
> Daniel
> 
> bmcnally wrote:
>> Hello,
>>
>> I'm running the following software:
>>
>> RHEL 5.2 x86_64
>> DRMAA-python 0.2
>> SGE 6.1u3
>> Python 5.2.4
>>
>> When I attempt to run the third example discussed here Python segfaults:
>>
>> http://gridengine.sunsource.net/howto/drmaa_python.html
>>
>> When I run the example interactively, I get the following output:
>>
>> Python 2.5.4 (r254:67916, Jan  8 2009, 12:53:32)
>> [GCC 4.1.2 20070626 (Red Hat 4.1.2-14)] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>>  >>> import DRMAA
>>  >>> import os
>>  >>> s=DRMAA.Session()
>>  >>> s.init()
>>  >>> jt = s.createJobTemplate()
>>  >>> jt.remoteCommand = os.getcwd() + '/sleeper.sh'
>> Segmentation fault
>>
>> This happens whether I include the "sleeper.sh" part or not. Is this a 
>> bug in DRMAA-python or something else?
>>
>> Thanks,
>>
>> --
>> Brian McNally
>>
>> ------------------------------------------------------
>> http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=39&dsMessageId=100640
>>
>> To unsubscribe from this discussion, e-mail: [dev-unsubscribe at gridengine.sunsource.net].
>>
> 
> ------------------------------------------------------
> http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=39&dsMessageId=101358
> 
> To unsubscribe from this discussion, e-mail: [dev-unsubscribe at gridengine.sunsource.net].

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=39&dsMessageId=101422

To unsubscribe from this discussion, e-mail: [dev-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list