[Gate-users] GATE Docker container now available

Miller, Michael Michael.a.Miller at philips.com
Tue Oct 9 22:22:50 CEST 2018


Dear gate-users,

I’ve been running Gate in the docker container and now want to use HT condor to schedule jobs.  When I run the gate container in scripts or manually, I mount a local drive for the gate output:

                docker run -it --mount type=bind,source=/scratch-for-this-job,target=/scratch \
opengatecollaboration/gate /scratch/this-job.sh

I start gate with the script /scratch-for-this-job/this-job.sh:
                #!/usr/bin/bash --login
                cd `dirname $0`
Gate this_macro.mac

The “--login" is needed to ensure that the shell in the container finds Gate.  I’ve tried moving this to HT condor with this submit file:
universe       = docker
docker_image   = opengatecollaboration/gate
executable     = /scratch-for-this-job‑/this-job.sh
output         = docker-gate.out.$(ClusterID)-$(ProcID)
error          = docker-gate.err.$(ClusterID)-$(ProcID)
log            = docker-gate.log.$(ClusterID)-$(ProcID)
queue

This fails with a  “Gate: command not found” error.  I think this is because the script is not starting as a login shell, even with the “--login" option.

Can anyone provide an example of how they’ve used the docker universe with the  opengatecollaboration/gate?  Or have people been using the vanilla universe and managing directories separately from condor?

Thanks, Mike

________________________________
The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20181009/a3a61ead/attachment.html>


More information about the Gate-users mailing list