<?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=CrabLocalPbsSubmission</id>
	<title>CrabLocalPbsSubmission - 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=CrabLocalPbsSubmission"/>
	<link rel="alternate" type="text/html" href="https://t2bwiki.iihe.ac.be/index.php?title=CrabLocalPbsSubmission&amp;action=history"/>
	<updated>2026-04-20T10:04:18Z</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=CrabLocalPbsSubmission&amp;diff=68&amp;oldid=prev</id>
		<title>Maintenance script: Created page with &quot; === What you will learn on this page === As of CRAB_2_7_4_pre2, we found a way to adapt CRAB for local PBS submission in our Tier2. This adaptation mainly involves bringing ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://t2bwiki.iihe.ac.be/index.php?title=CrabLocalPbsSubmission&amp;diff=68&amp;oldid=prev"/>
		<updated>2015-08-26T12:28:24Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; === What you will learn on this page === As of CRAB_2_7_4_pre2, we found a way to adapt CRAB for local PBS submission in our Tier2. This adaptation mainly involves bringing ...&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;
=== What you will learn on this page ===&lt;br /&gt;
As of CRAB_2_7_4_pre2, we found a way to adapt CRAB for local PBS submission in our Tier2. This adaptation mainly involves bringing a few changes in the code of CRAB. We will describe here the full procedure to adapt CRAB for local PBS submission to our Tier2.&lt;br /&gt;
&lt;br /&gt;
=== Pre-requisites ===&lt;br /&gt;
The i386 version of libtorque (libtorque.so.2.0.0) must be present in /usr/lib/, as well as a symbolic link libtorque.so.2 pointing to it. As this library is not installed on SL5 UIs, you have to copy it from an SL4 UI and create the symbolic link manually.&lt;br /&gt;
&lt;br /&gt;
=== Adding the Python PBS module to CRAB ===&lt;br /&gt;
The method to compile and to add the pbs_python module to CRAB is described [https://twiki.cern.ch/twiki/bin/viewauth/CMS/SWGuideCrabPbs here].&lt;br /&gt;
&lt;br /&gt;
If you are in a hurry, you will find below in the attachments a ready-to-use compiled release of pbs_python version 3.2.0. Just untar it and copy the files in :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$CRABDIR/external/pbs_python/3.2.0/lib/python2.4/site-packages/pbs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Changing a few things in the CRAB code ===&lt;br /&gt;
There are three files to change :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/user/cmssoft/crab/CRAB_X_Y_Z_IIHE/external/ProdCommon/BossLite/Scheduler/SchedulerPbs.py&lt;br /&gt;
/user/cmssoft/crab/CRAB_X_Y_Z_IIHE/python/SchedulerLocal.py&lt;br /&gt;
/user/cmssoft/crab/CRAB_X_Y_Z_IIHE/python/cmscp.py&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you want to see what is to change in the code, you can consider CRAB_2_7_4_IIHE as a reference. In the attachment, you will find the three diff files made between CRAB_2_7_4 and CRAB_2_7_4_IIHE for the three files above.&lt;br /&gt;
=== Useful links ===&lt;br /&gt;
Official information about CRAB and local PBS submission can be found here :&lt;br /&gt;
https://twiki.cern.ch/twiki/bin/viewauth/CMS/SWGuideCrabPBS&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>