[d2n-analysis-talk] DB/, analyzer, and replay/ updated on d2n and in CVS
Diana Parno
dseymour at andrew.cmu.edu
Thu Mar 25 14:43:21 EDT 2010
Thanks, Dave! Your explanation was both very cogent and very directly
useful: I managed to fix my problem. I hadn't realized that StartType.pl
moves the relevant files into my working directory -- it was those DB
files (which must have been there from a previous analysis) that the perl
script was complaining about not being symlinks. I moved those files out
of my working directory, and the analysis is now running happily. So there
was no problem with the DB files, or with the StartType script -- it just
expected something from my working environment that I hadn't known to
provide.
Much appreciated!
Diana
On Thu, 25 Mar 2010, David Flay wrote:
> On Thu, Mar 25, 2010 at 12:06 PM, Diana Parno <dseymour at andrew.cmu.edu>wrote:
>
>> I am a DB novice, here, and am pretty unclear both on how StartType.pl
>> used to work ("the 'copy everything' approach'") and on how it's supposed
>> to be working now (the "generate symlinks to the necessary DB files"
>> approach), so I'm not sure how this should be fixed. I'd be really
>> grateful for a quick explanation along with the fix!
>>
>> I am curious whether anyone else has tried replaying with the new build --
>> this problem shouldn't be unique to me, or else I'm doing something wrong
>> too...
>>
>
> I've done replays with the new build and everything goes well.
>
> The old StartType.pl used to copy <every> possible DB file via particular
> subroutines for the PR, GC, etc.
>
> 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:
>
> cp $DB_DIR/YYYYMMDD/db_L.prl1.dat.X db_L.prl1.dat
>
> for the correct DB file for that run (X = 13, say, since that run
> corresponds to momentum bin 13).
>
> Now, it makes a symlink (via dolink() ) :
>
> ln -s $DB_DIR/YYYYMMDD/db_L.prl1.dat.X db_L.prl1.dat
>
> this way, we don't have 30+ DB files sitting in the replay directory after a
> replay.
>
> I'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...
>
> I'll take a look at your directory later and see if I can find anything?
>
>
> Hope that clears up how StartType.pl works!
>
> Dave
>
> --
> -----------------------------------------------------------
> David Flay
> Physics Department
> Temple University
> Philadelphia, PA 19122
>
> office: Barton Hall, BA319
> phone: (215) 204-1331
>
> e-mail: flay at jlab.org
> flay at temple.edu
>
> website: http://www.jlab.org/~flay
> http://quarks.temple.edu
> -----------------------------------------------------------
>
More information about the d2n-analysis-talk
mailing list