Hi! On Tuesday 31 January 2012 14:32:01 you wrote: > Hello! > > On 31.01.12 11:57, Sebastian Gröhn wrote: > > I am working on a research project and am currently investigating how (if > > at all possible) interface with Slurm from Java. > > Without beeing a programmer - this sounds like a task for DRMAA. There > are bindings for SLURM [1] and - at least on Grid Engine - Java bindings. > > [1] http://apps.man.poznan.pl/trac/slurm-drmaa > > Using DRMAA you should get a "one solution fits all". At least this is > promised by the DRMAA developers.
Interesting. I didn't know Slurm had DRMAA plugin. You are right in that one should be able to use any DRMAA Java bindings with any DRMAA impl. However, reading at SO[0] makes me more pessimistic: "Sun grid engine includes a drmaa.jar providing a Java-DRMAA API. [...] I just experimented with [it] and tried to cross-use it with the pbs libdrmaa.so. Not surprisingly, that failed (JNI unsatisfied link error)." and "[T]he reason why you cannot just use any DRMAA-Java library and use it with any DRMAA-C implementation is: DRMAA describes the interface of the resource control, not how it is implemented. The vendor could use a DRMAA-C implementation and use only these functions, but they do not have to. It can use whatever is there in the engine." This was in 2010, however. Maybe it isn't true anymore. [0] http://stackoverflow.com/questions/2715243/is-there-a-drmaa-java-library- that-works-with-torque-pbs /Sebastian