 <?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.lhep.unibe.ch/index.php?action=history&amp;feed=atom&amp;title=TUESDAY</id>
	<title>TUESDAY - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.lhep.unibe.ch/index.php?action=history&amp;feed=atom&amp;title=TUESDAY"/>
	<link rel="alternate" type="text/html" href="https://wiki.lhep.unibe.ch/index.php?title=TUESDAY&amp;action=history"/>
	<updated>2026-05-14T09:22:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.lhep.unibe.ch/index.php?title=TUESDAY&amp;diff=493&amp;oldid=prev</id>
		<title>Lhep: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.lhep.unibe.ch/index.php?title=TUESDAY&amp;diff=493&amp;oldid=prev"/>
		<updated>2015-03-18T07:49:29Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:49, 18 March 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Lhep</name></author>
	</entry>
	<entry>
		<id>https://wiki.lhep.unibe.ch/index.php?title=TUESDAY&amp;diff=492&amp;oldid=prev</id>
		<title>Lhep at 14:39, 10 June 2009</title>
		<link rel="alternate" type="text/html" href="https://wiki.lhep.unibe.ch/index.php?title=TUESDAY&amp;diff=492&amp;oldid=prev"/>
		<updated>2009-06-10T14:39:23Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;TUESDAY&amp;#039;S OBJECTIVES&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Run your Athena job on the grid (this will take your whole day). &lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; ATHENA ON THE GRID&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Write a batch script which runs your Athena job on the local machine.&lt;br /&gt;
* Write the corresponding xrsl file. Submit it to the grid (like described for Monday).&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; Example which compiles on remote cluster :&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[shaug@lheppc44] &amp;gt; cat test.sh &lt;br /&gt;
 #/bin/bash&lt;br /&gt;
 # /terabig/shaug/atlas&lt;br /&gt;
 # tar cvf myAnalysis.tar 14.1.0.2/&lt;br /&gt;
 pwd&lt;br /&gt;
&lt;br /&gt;
 ls -l &lt;br /&gt;
 env&lt;br /&gt;
 export CMTPATH=$HOME:$CMTPATH&lt;br /&gt;
 cd 14.1.0.2/PhysicsAnalysis/AnalysisCommon/UserAnalysisUtils/cmt&lt;br /&gt;
 source setup.sh&lt;br /&gt;
 cmt config&lt;br /&gt;
 gmake&lt;br /&gt;
 cd&lt;br /&gt;
 cd 14.1.0.2/PhysicsAnalysis/AnalysisCommon/UserAnalysis/cmt&lt;br /&gt;
 cmt config&lt;br /&gt;
 source setup.sh&lt;br /&gt;
 gmake&lt;br /&gt;
 cd ../run&lt;br /&gt;
 athena.py AnalysisSkeleton_topOptions_lowpt.py&lt;br /&gt;
&lt;br /&gt;
[shaug@lheppc44] &amp;gt; cat athena.xrsl &lt;br /&gt;
&lt;br /&gt;
 &amp;amp;(executable=test.sh)&lt;br /&gt;
 (inputFiles=(&amp;quot;myAnalysis.tar&amp;quot; &amp;quot;myAnalysis.tar&amp;quot;))&lt;br /&gt;
 (outputfiles=(&amp;quot;/&amp;quot; &amp;quot;&amp;quot;))&lt;br /&gt;
 (stdout=test.log)&lt;br /&gt;
 (stderr=test.err)&lt;br /&gt;
 (jobname=sigves-athena)&lt;br /&gt;
 (runTimeEnvironment=APPS/HEP/ATLAS-14.1.0.2)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; Example without compiling remotely :&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
In order to send the compiled job to the grid we have to include the following directory in the gridfiles.tar file &lt;br /&gt;
&lt;br /&gt;
 InstallArea/python&lt;br /&gt;
&lt;br /&gt;
as well as the libraries (inside InstallArea/i686-slc4-gcc34-opt/lib/*.so)&lt;br /&gt;
&lt;br /&gt;
 libUserAnalysis.so, &lt;br /&gt;
 libAnalysisUtilsLib.so, &lt;br /&gt;
 libUserAnalysisUtils.so&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting tar file will then contain all the custom .so files and the python directory.&lt;br /&gt;
&lt;br /&gt;
In order to make the system use the custom libraries, one needs to set LD_LIBRARY_PATH (for libraries) and PYTHONPATH (for python bindings):&lt;br /&gt;
&lt;br /&gt;
(just after the tar -xvzf command)&lt;br /&gt;
&lt;br /&gt;
 cd gridfiles&lt;br /&gt;
 a=$(pwd)&lt;br /&gt;
 export LD_LIBRARY_PATH=$a:$LD_LIBRARY_PATH&lt;br /&gt;
 export LD_LIBRARY_PATH=$a/python:$LD_LIBRARY_PATH&lt;br /&gt;
 export PYTHONPATH=$a/python:$PYTHONPATH&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
An example bash script which will be executed on the grid: &lt;br /&gt;
&lt;br /&gt;
 #/bin/bash&lt;br /&gt;
 tar -xvf gridfiles.tar&lt;br /&gt;
 cd gridfiles&lt;br /&gt;
 a=$(pwd)&lt;br /&gt;
 export LD_LIBRARY_PATH=$a:$LD_LIBRARY_PATH&lt;br /&gt;
 export LD_LIBRARY_PATH=$a/python:$LD_LIBRARY_PATH&lt;br /&gt;
 export PYTHONPATH=$a/python:$PYTHONPATH&lt;br /&gt;
 athena.py AnalysisSkeleton_topOptions.py&lt;/div&gt;</summary>
		<author><name>Lhep</name></author>
	</entry>
</feed>