CoBrALab / qbatch

The Unlicense
27 stars 13 forks source link

Implement container wrapper mode for docker/singularity #205

Closed gdevenyi closed 4 years ago

gdevenyi commented 4 years ago

Implement container mode, which generates a "meta" file, and a bare "joblist" file.

The idea is that a qbatch instance outside the container can monitor a directory for generation of such files, and do

qbatch $(cat jobname.metafile) jobname.joblist

qbatch does not handle properly wrapping the call to run the command inside the container, however the --header and --footer options can handle this, one such example: https://github.com/CoBrALab/antsRegistration-MAGeT/blob/container/bin/mb-container.sh