Hi! I am working on a research project and am currently investigating how (if at all possible) interface with Slurm from Java. We currently have a job submission (among other duties) system written in Java, and would like to develop a plugin for Slurm as well.
Thus far, we have tried using JNA[0] to create Java bindings for the Slurm C API. This has been without success, though; in short we are having trouble converting the complex structs to equivalent Java structures. We have also tried using a small Java project[1] that interfaces with Slurm's PBS wrapper scripts. It doesn't feel like a good solution but atleast it works... Have anyone tried something similar, using JNA or some other method? The whole thing feels kind of hopeless right now. :) Regards, /Sebastian Gröhn [0] https://github.com/twall/jna [1] http://code.google.com/p/pbs4java --- Sebastian Gröhn, Research Assistant Dept. of Computing Science, Umeå University
