문제

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.

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top