Call slurm_load_job() with the job ID number (i.e. 7). That will return information about all tasks (job array elements) associated with the specified job ID. You can then look for the desired task ID value(s) in the returned array.

Quoting E V <[email protected]>:
Getting a chance to start working on this. Changing the slurm-drmaa
callers in job.c to use the {kill,update,resume}..2() versions seems
straightforward, and I've done that. However, now I'm dieing calling
slurm_load_job() with a string, ie 7_1. I don't see a
slurm_load_job2() in 14.11.9. What's the appropriate api to use here?

On Fri, Sep 4, 2015 at 10:32 AM, E V <[email protected]> wrote:

All of my test code and DRMAA usage is job array based, so I haven't
checked if normal job creation works with 14.11+.

On Thu, Sep 3, 2015 at 7:32 PM, Christopher Samuel
<[email protected]> wrote:

Hi there,

On 02/09/15 07:38, E V wrote:

Trying drmaa with slurm > 14.03 using job arrays for the first time.
Doesn't work.

Does DRMAA work for you in 14.11.x apart from this?

We've got users running production code that depends on DRMAA but I'm
not sure they use job arrays (waiting on confirmation from them at the
moment).

All the best,
Chris
--
 Christopher Samuel        Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computation Initiative
 Email: [email protected] Phone: +61 (0)3 903 55545
 http://www.vlsci.org.au/      http://twitter.com/vlsci


--
Morris "Moe" Jette
CTO, SchedMD LLC
Commercial Slurm Development and Support

Reply via email to