Re: Pythia8 with ROOT V5.27.02

From: Pawan Kumar Netrakanti <pawan_at_rcf.rhic.bnl.gov>
Date: Mon, 21 Jun 2010 01:05:16 -0400


Dear All

Thanks for your help.
I configured the pythia8 with --enable-shared and then included in ROOT compilation. This way everything works fine.

Thanks
with best regards
Pawan

> 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
>>
>



Pawan Kumar Netrakanti
Room# 247
Physics Department, Purdue University
1396 Physics Building
West Lafayette,
IN - 47907-1396
Ph: 765-494-5538
Received on Mon Jun 21 2010 - 07:05:33 CEST

This archive was generated by hypermail 2.2.0 : Tue Jun 22 2010 - 05:50:01 CEST