Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

[ DEBUG "MyFirstExampleProcessor"] processing event: 0 in run: 0


Docker container

All the software is distributed through a docker container. Images for the Muon Collider software are available at DockerHub

For further details about the Docker setup please refer to the guide

To exec it after download you can for example the following command:

docker run -ti --rm --env DISPLAY=${DISPLAY} --env USER=${USER} --env HOME=/home/${USER} --user=$(id -u $USER):$(id -g $USER) -v <your working directory>:/home/${USER} -v /cvmfs:/cvmfs -w /home/${USER} -v ${HOME}/.Xauthority:/home/${USER}/.Xauthority --net=host --entrypoint /bin/bash infnpd/mucoll-ilc-framework:1.0-centos8

First we define some environment variables used to export the graphical interface: --env DISPLAY=${DISPLAY} --env USER=${USER} --env HOME=/home/${USER}

We define also the local user as the user logged in the container (otherwise you login as root):  --user=$(id -u $USER):$(id -g $USER)

We mount some local directories inside the container: -v <your working directory>:/home/${USER} -v /cvmfs:/cvmfs

With the next option we define the working directory inside the container:  -w /home/${USER}

The last two options tell  the container to share the host’s networking namespace: -v ${HOME}/.Xauthority:/home/${USER}/.Xauthority --net=host


Then you need to source the environment setting:

source /opt/ilcsoft/v02-01-pre/init_ilcsoft.sh