I am having issues configuring, submitting, and monitoring SGE HPC cluster jobs from within Python using DRMAA. I know that Galaxy uses Python and supports DRMAA, so I was trying to figure out how this is implemented there. I saw the docs here:
https://docs.galaxyproject.org/en/latest/admin/cluster.html?highlight=drmaa
and I was looking at the implementation here:
https://docs.galaxyproject.org/en/latest/_modules/galaxy/jobs/runners/drmaa.html#DRMAAJobRunner
It appears that Galaxy is using subprocess
to issue qsub
commands. Is that correct?
I was assuming that Galaxy would be using something like drmaa-python for this, but that appears to not be the case? I had tried that one and couldn't figure out how to properly configure my qsub jobs, but the developer hasn't replied so I was hoping that maybe the Galaxy team would have some insight into this.
Thanks