Error: main92 (PYTHIA8226) requires ROOT

Hi, All

I’m trying to run the main92 in pythia8226 (standalone):

make main92

and the main92.exe isn’t created, but only the file main92.so.

but I get the following error:

Error: main92 requires ROOT

Anybody know how to fix this?
Thanks in advanced,

Cheers,
Andre

Hi, as the error says, you need to have ROOT installed and Pythia’s build system needs to be able to find it, or you will not be able to compile that example. Please make sure that ROOTSYS is set to the correct path and run source $ROOTSYS/bin/thisroot.sh prior to building Pythia. If you still get an error, please report it to the Pythia developers. Cheers,

Hi, @amadio

Thanks for the reply. I have ROOT installed and Pythia’s build system and is working well (I think so), because I can to run the example pythia8.C: using the command root -l pythia8.C

I check the source $ROOTSYS/bin/thisroot.sh

In my bashrc :

#new version root 6:
source /opt/root6/bin/thisroot.sh
#Pythia Env. Variables
export PYTHIA8=/home/andre/Documents/pythia_root/pythia8
export PYTHIA8DATA=$PYTHIA8/xmldoc
#end of My variables

I will report it for the pythia developers pythia8@projects.hepforge.org
Thanks for the help!

Cheers,
Andre

Hi,

Now I understand(Thanks to Philip Ilten) what is wrong, In the configure of the pythia is missing to put :

--with-root=/path_to_installed_root

--------------------------------------------------
|     PYTHIA Configuration Summary  
--------------------------------------------------
Configured for LINUX with the following options:
--enable-shared

The following optional external packages will be used:
* HEPMC2
* ROOT

Cheers,
Andre

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.