Question

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.

Was it helpful?

Solution

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! ;)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top