Joined: 20 Jun 14
The native Theory application for Linux has been added as a beta (test) app. It is similar to the ATLAS native app and depends on CVMFS. To install CVMFS please follow the Getting Started documentation. For the /etc/cvmfs/default.local file, download this pre-configured example using the following command:
sudo wget https://lhcathome.cern.ch/lhcathome/download/default.local -O /etc/cvmfs/default.localFor those who are already running Native Atlas tasks, please update the default.local file with command above and then reload the configuration with:
sudo cvmfs_config reloadTo check CVMFS is functioning correctly run the following command:
cvmfs_config probeWhich should produce the following output:
Probing /cvmfs/atlas.cern.ch... OK Probing /cvmfs/atlas-condb.cern.ch... OK Probing /cvmfs/grid.cern.ch... OK Probing /cvmfs/cernvm-prod.cern.ch... OK Probing /cvmfs/sft.cern.ch... OK Probing /cvmfs/alice.cern.ch... OKIf this fails and the troubleshooting guide doesn't help, please post the issue to the message boards.
This application make use of rootless Linux containers with runc. This is a relatively new feature and a few configuration tweaks are required on some operating systems.
Increase the maximum number of user namespaces:
sudo echo "user.max_user_namespaces = 100" >> /etc/sysctl.conf sudo sysctl -pDebian Stretch
Enabling user namespace for every user permanently:
sudo sed -i '$ a\kernel.unprivileged_userns_clone = 1' /etc/sysctl.conf sudo sysctl -p
The Suspend/Resume does not work out of the box. It needs a cgroup to be created for each slot and this requires a cgroup with permissions for the user boinc. This can be provided by adding a PreStart script for boinc-client systemd. Download two files with wget:
sudo wget http://lhcathome.cern.ch/lhcathome/download/create-boinc-cgroup -O /sbin/create-boinc-cgroup sudo wget http://lhcathome.cern.ch/lhcathome/download/boinc-client.service -O /etc/systemd/system/boinc-client.serviceThen run the following commands to pick up the changes:
sudo systemctl daemon-reload sudo systemctl restart boinc-clientThis will only suspend the application in memory. To suspend the application to disk so that it will survive the client exiting requires the container checkpointing feature. However, this is not currently available for Linux containers.
Please post to the message boards if there are any issues.