Re: perl scripts for run info

From: Konstantin Olchanski (olchansk@ux1.phy.bnl.gov)
Date: Thu May 25 2000 - 12:05:27 EDT

  • Next message: Flemming Videbaek: "Updating Brat code in CVS"

    On Thu, May 25, 2000 at 04:49:34PM +0200, Ian Bearden wrote:
    > 
    > Hello Konstantin, others,
    > I have tried to run "runfiles.perl" and got the following results:
    >
    
    
    My announcement failed to mention that the scripts only work on pii3. The
    other pii's are missing the MySQL-perl interface. Betty is working
    on fixing this.
    
    Also, the Files database does not contain data about most recent data files,
    because I need to update the database filling scripts.
    
    
    K.O.
    
    
    
    > 
    > 
    > disgruntled@pii4<88>:~daq/scripts/runfiles.perl -l -a
    > Can't locate DBI.pm in @INC (@INC contains:
    > /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
    > /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005
    > .) at /home/daq/scripts/runfiles.perl line 17.
    > BEGIN failed--compilation aborted at /home/daq/scripts/runfiles.perl line
    > 17.
    > 
    > I get the same message fro runlog.perl.
    > Is this because the /usr/lib/perl5/... is not in my LD_LIBRARY_PATH?
    > I'll play around abit and see if I can figure anything out.
    > Cheers,
    > 
    > Ian--------------------------------------------------------------------
    > | I.G. Bearden                                                         |
    > | Niels Bohr Institute Tb 3    email:      bearden@nbi.dk              |
    > | Blegdamsvej 17               phone:      (+45) 35 32 53 23           |
    > | København Ø                    FAX:      (+45) 31 42 10 16           |
    > | Danmark                                                              |
    >  ----------------------------------------------------------------------
    > 
    > On Thu, 25 May 2000, Konstantin Olchanski wrote:
    > 
    > > 
    > > Folks, I have written two perl scripts to query the run database:
    > > 
    > > 1) runlog.perl   --- prints information about all known runs
    > > 2) runfiles.perl --- prints information about HPSS files. The usage
    > >                      is "runfile.perl runno1 runno2 ..." to print
    > >                      the list of files from given runs and
    > >                      "runfile.perl -l runno1 runno2 ..." to print
    > >                      additional info about each file and
    > >                      "runfile.perl -l -a" to print info about all files.
    > > 
    > > The scripts live on pii3 in /home/daq/scripts.
    > > 
    > > -- 
    > > Konstantin Olchanski
    > > Physics Department, Brookhaven National Laboratory, Long Island, New York
    > > olchansk@bnl.gov
    > > 
    > 
    > 
    
    -- 
    Konstantin Olchanski
    Physics Department, Brookhaven National Laboratory, Long Island, New York
    olchansk@bnl.gov
    



    This archive was generated by hypermail 2b29 : Thu May 25 2000 - 12:09:44 EDT