qbatch icon indicating copy to clipboard operation
qbatch copied to clipboard

Add --parsable option

Open gdevenyi opened this issue 6 years ago • 5 comments

qbatch needs an option where it only returns the jobids of jobs submitted.

This would allow qbatch to be used in other pipelines that may want to monitor job IDs themselves rather than using the cluster's proper dependency tracking (see ANTs pipelines...)

gdevenyi avatar Apr 26 '18 00:04 gdevenyi

Best way to implement is a combination of proper options to the submission and parsing the outputs so that the qbatch outputs are always consistent.

In addition, parsing the outputs is important for eventual python module qbatch.

gdevenyi avatar Apr 26 '18 00:04 gdevenyi

Related to #163

gdevenyi avatar Apr 28 '18 12:04 gdevenyi

SLURM will report back:

JOBID:CLUSTERNAME

With option sbatch --parsable

gdevenyi avatar Jun 20 '19 16:06 gdevenyi

SGE uses qsub -terse to report only job IDs

gdevenyi avatar Jun 20 '19 16:06 gdevenyi

PBS isn't documented very well, but it looks like it just returns Job ids by default: http://www.arc.ox.ac.uk/content/torque-job-scheduler#PBScondExecution

gdevenyi avatar Jun 20 '19 16:06 gdevenyi