[GE users] Re: [drmaa-wg] Re: [GE users] python DRMAA module
Peter Troeger
peter.troeger at hpi.uni-potsdam.de
Tue Nov 1 01:36:35 CST 2005
First: Great work ! I would like to see DRMAA Python in Cheeseshop,
since the community decided to make this one the primary source of
Python packages:
http://cheeseshop.python.org/pypi
Both of you may want to consider the DRMAA IDL specification draft in
your ongoing work:
https://forge.gridforum.org/projects/drmaa-wg/document/DRMAA_IDL_binding_specification_v0.31_/en/1
It was derived from the Java binding, and contains a language-neutral
and detailled description of the DRMAA semantics. It is still a draft
document, but all open points are clearly marked in the document.
Regards,
Peter.
Tim Harsch schrieb:
> Rayson et al,
> When I created the SWIG file for the Perl module ( Schedule::DRMAAc
> ) I started off with keeping it generic in mind. The idea being one
> SWIG file would create bindings for any of the SWIG supported
> languages. I quickly learned its not quite that simple. It's still
> possible, its just that tricky functions you need to get language
> specifc. So you define the function once of Perl, then again for
> Python, etc.
> Then also, there is the language support stuff that should be
> included with the module distro... like the required wrapper.
>
> Given all that, I think Enrico took the right approach by starting
> with my swig file and then altering it to work with Python. I hope in
> the future someone will try it for the other languages like Ruby. Or
> if we're lucky we'll get a Chicken binding ;-)
>
> ----- Original Message ----- From: "Rayson Ho" <rayrayson at gmail.com>
> To: <users at gridengine.sunsource.net>; "DRMAA Working Group"
> <drmaa-wg at gridforum.org>
> Sent: Thursday, October 20, 2005 6:14 AM
> Subject: [GE users] Re: [drmaa-wg] Re: [GE users] python DRMAA module
>
>
> First of all, thanks Enrico for the module...
>
> Did anyone look at using SWIG (Simplified Wrapper and Interface
> Generator) ?? It seems like with SWIG, you only need to define the
> interface once and the tool will generate bindings for many languages.
>
> http://www.swig.org/
>
> Rayson
>
>
>
> On 10/20/05, Andreas Haas <Andreas.Haas at sun.com> wrote:
>
>> On Thu, 20 Oct 2005 enrico.sirola at statpro.com wrote:
>>
>> > Hello,
>> > recently I developed a DRMAA python module for the SGE. It wraps the C
>> > APIs and presents the user an interface similar to the one specified
>> > in the Java DRMAA APIs. I'd contribute it to the opensource
>> > community. Is anyone interested?
>>
>> Hi Enrico,
>>
>> I'm sure there is interest.
>>
>> Possible there is a python module directory where it naturally would be
>> placed? E.g. the DRMAA perl binding for example is kept in CPAN perl
>> directory.
>>
>> Best regards,
>> Andreas
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net
>
More information about the drmaa-wg
mailing list