<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://t2bwiki.iihe.ac.be/index.php?action=history&amp;feed=atom&amp;title=CRAB3testingwithWMAgent</id>
	<title>CRAB3testingwithWMAgent - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://t2bwiki.iihe.ac.be/index.php?action=history&amp;feed=atom&amp;title=CRAB3testingwithWMAgent"/>
	<link rel="alternate" type="text/html" href="https://t2bwiki.iihe.ac.be/index.php?title=CRAB3testingwithWMAgent&amp;action=history"/>
	<updated>2026-04-20T15:29:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://t2bwiki.iihe.ac.be/index.php?title=CRAB3testingwithWMAgent&amp;diff=65&amp;oldid=prev</id>
		<title>Maintenance script: Created page with &quot; == CRAB3 testing with WMAgent ==   === Bookmarks ===  *https://twiki.cern.ch/twiki/bin/viewauth/CMS/T1OperationsWithWMAgent *https://twiki.cern.ch/twiki/bin/viewauth/CMS...&quot;</title>
		<link rel="alternate" type="text/html" href="https://t2bwiki.iihe.ac.be/index.php?title=CRAB3testingwithWMAgent&amp;diff=65&amp;oldid=prev"/>
		<updated>2015-08-26T12:28:23Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; == CRAB3 testing with WMAgent ==   === Bookmarks ===  *https://twiki.cern.ch/twiki/bin/viewauth/CMS/T1OperationsWithWMAgent *https://twiki.cern.ch/twiki/bin/viewauth/CMS...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
== CRAB3 testing with WMAgent ==&lt;br /&gt;
 &lt;br /&gt;
=== Bookmarks ===&lt;br /&gt;
&lt;br /&gt;
*https://twiki.cern.ch/twiki/bin/viewauth/CMS/T1OperationsWithWMAgent&lt;br /&gt;
*https://twiki.cern.ch/twiki/bin/viewauth/CMS/WMAgentDeployment&lt;br /&gt;
*https://svnweb.cern.ch/trac/CMSDMWM/wiki/WMDeployment&lt;br /&gt;
&lt;br /&gt;
=== Recipe for submitting jobs with CRAB3 client ===&lt;br /&gt;
&lt;br /&gt;
*Login to lxplus, since the crabserver port is not open on the CERN firewall&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ssh -X jmmaes@lxplus.cern.ch&lt;br /&gt;
&lt;br /&gt;
cd public/CRAB3client/CMSSW_4_1_5/src/&lt;br /&gt;
source /afs/cern.ch/cms/sw/cmsset_default.sh&lt;br /&gt;
source /afs/cern.ch/cms/LCG/LCG-2/UI/cms_ui_env.sh&lt;br /&gt;
cmsenv &lt;br /&gt;
. /afs/cern.ch/user/g/grandi/public/CRAB3/client/CRABClient/crab.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Snippet from Claudio&amp;#039;s email&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
- start from a CMSSW project working with CRAB2 *at CERN* (the crabserver port on vocms104 is not open on the CERN firewall)&lt;br /&gt;
- define the CRAB environment with:&lt;br /&gt;
  . /afs/cern.ch/user/g/grandi/public/CRAB3/client/CRABClient/crab.sh&lt;br /&gt;
- create a crab configuration file named crabConfig.py using as example the one that you can find in /afs/cern.ch/user/g/grandi/public/CRAB3/client/tests/crabConfig.py. Change the parameters you need in order to run your workflow but do not change the crabserver URL: &lt;br /&gt;
  config.General.server_url    = &amp;#039;vocms104.cern.ch:8880&amp;#039;&lt;br /&gt;
- submit the task with &lt;br /&gt;
  crab submit&lt;br /&gt;
- monitor the task using the wmagent page:&lt;br /&gt;
  http://vocms104.cern.ch:8687/reqmgr/RequestOverview/&lt;br /&gt;
  If you are outside CERN you need to create an ssh tunnel to access all the monitoring pages:&lt;br /&gt;
  ssh -L48687:vocms104.cern.ch:8687 -L49996:vocms104.cern.ch:9996 -L49997:vocms104.cern.ch:9997 lxplus.cern.ch&lt;br /&gt;
  and change the urls accordingly (or better: use something like FoxyProxy).&lt;br /&gt;
- crab status -t &amp;lt;taskname&amp;gt; reports the status through the client&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Installation of a CRAB3 client at the IIHE ===&lt;br /&gt;
&lt;br /&gt;
 - At CERN the version of voms is not compatible with our SE.&lt;br /&gt;
 - I&amp;#039;ll try to install a client at the IIHE&lt;br /&gt;
 - Instructions are here https://twiki.cern.ch/twiki/bin/view/CMS/WMAgentRunAnalysis#How_to_deploy_the_Client&lt;br /&gt;
 - Recipe:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd CRAB3Client/&lt;br /&gt;
cd /user/jmmaes/CMSSW_test/CMSSW_4_1_5/src&lt;br /&gt;
cmsenv&lt;br /&gt;
cd -&lt;br /&gt;
wget https://twiki.cern.ch/twiki/pub/CMS/WMAgentRunAnalysis/LightDeployCrabClient.sh&lt;br /&gt;
chmod u+x LightDeployCrabClient.sh&lt;br /&gt;
./LightDeployCrabClient.sh 3.0.4a 0.8.11a jmmaes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 - REMARK: needed subversion ~1.6.x&lt;br /&gt;
 - Once the crab executable is available, set the crab software&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export TopDir=/user/jmmaes/CRAB3Client/CRABClient&lt;br /&gt;
. /user/jmmaes/CRAB3Client/CRABClient/crab.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Testing ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /user/jmmaes/CMSSW_test/CMSSW_4_1_5/src&lt;br /&gt;
cmsenv&lt;br /&gt;
export TopDir=/user/jmmaes/CRAB3Client/CRABClient&lt;br /&gt;
. /user/jmmaes/CRAB3Client/CRABClient/crab.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Current instructions to install a CRAB3 server ===&lt;br /&gt;
&lt;br /&gt;
*Go to following page https://twiki.cern.ch/twiki/bin/viewauth/CMS/DFSIntegrationCRAB3ServerCurrentDetails303&lt;br /&gt;
&lt;br /&gt;
=== Obsolete instructions ===&lt;br /&gt;
&lt;br /&gt;
*[[ObsoleteInstructions3| Instructions with AGENT_VERSION=&amp;quot;0.7.12&amp;quot; SERVER_VERSION=&amp;quot;3.0.1a&amp;quot;]]&lt;br /&gt;
*[[ObsoleteInstructions2| Instructions with AGENT_VERSION=&amp;quot;0.7.8a&amp;quot; SERVER_VERSION=&amp;quot;3.0.1&amp;quot;]]&lt;br /&gt;
*[[ObsoleteInstructions1| Instructions with AGENT_VERSION=&amp;quot;0.7.9a&amp;quot; SERVER_VERSION=&amp;quot;3.0.0&amp;quot;]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TracNotice|{{PAGENAME}}}}&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>