[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[HTCondor-users] HTCondor + docker + opengate



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)

Does anyone know how to run this script through condor in each container before executing?

Thanks
----------------------------------------------------------------------------
   Ben Pietras <ben.pietras@xxxxxxxxxxxxxxxx>           
   School of Physics and Astronomy,   Tel.  0161-275-4231
   The University of Manchester,          Fax. 0161-275-5509
   Manchester, M13 9PL.                                             
----------------------------------------------------------------------------