Samuel Lampa
Samuel Lampa

Reputation: 4392

Is it possible to list running jobs with DRMAA?

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.

Upvotes: 2

Views: 716

Answers (1)

brainstorm
brainstorm

Reputation: 750

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

Upvotes: 3

Related Questions