[GE dev] DRMAA-python error

templedf dan.templeton at sun.com
Mon Feb 2 13:50:59 GMT 2009


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].



More information about the gridengine-users mailing list