Child pages
  • CMSSW on PCN Self-supported Workstations
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 16 Next »

Install CVMFS

rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

rpm -Uvh http://repo.grid.iu.edu/osg/3.2/osg-3.2-el6-release-latest.rpm

#rpm -Uvh http://cvmrepo.web.cern.ch/cvmrepo/yum/cvmfs/EL/6/`uname -i`/cvmfs-release-2-4.el6.noarch.rpm

yum install yum-priorities

yum install osg-oasis

edit /etc/fuse.conf and add:

user_allow_other

service autofs restart

cd /etc/cvmfs/ 

default.local

CVMFS_REPOSITORIES="`echo $((echo oasis.opensciencegrid.org;echo cms.cern.ch;ls /cvmfs)|sort -u)|tr ' ' ,`"
CVMFS_CACHE_BASE=/var/cache/cvmfs
CVMFS_QUOTA_LIMIT=40000
CVMFS_HTTP_PROXY="http://squid1.rcac.purdue.edu:3128|http://squid2.rcac.purdue.edu:3128|http://squid3.rcac.purdue.edu:3128|DIRECT"

domain.d/cern.ch.local

CVMFS_SERVER_URL="http://cvmfs1.fnal.gov:8000/opt/@org@;http://cvmfs2.fnal.gov:8000/opt/@org@;http://cvmfs-stratum-one.cern.ch:8000/opt/@org@"

config.d/cms.cern.ch.conf

export CMS_LOCAL_SITE=T2_US_Purdue

config.d/cms.cern.ch.conf

CVMFS_QUOTA_LIMIT=20000
export CMS_LOCAL_SITE=/etc/cms/SITECONF/local
CVMFS_SHARED_CACHE=no
CVMFS_CACHE_BASE=/var/cache/cvmfs2/
CVMFS_REPOSITORIES=cms.cern.ch

config.d/grid.cern.ch.conf

export GLITE_VERSION=${GLITE_VERSION:=default}

config.d/oasis.opensciencegrid.org.local

CVMFS_QUOTA_LIMIT=7000
CVMFS_CACHE_BASE=/var/cache/cvmfs2
CVMFS_SHARED_CACHE=no
CVMFS_REPOSITORIES=oasis.opensciencegrid.org

 

cvmfs_config reload

cvmfs_config probe

 

 

If automounter is running on your workstation CMSSW is installed in:

/project/cmsphys/cmssoft

Otherwise perform the following commands as root:

mkdir /project/cmsphys
mount -t nfs -o proto=udp,vers=3,rw,rsize=8192,wsize=8192 kepler:/net/kepler/project0/cmsphys /project/cmsphys

setenv VO_CMS_SW_DIR /project/cmsphys/cmssoft
source $VO_CMS_SW_DIR/cmsset_default.csh
source /project/cmsphys/osg-client/setup.csh
source $VO_CMS_SW_DIR/CRAB/crab.csh

setenv SCRAM_ARCH slc5_amd64_gcc434
scram list

  • No labels