/share/atlas_app/atlas_rel as a symlink to /cvmfs/atlas.cern.ch/software/manageTier3SW/ATLASLocalRootBase/Athena/i686_slc5_gcc43_opt. Then make the following changes to schedconfig: 'appdir' : '/opt/atlas_app/atlas_rel' 'environ' : 'VO_ATLAS_SW_DIR=/opt/atlas_app/atlas_rel APP=/osg/app TMP=/scratch DATA=/osg/data'
yum install autofs
/etc/security/limits.d/cvmfs.conf with the lines:
cvmfs soft nofile 32768
cvmfs hard nofile 32768 yum install fuse
/etc/auto.master: /cvmfs /etc/auto.cvmfs
/etc/fuse.conf: user_allow_other
cd /etc/yum.repos.d/ wget http://cvmrepo.web.cern.ch/cvmrepo/yum/cernvm.repo cd /etc/pki/rpm-gpg/ wget http://cvmrepo.web.cern.ch/cvmrepo/yum/RPM-GPG-KEY-CernVM
yum install cvmfs cvmfs-init-scripts cvmfs-keys
ln -s /cvmfs/atlas.cern.ch /opt/atlas
/etc/cvmfs/default.local with content (NOTE: EDIT the squid INFO for your site!!! The example below is for AGLT2 which has 3 real SQUIDs and a round-robin DNS entry):
CVMFS_REPOSITORIES=atlas CVMFS_CACHE_BASE=/tmp/cache/cvmfs2 CVMFS_HTTP_PROXY="http://<your_squid_roundrobin>:3128;http://<real_squid1>:3128;http://<real_squid2>:3128;http://<real_squid3>:3128;DIRECT"
chown cvmfs.cvmfs /tmp/cache/cvmfs2. The CVMFS_CACHE_BASE variable controls the location. Set it appropriately for your site. Also, if you use /tmp, you may want to verify that any tools which automatically cleanup /tmp (like tmpwatch) are configured to leave the cache area alone.
CVMFS_HTTP_PROXY="http://<your_squid_dns>:3128;DIRECT"
CVMFS_HTTP_PROXY="http://<your_squid_1>:3128|http://<your_squid_2>:3128|http://<your_squid_3>:3128;DIRECT"
/etc/cvmfs/config.d/atlas.cern.ch.local with content:
CVMFS_QUOTA_LIMIT=25000
/etc/cvmfs/domain.d/cern.ch.local with content:
CVMFS_SERVER_URL="http://cvmfs.racf.bnl.gov:8000/opt/@org@;http://cvmfs-stratum-one.cern.ch:8000/opt/@org@;http://cernvmfs.gridpp.rl.ac.uk:8000/opt/@org@"
/etc/init.d/cvmfs start ls /cvmfs/atlas.cern.ch
ls /cvmfs/ does not work.
cat /usr/local/bin/setup/cvmfs_atlas.sh
#!/bin/bash
#
# Setup to use ATLAS software from CVMFS
#
export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/software/manageTier3SW/ATLASLocalRootBase
source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh
Or the csh variant:
cat /usr/local/bin/setup/cvmfs_atlas.csh
#!/bin/csh
#
# Setup to use ATLAS software from CVMFS
#
setenv ATLAS_LOCAL_ROOT_BASE /cvmfs/atlas.cern.ch/software/manageTier3SW/ATLASLocalRootBase
source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.csh
Note: I am not sure this is how it is supposed to be used but I was able to get things to work using the above setup followed by asetup 16.6.4 and then running a full ATLAS chain from event generation to reconstruction.
/etc/auto.master: /cvmfs /etc/auto.cvmfs
/etc/fuse.conf ( create if neccessary): user_allow_other
cd /etc/yum.repos.d/ wget http://cvmrepo.web.cern.ch/cvmrepo/yum/cernvm.repo cd /etc/pki/rpm-gpg/ wget http://cvmrepo.web.cern.ch/cvmrepo/yum/RPM-GPG-KEY-CernVM
CVMFS_REPOSITORIES=atlas CVMFS_CACHE_BASE=/var/cache/cvmfs2 CVMFS_HTTP_PROXY="http://iut2-grid1.iu.edu:3128;http://cernvm.lbl.gov:3128"
/etc/init.d/cvmfs start ls /cvmfs/atlas.cern.ch
ls /cvmfs/ does not work.
yum install cvmfs.x86_64 cvmfs-init-scripts.noarch fuse.x86_64 autofs.x86_64 mkdir /etc/cvmfs/local.d echo this into /etc/cvmfs/local.d/default.conf: CVMFS_USER=cvmfs CVMFS_NFILES=32768 CVMFS_QUOTA_LIMIT=-1 CVMFS_SERVER_URL=http://cernvm-webfs.cern.ch/opt/@org@ CVMFS_OPTIONS=allow_other,remount_sleep=10,entry_timeout=10,attr_timeout=10,timeout=10,negative_timeout=10 CVMFS_REPOSITORIES=atlas CVMFS_CACHE_DIR=/var/cache/cvmfs/atlas CVMFS_HTTP_PROXY="http://cernvm.lbl.gov:3128" CVMFS_DEBUGLOG=/var/log/cvmfs.log
restart cvmfs /etc/init.d/cvmfs restart
[root@test local.d]# ls /opt/atlas ChangeLog conditions database panda software tag test
root@test local.d]# ls /opt/atlas/software 14.2.25 15.2.0 15.5.2 15.6.5 i686-slc4-gcc34-opt sw 14.5.0 15.3.0 15.5.3 15.6.7 i686_slc5_gcc43_opt tag 14.5.1 15.3.1 15.5.4 15.6.8 i686-slc5-gcc43-opt tier3 14.5.2 15.4.0 15.6.0 ChangeLog manageTier3SW vp1patches 15.0.0 15.4.1 15.6.1 ChangeLog~ preloadcache 15.0.1 15.5.0 15.6.3 gcc runVP1.sh 15.1.0 15.5.1 15.6.4 i686_slc4_gcc34_opt setupScripts
VO_ATLAS_SW_DIR="/opt/atlas/repo/sw"After the switch over:
VO_ATLAS_SW_DIR=/cvmfs/atlas.cern.ch/repo/sw"For the sake of argument let us define another environment variable:
VO_ATLAS_CVMFS_DIR="/opt/atlas/repo" - Initially VO_ATLAS_CVMFS_DIR="/cvmfs/atlas.cern.ch/repo" - after switch to CERN-ITAthena software will be installed in:
$VO_ATLAS_SW_DIR/software/.
As of Today (15-Feb-2011) for extra software we would have:
$VO_ATLAS_SW_DIR/cctools $VO_ATLAS_SW_DIR/ddmNote - other software can be added as needed.
$VO_ATLAS_CVMFS_DIR/ATLASLocalRootBase $VO_ATLAS_CVMFS_DIR/conditions (for the conditions db files) $VO_ATLAS_SW_DIR/database/Initially the directories would be:for DB Releases $VO_ATLAS_SW_DIR/nightlies for the Nightly releases Note- we have not stable configuration for the nightlies yet.
/opt/atlas/repo/ATLASLocalRootBase /opt/atlas/repo/conditions /opt/atlas/repo/sw/database/The main repository is:/opt/atlas/repo/sw/software/ /opt/atlas/repo/sw/cctools /opt/atlas/repo/sw/ddm /opt/atlas/repo/sw/nightlies
$VO_ATLAS_CVMFS_DIR. The nested repositories are:
$VO_ATLAS_CVMFS_DIR/ATLASLocalRootBase $VO_ATLAS_CVMFS_DIR/conditions $VO_ATLAS_SW_DIR/database/$VO_ATLAS_SW_DIR/software/ $VO_ATLAS_SW_DIR/nightlies
Please note that this site is a content mirror of the BNL US ATLAS TWiki. To edit the content of this page, click the Edit this page button at the top of the page and log in with your US ATLAS computing account name and password.