---++ 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 <verbatim> cd /home/belforte/STEFANO/WORK/CRAB/CMSSW/ cmsrel CMSSW_7_0_2 cd CMSSW_7_0_2 cmsenv </verbatim> * but can't do scram b, so I have to copy the directory from lxplus in order to run customized cmsRun * OTOH cmsRun and EdmConfigHash run ---+++ GSI part * install =globus-proxy-utils= via synaptic * in my =.bashrc= <verbatim> 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` </verbatim> * and since =voms-proxy-init= in =globus-proxy-utils= is old and does not know to look in X509_VOMSES <verbatim> mkdir ~/.glite ln -s /cvmfs/grid.cern.ch/emi-ui-3.7.3-1_sl6v2/etc/vomses ~/.glite/vomses </verbatim> * alternatively could simply run /cvmfs/grid.cern.ch/emi-ui-3.7.3-1_sl6v2/usr/bin/voms-proxy-init * as root, added a symlink, see http://askubuntu.com/questions/342484/etc-pki-tls-certs-ca-bundle-crt-not-found <verbatim> mkdir -p /etc/pki/tls/certs/ cd /etc/pki/tls/certs/ ln -s /etc/ssl/certs/ca-certificates.crt ./ca-bundle.crt </verbatim> * now =gsissh=. See http://askubuntu.com/questions/249881/how-do-i-install-globus-toolkit-5-2 and http://www.astro.gla.ac.uk/~matthew/blog/?p=476 <verbatim> 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 </verbatim> ---+++ CRAB part * installed locally CRAB_2_10_7_pre1 from tarball so that can edit * finally to setup the crab environment <verbatim> 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 </verbatim> * 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 -- Main.StefanoBelforte - 01 Aug 2014
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r5
<
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r2 - 2014-08-01
-
StefanoBelforte
Home
Plugins
Sandbox for tests
Support
Alice
Atlas
CMS
LHCb
Public Webs
Sandbox Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
P
View
Raw View
PDF version
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Cern Search
TWiki Search
Google Search
Sandbox
All webs
Edit
Attach
Copyright &© 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