How I made GSI stuff work for me on Ubuntu 12.04 so I can run Crab on my laptop

CVMFS and CMSW and Grid stuff (including automatically up to date certificated and CRL's)

  • Install CVMFS
    • followed online documentation
    • pus: CVMFS_HTTP_PROXY='DIRECT' (from David A.)
  • mount
    • /cvmfs/cms.cern.ch
    • /cvmfs/grid.cern.ch

  • now can create a CMSSW release
cd /home/belforte/STEFANO/WORK/CRAB/CMSSW/
cmsrel CMSSW_7_0_2
cd CMSSW_7_0_2
cmsenv

  • but can't do scram b, so I have to copy the directory from lxplus in order to run customized cmsRun

GSI part

  • install globus-proxy-utils via synaptic
  • in my .bashrc
export X509_CERT_DIR=/cvmfs/grid.cern.ch/etc/grid-security/certificates
export X509_VOMSES=/cvmfs/grid.cern.ch/emi-ui-3.7.3-1_sl6v2/etc/vomses
export X509_VOMS_DIR=/cvmfs/grid.cern.ch/emi-ui-3.7.3-1_sl6v2/etc/grid-security/vomsdir
export X509_USER_PROXY=/tmp/x509up_u`id -u`

  • and since voms-proxy-init in globus-proxy-utils is old and does not know to look in X509_VOMSES
mkdir ~/.glite
ln -s /cvmfs/grid.cern.ch/emi-ui-3.7.3-1_sl6v2/etc/vomses  ~/.glite/vomses
  • alternatively could simply run /cvmfs/grid.cern.ch/emi-ui-3.7.3-1_sl6v2/usr/bin/voms-proxy-init

mkdir -p /etc/pki/tls/certs/
cd /etc/pki/tls/certs/
ln -s /etc/ssl/certs/ca-certificates.crt ./ca-bundle.crt

 wget http://www.globus.org/ftppub/gt5/5.2/5.2.3/installers/repo/globus-repository-5.2-stable-precise_0.0.3_all.deb
sudo dpkg -i globus-repository-5.2-stable-precise_0.0.3_all.deb
sudo apt-get update
sudo apt-get install gsi-openssh-clients

CRAB part

  • installed locally CRAB_2_10_7_pre1 from tarball so that can edit

  • finally to setup the crab environment
source /cvmfs/cms.cern.ch/cmsset_default.sh 
#source /cvmfs/grid.cern.ch/emi-ui-3.7.3-1_sl6v2/etc/profile.d/setup-emi3-ui-example.sh 
cd /home/belforte/STEFANO/WORK/CRAB/CMSSW/CMSSW_7_0_2
cmsenv
cd  /home/belforte/STEFANO/WORK/CRAB/TESTCRAB

source /home/belforte/STEFANO/WORK/CRAB/CRAB_2_10_7_pre1/crab.sh 

  • now crab -create works

  • and now also crab -submit and crab -status work

NOTES

  • no myproxy-* yet, need to use dont_check_proxy=1 in crab.cfg

-- StefanoBelforte - 01 Aug 2014


This topic: Sandbox > TWikiUsers > StefanoBelforte > StefanoBelforteSandbox > CrabOnUbuntu1204
Topic revision: r2 - 2014-08-01 - StefanoBelforte
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback