On 08/28/2018 12:25 PM, Ben Pietras
wrote:
Hi all, Probably quite an easy one. I'm looking to run the docker image 'opengatecollaboration/gate' through condor. Condor works fine with gate for non-docker jobs. My condor.txt: universe = docker docker_image = opengatecollaboration/gate should_transfer_files = YES when_to_transfer_output = ON_EXIT output = out.$(Process) error = err.$(Process) log = log.$(Process) queue 1 Condor 8.6.12 Docker 1.13.1 Machines running CentOS 7. The logs show: /gate/gate_v8.1.p01-install/bin/Gate: error while loading shared libraries: libG4Tree.so: cannot open shared object file: No such file or directory This is because the environmental variables aren't set with geant4.sh (in the container, path /geant4/geant4.10.04.p02-install/bin/geant4.sh) Would something like universe = docker docker_image = opengatecollaboration/gate executable = /geant4/geant4.10.04.p02-install/bin/geant4.sh argumnents = what ever arguments are needed should_transfer_files = YES when_to_transfer_output = ON_EXIT output = out.$(Process) error = err.$(Process) log = log.$(Process) queue 1do the trick? -greg |