<br><br><div class="gmail_quote">On Thu, Mar 25, 2010 at 12:06 PM, Diana Parno &lt;<a href="mailto:dseymour@andrew.cmu.edu">dseymour@andrew.cmu.edu</a>&gt; wrote:<br><blockquote class="gmail_quote">

I am a DB novice, here, and am pretty unclear both on how StartType.pl<br>
used to work (&quot;the &#39;copy everything&#39; approach&#39;&quot;) and on how it&#39;s supposed<br>
to be working now (the &quot;generate symlinks to the necessary DB files&quot;<br>
approach), so I&#39;m not sure how this should be fixed. I&#39;d be really<br>
grateful for a quick explanation along with the fix!<br>
<br>
I am curious whether anyone else has tried replaying with the new build --<br>
this problem shouldn&#39;t be unique to me, or else I&#39;m doing something wrong<br>
too...<font color="#888888"><br></font></blockquote><div><br>I&#39;ve done replays with the new build and everything goes well.  <br><br>The old StartType.pl used to copy &lt;every&gt; possible DB file via particular subroutines for the PR, GC, etc.  <br>
<br>For instance, I have 32 calibration files for the PR (one at each p, for each layer).  It used to copy all of those to the working directory, and also make the change:<br><br>cp $DB_DIR/YYYYMMDD/db_L.prl1.dat.X db_L.prl1.dat <br>
<br>for the correct DB file for that run (X = 13, say, since that run corresponds to momentum bin 13).  <br><br>Now, it makes a symlink (via dolink() ) :<br><br>ln -s $DB_DIR/YYYYMMDD/db_L.prl1.dat.X db_L.prl1.dat <br><br>
this way, we don&#39;t have 30+ DB files sitting in the replay directory after a replay. <br><br>I&#39;m not quite sure how your StartType.pl is different from mine, considering I also updated my directory (both on d2n and my own machine) by hand, and replays on both work just fine...<br>
<br>I&#39;ll take a look at your directory later and see if I can find anything? <br><br><br>Hope that clears up how StartType.pl works! <br>  <br></div></div>Dave<br clear="all"><br>-- <br>-----------------------------------------------------------<br>
David Flay<br>Physics Department<br>Temple University<br>Philadelphia, PA 19122 <br><br>office: Barton Hall, BA319<br>phone: (215) 204-1331<br><br>e-mail: <a href="mailto:flay@jlab.org">flay@jlab.org</a> <br>            <a href="mailto:flay@temple.edu">flay@temple.edu</a><br>
<br>website: <a href="http://www.jlab.org/~flay">http://www.jlab.org/~flay</a><br>              <a href="http://quarks.temple.edu">http://quarks.temple.edu</a><br>-----------------------------------------------------------<br>
<br><br>