[torquedev] java native interface

Mariusz Mamoński mamonski at man.poznan.pl
Tue Oct 19 05:32:45 MDT 2010


Hi,

 I have just released a newer version. It is available at sourceforge:

http://sourceforge.net/projects/pbspro-drmaa/files/pbs-drmaa/1.0/pbs_drmaa-1.0.3.tar.gz/download

It implements much more option in the native specification (please let
us now which one are still missing in your opinion).

On 19 October 2010 11:07, Scott Wilson <scott at epistemy.com> wrote:
> In short: no.
>
> How I've been accessing TORQUE is through Dan Templeton's Java DRMAA bindings for Sun/Oracle Grid Engine. He was good enough to make them a fairly thin wrapping round the C DRMAA SGE bindings, so they're fairly straight forwards to port to use another C DRMAA binding (see http://blogs.sun.com/templedf/entry/porting_the_drmaa_java_language ). I've been using the FedStage ones from http://fury.man.poznan.pl/~mmamonski/PL-Grid/pbs_drmaa-1.0.2.tar.gz as the ones bundled with TORQUE are out of date, don't support half the methods and, as you have no doubt been discovering, are pretty much un-documented.
>
> Even those aren't perfect. Thanks to DRMAA, a lot of options have to be put in through the native specification (mainly unusual things that nobody ever does like requesting resources) and not all of the available options are supported by the FedStage bindings (the bundled ones don't support native spec at all). I've been seriously considering switching to calling qsub with Runtime.exec(). Depending on how complicated the jobs you want to submit are, you may have to do that or figure out the native API.
>
> If you're interesting in using the Java bindings, I can bundle them up and release them - I've been using them in development without making any changes for a while - but I'll need to sort out the copyright, licensing etc. and write something that'll build them.
>
> Regards,
> Scott
>
>
>
> Scott Wilson
> Developer
> Epistemy
> Energy Academy
> Riccarton
> EH14 4AS
>
> tel: +44 131 564 0232
> Scott.Wilson at Epistemy.com
> http://www.Epistemy.com/
> Epistemy Limited is a company registered in Scotland, number SC365481.
> Registered office: Epistemy Limited c/o Technology and Research Services, Heriot-Watt University, Riccarton, Edinburgh, EH14 4AS
>
> On 19 Oct 2010, at 00:10, Randall Svancara wrote:
>
>> Hello,
>>
>> Is there any documentation on torque/pbs API.  I could make system calls
>> and run qsub and qstat, which seems to be how most people do this but I
>> would rather use the native API if possible.
>>
>> Thanks,
>>
>> --
>> Randall Svancara
>> High Performance Computing Systems Administrator
>> Information Technology Services
>> Office Telephone: (509) 335-3039
>> Email: rsvancara at wsu.edu
>> _______________________________________________
>> torquedev mailing list
>> torquedev at supercluster.org
>> http://www.supercluster.org/mailman/listinfo/torquedev
>
> _______________________________________________
> torquedev mailing list
> torquedev at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torquedev
>


Cheers,
-- 
Mariusz


More information about the torquedev mailing list