I2PC / scipion

Scipion is an image processing framework to obtain 3D models of macromolecular complexes using Electron Microscopy (3DEM)
http://scipion.i2pc.es
Other
76 stars 47 forks source link

Scipion is not awere of the status of submitted jobs #2080

Closed JuhaHuiskonen closed 4 years ago

JuhaHuiskonen commented 4 years ago

Sometimes submission of the job to a scheduling system fails (for example when the user asks for more memory than allowed in a particular queue). Scipion shows this job with status "Launched". It would be nice if Scipion kept checking if the job is actually in the queue or not (if it got a job ID or not). If not, it should be marked as "Failed"

pconesa commented 4 years ago

Thanks, @JuhaHuiskonen .... there is a CHECK_COMMAND (extracted from here: https://github.com/I2PC/scipion/blob/master/pyworkflow/templates/hosts.template)

CHECKCOMMAND = qstat %(JOB_ID)s

Clearly this one needs the JOB_ID.

So I guess the issue is before as you say. I'm moving this issue to Scipion3 repo. Will investigate this there.