Skip to content

Cafsubmit fixes

Carsten Burgard requested to merge cafsubmit-fixes into master

Release notes

Added support for singularity running to cafsubmit

Details

When running a container with cafsubmit, you need to create a gitlab access token that supports the read_registry privilege. Create the token here and save it to a file, e.g. $HOME/private/singularity.token.

Then, run your submit command like this:

../CommonAnalysisHelpers/share/cafsubmit --disable-default-setup -y --submit local "singularity exec analyzer_latest.sif echo hello world" --setup 'export PATH=/cvmfs/atlas.cern.ch/repo/containers/sw/singularity/x86_64-el7/current/bin:$PATH' 'export SINGULARITY_DOCKER_PASSWORD=$(cat $HOME/private/singularity.token)' 'export SINGULARITY_DOCKER_USERNAME=$(whoami)' 'singularity pull docker://gitlab-registry.cern.ch/atlas_higgs_combination/software/hcomb-docker/analyzer:latest'

Merge request reports

Loading