<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.iac.isu.edu/index.php?action=history&amp;feed=atom&amp;title=Running_Expanded_LUND_files_in_GEMC</id>
	<title>Running Expanded LUND files in GEMC - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.iac.isu.edu/index.php?action=history&amp;feed=atom&amp;title=Running_Expanded_LUND_files_in_GEMC"/>
	<link rel="alternate" type="text/html" href="https://wiki.iac.isu.edu/index.php?title=Running_Expanded_LUND_files_in_GEMC&amp;action=history"/>
	<updated>2026-05-09T04:56:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://wiki.iac.isu.edu/index.php?title=Running_Expanded_LUND_files_in_GEMC&amp;diff=106396&amp;oldid=prev</id>
		<title>Vanwdani at 16:28, 6 June 2016</title>
		<link rel="alternate" type="text/html" href="https://wiki.iac.isu.edu/index.php?title=Running_Expanded_LUND_files_in_GEMC&amp;diff=106396&amp;oldid=prev"/>
		<updated>2016-06-06T16:28:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:28, 6 June 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Since the LUND file is limited to 75000 lines, the gemc will have to be run in batch mode;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Since the LUND file is limited to 75000 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;particles (225000 &lt;/ins&gt;lines&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;)&lt;/ins&gt;, the gemc will have to be run in batch mode;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Creating a batch directory, with two subdirectories; 1)Phi_Parts, 2)submit.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Creating a batch directory, with two subdirectories; 1)Phi_Parts, 2)submit.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l88&quot; &gt;Line 88:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 88:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;gemc -USE_GUI=0 -Hall_Material=&amp;quot;Vacuum&amp;quot; -INPUT_GEN_FILE=&amp;quot;LUND, Phi_Parts_0000.LUND&amp;quot; -N=75000 eg12.gcard&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;gemc -USE_GUI=0 -Hall_Material=&amp;quot;Vacuum&amp;quot; -INPUT_GEN_FILE=&amp;quot;LUND, Phi_Parts_0000.LUND&amp;quot; -N=75000 eg12.gcard&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;~/src/CLAS/coatjava-1.0/bin/clas12-reconstruction -i eg12.ev -config DCHB::torus=1.0 -config DCHB::solenoid=0.0 -config DCTB::kalman=true -o eg12_rec.ev  -s DCHB:DCTB:EC:FTOF:EB&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;~/src/CLAS/coatjava-1.0/bin/clas12-reconstruction -i eg12.ev -config DCHB::torus=1.0 -config DCHB::solenoid=0.0 -config DCTB::kalman=true -o eg12_rec.ev  -s DCHB:DCTB:EC:FTOF:EB&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;~/src/CLAS/coatjava-1.0/bin/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;rungroovy &lt;/del&gt;Analysis.groovy eg12_rec.0.evio&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;~/src/CLAS/coatjava-1.0/bin/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;run-groovy &lt;/ins&gt;Analysis.groovy eg12_rec.0.evio&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Vanwdani</name></author>
	</entry>
	<entry>
		<id>https://wiki.iac.isu.edu/index.php?title=Running_Expanded_LUND_files_in_GEMC&amp;diff=105347&amp;oldid=prev</id>
		<title>Vanwdani at 15:29, 31 March 2016</title>
		<link rel="alternate" type="text/html" href="https://wiki.iac.isu.edu/index.php?title=Running_Expanded_LUND_files_in_GEMC&amp;diff=105347&amp;oldid=prev"/>
		<updated>2016-03-31T15:29:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:29, 31 March 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l62&quot; &gt;Line 62:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 62:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                                 myfile &amp;lt;&amp;lt; &amp;quot;~/src/CLAS/coatjava-1.0/bin/clas12-reconstruction -i eg12.ev -config DCHB::torus=1.0 &amp;quot;;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                                 myfile &amp;lt;&amp;lt; &amp;quot;~/src/CLAS/coatjava-1.0/bin/clas12-reconstruction -i eg12.ev -config DCHB::torus=1.0 &amp;quot;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                                         myfile &amp;lt;&amp;lt; &amp;quot;-config DCHB::solenoid=0.0 -config DCTB::kalman=true -o eg12_rec.ev  -s DCHB:DCTB:EC:FTOF:EB\n&amp;quot;;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                                         myfile &amp;lt;&amp;lt; &amp;quot;-config DCHB::solenoid=0.0 -config DCTB::kalman=true -o eg12_rec.ev  -s DCHB:DCTB:EC:FTOF:EB\n&amp;quot;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                                 myfile &amp;lt;&amp;lt; &amp;quot;~/src/CLAS/coatjava-1.0/bin/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;rungroovy &lt;/del&gt;Analysis.groovy eg12_rec.0.evio\n&amp;quot;;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                                 myfile &amp;lt;&amp;lt; &amp;quot;~/src/CLAS/coatjava-1.0/bin/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;run-groovy &lt;/ins&gt;Analysis.groovy eg12_rec.0.evio\n&amp;quot;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                                  &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                                  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                                  &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                                  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Vanwdani</name></author>
	</entry>
	<entry>
		<id>https://wiki.iac.isu.edu/index.php?title=Running_Expanded_LUND_files_in_GEMC&amp;diff=105236&amp;oldid=prev</id>
		<title>Vanwdani: Created page with &quot;Since the LUND file is limited to 75000 lines, the gemc will have to be run in batch mode;  Creating a batch directory, with two subdirectories; 1)Phi_Parts, 2)submit.   '''1)'''…&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.iac.isu.edu/index.php?title=Running_Expanded_LUND_files_in_GEMC&amp;diff=105236&amp;oldid=prev"/>
		<updated>2016-03-30T01:15:23Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Since the LUND file is limited to 75000 lines, the gemc will have to be run in batch mode;  Creating a batch directory, with two subdirectories; 1)Phi_Parts, 2)submit.   &amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039;…&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Since the LUND file is limited to 75000 lines, the gemc will have to be run in batch mode;&lt;br /&gt;
&lt;br /&gt;
Creating a batch directory, with two subdirectories; 1)Phi_Parts, 2)submit.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''1)'''Once the LUND file is broken into 178 parts, they can have the LUND extension added by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;prename 's/(Phi_Parts_\d{4})/$1.LUND/' Phi_Parts_*&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Placing each of these files into its own directory, within a directory named Phi_Parts&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;find . -name &amp;quot;*.LUND&amp;quot; -exec sh -c 'mkdir &amp;quot;${1%.*}&amp;quot; ; mv &amp;quot;$1&amp;quot; &amp;quot;${1%.*}&amp;quot; ' _ {} \;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''2)'''Creating the submit directory, and using a c++ program, creating the needed 178&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#include &amp;lt;iomanip&amp;gt;&lt;br /&gt;
#include &amp;lt;sstream&amp;gt;&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
#include &amp;lt;fstream&amp;gt;&lt;br /&gt;
&lt;br /&gt;
using namespace std;&lt;br /&gt;
&lt;br /&gt;
void submit() {&lt;br /&gt;
&lt;br /&gt;
        for(int a=0;a&amp;lt;2;a++)&lt;br /&gt;
        {&lt;br /&gt;
                for(int b=0;b&amp;lt;10;b++)&lt;br /&gt;
                {&lt;br /&gt;
                        for(int c=0;c&amp;lt;10;c++)&lt;br /&gt;
                        {&lt;br /&gt;
                                string filename=&amp;quot;submit0&amp;quot;;&lt;br /&gt;
                                stringstream hundreds;&lt;br /&gt;
                                        hundreds &amp;lt;&amp;lt; a;&lt;br /&gt;
                                stringstream tens;&lt;br /&gt;
                                        tens &amp;lt;&amp;lt; b;&lt;br /&gt;
                                stringstream ones;&lt;br /&gt;
                                        ones &amp;lt;&amp;lt; c;&lt;br /&gt;
                                string fullname=&amp;quot;&amp;quot;;&lt;br /&gt;
                                fullname=filename + hundreds.str() + tens.str() + ones.str();&lt;br /&gt;
                        //              cout &amp;lt;&amp;lt; fullname &amp;lt;&amp;lt; &amp;quot;\n&amp;quot;;&lt;br /&gt;
                        &lt;br /&gt;
                                ofstream myfile;&lt;br /&gt;
                                myfile.open(fullname.c_str());&lt;br /&gt;
                                &lt;br /&gt;
                                &lt;br /&gt;
                                myfile &amp;lt;&amp;lt; &amp;quot;#!/bin/sh\n&amp;quot;;&lt;br /&gt;
                                myfile &amp;lt;&amp;lt; &amp;quot;#PBS -l nodes=1\n&amp;quot;;&lt;br /&gt;
                                myfile &amp;lt;&amp;lt; &amp;quot;#PBS -A FIAC\n&amp;quot;;   &lt;br /&gt;
                                myfile &amp;lt;&amp;lt; &amp;quot;#PBS -M vanwdani@isu.edu\n&amp;quot;;&lt;br /&gt;
                                myfile &amp;lt;&amp;lt; &amp;quot;#PBS -m abe\n&amp;quot;;&lt;br /&gt;
                                myfile &amp;lt;&amp;lt; &amp;quot;#\n&amp;quot;;&lt;br /&gt;
                                myfile &amp;lt;&amp;lt; &amp;quot;cd /home/lds/src/CLAS/GEMC\n&amp;quot;;&lt;br /&gt;
                                myfile &amp;lt;&amp;lt; &amp;quot;tcsh\n&amp;quot;;&lt;br /&gt;
                                myfile &amp;lt;&amp;lt; &amp;quot;source setup\n&amp;quot;;&lt;br /&gt;
                                myfile &amp;lt;&amp;lt; &amp;quot;cd /home/lds/src/GEANT/geant4.9.6/geant4.9.6-install/bin/geant4.sh\n&amp;quot;;&lt;br /&gt;
                                myfile &amp;lt;&amp;lt; &amp;quot;cd /home/vanwdani/src/GEANT4/geant4.9.6/Simulations/Research/Moller/batch/Phi_Parts/Phi_Parts_0&amp;quot;;&lt;br /&gt;
                                        myfile &amp;lt;&amp;lt;a&amp;lt;&amp;lt;b&amp;lt;&amp;lt;c&amp;lt;&amp;lt;&amp;quot;\n&amp;quot;;&lt;br /&gt;
                                myfile &amp;lt;&amp;lt; &amp;quot;gemc -USE_GUI=0 -Hall_Material=\&amp;quot;Vacuum\&amp;quot; -INPUT_GEN_FILE=\&amp;quot;LUND, Phi_Parts_0&amp;quot;;&lt;br /&gt;
                                        myfile &amp;lt;&amp;lt;a&amp;lt;&amp;lt;b&amp;lt;&amp;lt;c;&lt;br /&gt;
                                        myfile &amp;lt;&amp;lt; &amp;quot;.LUND\&amp;quot; -N=75000 eg12.gcard\n&amp;quot;;&lt;br /&gt;
                                myfile &amp;lt;&amp;lt; &amp;quot;~/src/CLAS/coatjava-1.0/bin/clas12-reconstruction -i eg12.ev -config DCHB::torus=1.0 &amp;quot;;&lt;br /&gt;
                                        myfile &amp;lt;&amp;lt; &amp;quot;-config DCHB::solenoid=0.0 -config DCTB::kalman=true -o eg12_rec.ev  -s DCHB:DCTB:EC:FTOF:EB\n&amp;quot;;&lt;br /&gt;
                                myfile &amp;lt;&amp;lt; &amp;quot;~/src/CLAS/coatjava-1.0/bin/rungroovy Analysis.groovy eg12_rec.0.evio\n&amp;quot;;&lt;br /&gt;
                                &lt;br /&gt;
                                &lt;br /&gt;
                                myfile.close();&lt;br /&gt;
                        }&lt;br /&gt;
                }&lt;br /&gt;
        }&lt;br /&gt;
         &lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
This creates the submitXXXX file&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/sh&lt;br /&gt;
#PBS -l nodes=1&lt;br /&gt;
#PBS -A FIAC&lt;br /&gt;
#PBS -M vanwdani@isu.edu&lt;br /&gt;
#PBS -m abe&lt;br /&gt;
#&lt;br /&gt;
cd /home/lds/src/CLAS/GEMC&lt;br /&gt;
tcsh&lt;br /&gt;
source setup&lt;br /&gt;
cd /home/lds/src/GEANT/geant4.9.6/geant4.9.6-install/bin/geant4.sh&lt;br /&gt;
cd /home/vanwdani/src/GEANT4/geant4.9.6/Simulations/Research/Moller/batch/Phi_Parts/Phi_Parts_0000&lt;br /&gt;
gemc -USE_GUI=0 -Hall_Material=&amp;quot;Vacuum&amp;quot; -INPUT_GEN_FILE=&amp;quot;LUND, Phi_Parts_0000.LUND&amp;quot; -N=75000 eg12.gcard&lt;br /&gt;
~/src/CLAS/coatjava-1.0/bin/clas12-reconstruction -i eg12.ev -config DCHB::torus=1.0 -config DCHB::solenoid=0.0 -config DCTB::kalman=true -o eg12_rec.ev  -s DCHB:DCTB:EC:FTOF:EB&lt;br /&gt;
~/src/CLAS/coatjava-1.0/bin/rungroovy Analysis.groovy eg12_rec.0.evio&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Creating a file named lds-submit&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2016-03-15_at_2.36.26_PM.png]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=Links=&lt;br /&gt;
&lt;br /&gt;
[[DV_RunGroupC_Moller#Running_Expanded_LUND_files_in_GEMC|Back]]&lt;/div&gt;</summary>
		<author><name>Vanwdani</name></author>
	</entry>
</feed>