ganga icon indicating copy to clipboard operation
ganga copied to clipboard

Make GaudiExec prepare virtual

Open mesmith75 opened this issue 3 years ago • 2 comments

We should have the option to run the GaudiExec build in a container if need be so we can submit very old slc5 stacks

mesmith75 avatar Jun 14 '21 10:06 mesmith75

I seem to remember that there is some support available for this within the LHCb software stack already. Can we just hook into that?If it relies on singularity, we might unfortunately hit the intermittent problems about running singularity on lxplus. The long standing bug-report I have had about it was closed with wont fix, use podman instead a few weeks back.

egede avatar Jun 14 '21 23:06 egede

Unfortunately the LHCb software stack is not quite there. You can use lb-run with a container quite nicely (lb-run --container=singularity DaVinci/v32r2p18) but unfortunately not lb-dev. There is lb-docker-run but that needs you to have docker running. The best solution I have is

singularity exec -e --bind /cvmfs docker://gitlab-registry.cern.ch/lhcb-core/lbdocker/slc5-build:latest bash -c ". $LBENV_ENTRYPOINT
> lb-dev DaVinci/v32r2p18
> cd DaVinciDev_v32r2p18
> make"

but its not super nice. I'll have a look at the LHCb scripts and see if it would be straightforward to implement a singularity type thing.

mesmith75 avatar Jun 17 '21 12:06 mesmith75

Superseded by #2320

mesmith75 avatar Apr 12 '24 08:04 mesmith75