Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xgrid] DRMAA for Xgrid?



Ernie and Adreas,

Some disconnected thoughts:

I haven't heard about DRMAA before, but it looks like it would make a
_very_ nice compliment to the Objective-C API for Xgrid. Their Java
bindings in particular look like they mirror the APIs that Brian
Granger and I have created in making procedural Python APIs for Xgrid
(well actually, it's probably the other way around). As you may know,
both Brian's pyxg and my xgf modules suffer from the problem that they
implement this API on top of a somewhat fragile foundation (Brian,
forgive me if I'm stepping on your toes here). PyXG wraps the xgrid
command line tool and my xgf wraps the XgridFoundation framework using
twisted but runs into problems because it has to manage its own
NSRunLoop, making it hard to integrate into an app that already has a
run loop. I can't speak for Brian, but I would be happy to replace my
code with Python bindings to a DRMAA library for Xgrid (in fact, the C
library would obviate the need for a Python library at all in order to
use Xgrid from within Matlab).

I'm not sure that the DRMAA and Objective-C API are so incompatible.
We've  had some discussion on the list already about a more procedural
API for Xgrid. It would seem that the DRMAA implementation could be
made on top of (and maybe even compatible with) XgridFoundation--a
more robust version of what I've done in xgf. A higher-level, more
procedural API would allow non-Cocoa developers easy access to Xgrid
and would allow Cocoa developers to make quick, prototype code by
firing off a thread that submitted a job and waited on the results
using the procedural API. More interactive use could be added when/if
needed using the XgridFoundation API.

Finally, layering DRMAA on top of Xgrid Foundation would mean that
apps written to the DRMAA API might be more easily ported to other
grid engines if needs changed.

Thanks for bringing this project to the lists' attention. It's an
exciting development for those of us who didn't know about it already!

Barry


On 2/27/06, Ernest Prabhakar <email@hidden> wrote:
> Hi all,
>
> Is anyone here familiar with the Distributed Resource Management
> Application API (DRMAA):
>
> http://www.drmaa.org/
>
> While their procedural bindings not a great match for our Objective-C
> API, it occurred to me it might be of interest to some of you work on
> Python et al.  Have any of you run into DRMAA-enabled applications in
> your environment?
>
> If this is something you're interested in exploring, please reply to
> the list, and CC Andreas Haas (above) from the DRMAA working group.
>
> Best,
> -- Ernie P.
> ------------------------------------------------------------------------
> -----------------
> Ernest N. Prabhakar, Ph.D. (408) 974-3075 <ernest at apple.com>
> Xgrid Product Manager, Mac OS X Product Marketing
> Apple Computer; 303-4SW 3 Infinite Loop; Cupertino, CA 95014
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xgrid-users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/xgrid-users/email@hidden
>
> This email sent to email@hidden
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xgrid-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xgrid-users/email@hidden

This email sent to email@hidden

References: 
 >[Xgrid] DRMAA for Xgrid? (From: Ernest Prabhakar <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.