Re: [ROOT]How to get libEGPythia

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Nov 07 2002 - 17:32:30 MET


Hi,

Which system are you using? The files that we build for most distributions
include Pythia. If you use a different distribution, I give you the
recipee how to build this library.

 -first, have the Fortran source of Pythia in say $PYTHIA directory
  This directory must contain libPythia.so. if you do not have a makefile
  to build this shared lib, do:
    g77 -c jetset74.f
    g77 -c pythia5707.f
    echo 'void MAIN__() {}' >main.c
    gcc -c main.c
    g77 -shared -Wl,-soname,libPythia.so -o libPythia.so  *.o

You can import precompiled versions of Pythia from
   ftp://root.cern.ch/root/pythia/   for pythia5
 or
   ftp://root.cern.ch/root/pythia6/

 - when configuring root, do
  ./configure linux \
    --with-pythia-libdir=$PYTHIA 
    + all other options
This should build libEGPythia.so

Rene Brun


On Wed, 6 Nov 2002, Subhendu Chakrabarti wrote:

> 
> 
> Hi
> I  have root v3_03/02 distribution installed but it could not load
> libEGPythia.so from $ROOTSYS/lib.Where can I find libEGPythia library ?
> Thanks for any help.
> 
> Subhendu Chakrabarti
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:16 MET