Re: brag and cernlib and documentation

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Sat Jul 28 2001 - 08:35:32 EDT

  • Next message: Christian Holm Christensen: "Re: BR_SI_CHAN_MAX"

    Hi all, 
    
    On Sat, 28 Jul 2001 07:24:01 -0400
    "Flemming Videbaek" <videbaek@sgs1.hirg.bnl.gov> wrote
    concerning ": Re: brag and cernlib and documentation":
    > Hiro,
    > 
    > The first question,
    > I do not know the answer - which cern library on what machine ?
    > > 
    > > 
    > > /cern/2001/lib/libpawlib.a(mlp_gen.o): In function `MLP_ResLin':
    > > mlp_gen.o(.text+0x3c10): undefined reference to `dgels_'
    > > collect2: ld returned 1 exit status
    > > 
    > > 
    > > However, with 2000 version of cernlib, it works.  Why???
    
    Well, as documented somewhere on the CERNLIB WWW pages, the was a
    change of library layout from the 2000 version to the (final) 2001
    version.  Instead of compiling in the LAPACK and BLAS libraries into
    the libmathlib.a these libraries have  been seperated out in
    individual libraries, and so you need to link explicitly with these
    libraries:
    
      -llapack -lblas  
    
    (or is it the other way around? I can't remember) 
    
    > > Also, the documentation of brag about cernlib option is wrong. 
    > > In the documentation, it stated as
    > > "--with-cern-libraries=/cernlib dirctory", but
    > > it should be "--with-cern-libdir=/cernlib directory".  This should be
    > > corrected in the web as well as README.
    > 
    > Why don't you fix it and check it into CVS
    
    My word exactly. 
    
    Yours, 
    
    Christian  -----------------------------------------------------------
    Holm Christensen                             Phone:  (+45) 35 35 96 91 
      Sankt Hansgade 23, 1. th.                  Office: (+45) 353  25 305 
      DK-2200 Copenhagen N                       Web:    www.nbi.dk/~cholm    
      Denmark                                    Email:       cholm@nbi.dk
    



    This archive was generated by hypermail 2b30 : Sat Jul 28 2001 - 08:36:20 EDT