Message boards :
Theory Application :
Native Theory Application Setup (Linux only)
Message board moderation
Author | Message |
---|---|
Send message Joined: 20 Jun 14 Posts: 381 Credit: 238,712 RAC: 0 |
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. CentOS 7 Increase the maximum number of user namespaces: sudo echo "user.max_user_namespaces = 15000" >> /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 Suspend/Resume 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. |
Send message Joined: 15 Jun 08 Posts: 2561 Credit: 256,529,457 RAC: 101,813 |
Important note! This thread needs to be revised for Theory native >=300.08. The method/scripts suggested for suspend/resume should not be used any more as they require cgroups v1. Recent linux systems use cgroups v2 as default. Theory native >=300.08 supports cgroups v2 as default while cgroups v1 support is deprecated. Meanwhile please use the advice given in this thread to enable suspend/resume on a cgroups v2 based system. https://lhcathome.cern.ch/lhcathome/forum_thread.php?id=6075&postid=48978 |
©2025 CERN