Re: pythia6 compilation problem

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Tue, 20 Dec 2005 16:26:42 +0100 (MET)


Hi Dmitry,

See : http://root.cern.ch/root/Install.html and read the section "Pythia Event Generators"

Rene Brun

On Tue, 20 Dec 2005, Dmitry
Naumov wrote:

> Dear root developers,
>
> I installed root v5-08 recently and now have a problem with pythia6. The
> problem is that
> libEGPythia6.so does not an interface to
> tpythia6_close_fortran_file
> tpythia6_open_fortran_file
> routines which are present as fortran routines in original pythia6 generator.
> As far I understood
> looking the C++ code (TPythia6) now it is interfaced following -single,
> -double or -no underscose
> which the compiler assignes to fortran routines names. This in its turn the
> root understands from the
> configure script where I found:
> check_symbol pythia6_common_block_address__ --> adds option
> DPYTHIA6_DOUBLE_UNDERSCORE
> heck_symbol pythia6_common_block_address_ --> adds option
> DPYTHIA6_SINGLE_UNDERSCORE
> check_symbol pythia6_common_address --> adds option
> -DPYTHIA6_NO_UNDERSCORE
>
> The problem is that my gcc compiler gives:
> pythia6_common_address to common block
> AND
> tpythia6_close_fortran_file_ for routines. Thus the interface is not
> working because it can do only both common_block
> and routines with -single, -double, or -no underscore and not the mixture.
>
> ++++++++++++
> gcc -v
> Using built-in specs.
> Target: i486-linux-gnu
> Configured with: ../src/configure -v
> --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr
> --enable-shared --with-system-zlib --libexecdir=/usr/lib
> --without-included-gettext --enable-threads=posix --enable-nls
> --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu
> --enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo
> --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr
> --disable-werror --enable-checking=release i486-linux-gnu
> Thread model: posix
> gcc version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5
> ++++++++++++
>
> Thank you, Dmitry
>
Received on Tue Dec 20 2005 - 16:26:50 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:14 MET