2

I was wondering if it is possible to list all running jobs in the resource manager, using the DRMAA library, not just the ones started via DRMAA itself?

That is, getting data similar to what is output by the squeue command for the SLURM resource manager.

Samuel Lampa
  • 4,336
  • 5
  • 42
  • 63

1 Answers1

3

As far as I know, yes, it is, but only for DRMAAv2, which implements listing and job persistence:

https://github.com/troeger/drmaav2-mock/blob/master/drmaa2-list.c

The python-drmaa module does not implement DRMAAv2 yet, but we might start working soon on it:

https://github.com/drmaa-python

If you want to jump in, you're very welcome! ;)

brainstorm
  • 720
  • 7
  • 24
  • Yes, `slurm-drmaa` and `python-drmaa` if you need the python part (which I guess you want for galaxy). In that case even some Galaxy code should be very slightly modified too (drmaa.py). – brainstorm Apr 23 '13 at 13:41
  • Just mailed the author of SLURM DRMAA bindings, and he says he will start working on the v2 implementation next month. – Samuel Lampa Apr 23 '13 at 14:14