On Thu, 20 Oct 2005 enrico.sirola@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
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@sun.com> wrote:
On Thu, 20 Oct 2005 enrico.sirola@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
FYI, there's an old experimental and certainly no longer working PerlUI built on top of SWIG and the Grid Engine command line under http://gridengine.sunsource.net/source/browse/gridengine/source/experimental... Cheers, Fritz Rayson Ho wrote:
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.
Rayson
On 10/20/05, Andreas Haas <Andreas.Haas@sun.com> wrote:
On Thu, 20 Oct 2005 enrico.sirola@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@gridengine.sunsource.net For additional commands, e-mail: users-help@gridengine.sunsource.net
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@gmail.com> To: <users@gridengine.sunsource.net>; "DRMAA Working Group" <drmaa-wg@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@sun.com> wrote:
On Thu, 20 Oct 2005 enrico.sirola@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@gridengine.sunsource.net For additional commands, e-mail: users-help@gridengine.sunsource.net
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_spe... 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@gmail.com> To: <users@gridengine.sunsource.net>; "DRMAA Working Group" <drmaa-wg@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.
Rayson
On 10/20/05, Andreas Haas <Andreas.Haas@sun.com> wrote:
On Thu, 20 Oct 2005 enrico.sirola@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@gridengine.sunsource.net For additional commands, e-mail: users-help@gridengine.sunsource.net
The right place to store Python modules is the "Python Packaging Index" PyPI: http://cheeseshop.python.org/ Regards, Peter. Andreas Haas schrieb:
On Thu, 20 Oct 2005 enrico.sirola@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
participants (5)
-
Andreas Haas -
Fritz Ferstl -
Peter Troeger -
Rayson Ho -
Tim Harsch