There is a problem in the standard distribution of pythia8135. The
installation is problematic on 64 bits platforms, in particular macosx64.
If you install on these platforms, you have to modify the config.mk file
as follow and configure with
./configure --enable-shared
Rene Brun
SHELL = /bin/sh
ARCH = Darwin-gcc4
SHAREDLIBS = yes
FC = gfortran
CC = gcc
FFLAGS = -O2
CFLAGS = -O2 -fPIC
CXXFLAGS = -O2 -ansi -pedantic -W -Wall -Wshadow -fPIC -m64
CXXFLAGSNO = -O2 -ansi -pedantic -W -Wall
FLIBS = -lgfortran
LDFLAGSSHARED = -O2 -fPIC -m64 -ansi -pedantic -W -Wall -Wshadow
-dynamiclib -single_module -flat_namespace -undefined suppress
LDFLAGLIBNAME = -Wl,-dylib_install_name
SHAREDSUFFIX = so
Joern Wuestenfeld wrote:
> Hello Pawan,
>
> the problem you describe, I have seen on various occasions when
> compiling programs on a x86_4 system.
> You will have to recompile your PYTHIA8 adding the option -fPIC to the
> flags.
>
> As an example I give you a standard configure call:
>
> ./configure CFLAGS=-fPIC CXXFLAGS=-fPIC C77FLAGS=-fPIC
>
> Check what "configure --help" tells you about possible flags that you
> can add.
>
> Regards,
>
> Joern
>
Received on Sun Jun 20 2010 - 12:23:10 CEST
This archive was generated by hypermail 2.2.0 : Mon Jun 21 2010 - 11:50:01 CEST