Re: libPythia.so loading problem

From: Tioukov Valeri (valeri@d500na1.na.infn.it)
Date: Tue Feb 23 1999 - 12:49:34 MET


Dear Nick,

Following to Pasha adwice it seems that I suceeded to solve this 
particular case.

I fond the unresolved modules in the library /usr/lib/libgcc.a
So to compile pythia and jetset I used the modified  makefile from 
hpbrun.../pythia/makelib_linux :

--------------------------------------------------------
# /bin/sh
g77 -c jetset74.f
g77 -c pythia5707.f
echo 'void MAIN__() {}' >main.c
gcc -c main.c
mkdir obj77 
cd obj77 
ar x /usr/lib/libf2c.a 
ar x /usr/lib/libgcc.a                <---------------------- added by VT
cd .. 
g++ -shared -Wl,-soname,libPythia.so -o libPythia.so  *.o obj77/*.o
/bin/rm -f -r obj77
---------------------------------------------------------


Now Pythia was loaded normally but later faled with seria of warnings:


root [0] .x umain.C(1,100)
1                                                                              
 ******************************************************************************
 ******************************************************************************
 **                                                                          **
 **                                                                          ** 
 **  PPP  Y   Y TTTTT H   H III   A        JJJJ EEEE TTTTT  SSS  EEEE TTTTT  **
 **  P  P  Y Y    T   H   H  I   A A          J E      T   S     E      T    **
 **  PPP    Y     T   HHHHH  I  AAAAA         J EEE    T    SSS  EEE    T    **
 **  P      Y     T   H   H  I  A   A      J  J E      T       S E      T    **
 **  P      Y     T   H   H III A   A       JJ  EEEE   T    SSS  EEEE   T    **
 **                                                                          **

............scipped by VT...........

 ******************************************************************************

 Warning: JETSET subversion too old for PYTHIA

1****************** PYINIT: initialization of PYTHIA routines *****************

 ==============================================================================
 I                                                                            I
 I              PYTHIA will be initialized for a p on p collider              I
 I                  at  14000.000 GeV center-of-mass energy                   I
 I                                                                            I
 ==============================================================================
 Warning: requested subprocess 103 has vanishing cross-section.
 Process switched off!

 ******** PYMAXI: summary of differential cross-section maximum search ********


................. scipped by VT ..............


  495  gamma         1     22  491    0.162   -0.011  -31.068   31.068    0.000
 ==============================================================================
                   sum:  2.00          0.00     0.00     0.00 14000.00 14000.00
In loop:20

     Error type 4 has occured after    38 LUEXEC calls:
     (LUSHOW:) caught in infinite loop
In loop:40
In loop:60
Warning in <ATLFTriggerMaker::ATLFTriggerMaker>: Function TRIGMUO for 
Muon Trigger Efficiency missing
Warning in <ATLFTriggerMaker::ATLFTriggerMaker>: instead used 100 
percent  efficiency
In loop:80
NULL
root [1]

In any case the file atlfast.root seems to be produced.

I'm not an expert in Pythia and I need Atlfast now only as the working 
example of big project used Root. So if anybody explane me the reason of 
the above messages it could be great.

Regards
Valeri Tioukov


On Tue, 23 Feb 1999, Nick van Eijndhoven wrote:

> valeri@na.infn.it wrote:
> > 
> > Hello rooters,
> > 
> > I have problem on loading libPythia.so library into root (below).
> > Pythia, atlfast and root were compiled without fatal problems on
> > Linux Slacware gcc version 2.7.2.
> > 
> > All /tutorials are ok, all /tests compiled and passed normally.
> > 
> > Anybody has the similar problem?
> > 
> > Regards
> > Valeri
> > 
> >   *******************************************
> >   *                                         *
> >   *        W E L C O M E  to  R O O T       *
> >   *                                         *
> >   *   Version   2.20/06  17 December 1998   *
> >   *                                         *
> >   *  You are welcome to visit our Web site  *
> >   *          http://root.cern.ch            *
> >   *                                         *
> >   *******************************************
> > 
> > CINT/ROOT C/C++ Interpreter version 5.13.83, Dec 2 1998
> > Type ? for help. Commands must be C++ statements.
> > Enclose multiple statements between { }.
> > root [0] .x umain.C(1,100)
> > /home/tyukov/R/root/bin/root.exe: can't resolve symbol '__moddi3'
> > /home/tyukov/R/root/bin/root.exe: can't resolve symbol '__divdi3'
> > dlopen error: Unable to resolve symbol
> > Load Error: Dynamic link library /home/tyukov/R/root/pythia/libPythia.so can not load
> > *** Interpreter error recovered ***
> > (Int_t)0
> 
> Hi Valeri,
> I have similar problems running Root 2.20/06 under windows95.
> Valery Fine told me to use root4for.exe instead of root.exe
> (to get the fortran stuff), but even doing that gave me the same
> problem.
> So far I haven't been able to solve the problem.
> In case one should explicitly load some fortran libs, could
> anyone please just provide the list of names of the libs which
> are needed and also where to find them. 
> -- 
> 
>                                               Cheers,
>                                                Nick.
> 
> *----------------------------------------------------------------------*
>  Dr. Nick van Eijndhoven                Department of Subatomic Physics
>  email : nick@phys.uu.nl                Utrecht University / NIKHEF
>  tel. +31-30-2532331 (direct)           P.O. Box 80.000
>  tel. +31-30-2531492 (secr.)            NL-3508 TA Utrecht
>  fax. +31-30-2518689                    The Netherlands
>  WWW : http://www.phys.uu.nl/~nick      Office : Ornstein lab. 172
>  ----------------------------------------------------------------------
>  tel. +41-22-7679751 (direct)           CERN PPE Division / ALICE exp.
>  tel. +41-22-7675857 (secr.)            CH-1211 Geneva 23
>  fax. +41-22-7679480                    Switzerland
>  CERN beep : 13+7294                    Office : B 160 1-012
> *----------------------------------------------------------------------*
> 



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:29 MET