Dear GENIE support,
I followed the procedure reported here
https://hep.ph.liv.ac.uk/~costasa/genie/get_started.html
I installed the Third-party software packages in "support" folder inside
GENIE main folder
I configured the enviromental variables as
#!/bin/bash
echo "Setting GENIE environment variables..."
export GENIEBASE=/path to /GENIE
export GENIE=$GENIEBASE/Generator
export PYTHIA6=$GENIEBASE/support/pythia6/v6_428/lib
export ROOTSYS=$GENIEBASE/support/root
export LOG4CPP_INC=$GENIEBASE/support/log4cpp/include
export LOG4CPP_LIB=$GENIEBASE/support/log4cpp/lib
export LHAPATH=$GENIEBASE/support/lhapdf
export LHAPDF_INC=$GENIEBASE/support/lhapdf/include
export LHAPDF_LIB=$GENIEBASE/support/lhapdf/lib
export XSECSPLINEDIR=$GENIEBASE/data
export LD_LIBRARY_PATH=$LHAPDF_LIB:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/lib/:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$LOG4CPP_LIB:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$PYTHIA6:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$GENIE/lib:$LD_LIBRARY_PATH
export PATH=$GENIE/bin:$ROOTSYS/bin:$PATH
unset GENIEBASE
then I configured the GENIE options and the path as
#!/bin/bash
./configure \
--prefix=/path to /GENIE/Generator/lib \
--enable-debug \
--enable-gsl \
--disable-profiler \
--enable-lhapdf \
--enable-flux-drivers \
--enable-geom-drivers \
--enable-test \
--enable-nueloss \
--with-optimiz-level=O2 \
--with-pythia6-lib=/path to /GENIE/support/pythia6/v6_428/lib \
--with-lhapdf5-inc=/path to /GENIE/support/lhapdf/include \
--with-lhapdf5-lib=/path to/GENIE/support/lhapdf/lib \
--with-libxml2-inc=/usr/include/libxml2 \
--with-libxml2-lib=/usr/lib \
--with-log4cpp-inc=/path to/GENIE/support/log4cpp/include \
--with-log4cpp-lib=/path to/GENIE/support/log4cpp/lib
then when I source configure I got:
The /path to /GENIE/Generator/src/make/Make.config file has been
succesfully generated!
The following config options were set:
GENIE_INSTALLATION_PATH=/path to /GENIE/Generator/lib
GOPT_ENABLE_LHAPDF5=YES
GOPT_ENABLE_LHAPDF6=NO
GOPT_ENABLE_T2K=NO
GOPT_ENABLE_FNAL=NO
GOPT_ENABLE_ATMO=NO
GOPT_ENABLE_NUCLEON_DECAY=NO
GOPT_ENABLE_NNBAR_OSCILLATION=NO
GOPT_ENABLE_BOOSTED_DARK_MATTER=NO
GOPT_ENABLE_FLUX_DRIVERS=YES
GOPT_ENABLE_GEOM_DRIVERS=YES
GOPT_ENABLE_MASTERCLASS=NO
GOPT_ENABLE_TEST=YES
GOPT_ENABLE_PROFILER=NO
GOPT_ENABLE_DOXYGEN_DOC=NO
GOPT_ENABLE_DYLIBVERSION=YES
GOPT_ENABLE_LOW_LEVEL_MESG=NO
GOPT_WITH_COMPILER=gcc
GOPT_WITH_CXX_DEBUG_FLAG=-g
GOPT_WITH_CXX_OPTIMIZ_FLAG=-O2
GOPT_WITH_PROFILER_LIB=
GOPT_WITH_DOXYGEN_PATH=
GOPT_WITH_PYTHIA6_LIB=/path to/GENIE/support/pythia6/v6_428/lib
GOPT_WITH_LHAPDF5_LIB=/path to/GENIE/support/lhapdf/lib
GOPT_WITH_LHAPDF5_INC=/path to/GENIE/support/lhapdf/include
GOPT_WITH_LHAPDF6_LIB=
GOPT_WITH_LHAPDF6_INC=
GOPT_WITH_LIBXML2_INC=/usr/include/libxml2
GOPT_WITH_LIBXML2_LIB=/usr/lib
GOPT_WITH_LOG4CPP_INC=/path to/GENIE/support/log4cpp/include
GOPT_WITH_LOG4CPP_LIB=/path to /GENIE/support/log4cpp/lib
*** To continue building GENIE type: make
but when I do make I got:
Entering directory
`/afs/cern.ch/user/l/ldinoto/GENIE/Generator/src/Framework/Numerical'
g++ -c -W -Wall -fPIC -Wshadow -pthread -m64
-I/afs/cern.ch/user/l/ldinoto/GENIE/support/root/include -g -O2
-Wno-strict-aliasing -ffriend-injection -I/usr/include/libxml2
-I/afs/cern.ch/user/l/ldinoto/GENIE/support/log4cpp/include
-I/afs/cern.ch/user/l/ldinoto/GENIE/support/root/include
-I/afs/cern.ch/user/l/ldinoto/GENIE/support/lhapdf/include
-I/usr/include -I/afs/cern.ch/user/l/ldinoto/GENIE/Generator/src/
RandomGen.cxx
RandomGen.cxx:22:22: error: TPythia6.h: No such file or directory
RandomGen.cxx: In member function ‘void genie::RandomGen::SetSeed(long
int)’:
RandomGen.cxx:116: error: ‘TPythia6’ was not declared in this scope
RandomGen.cxx:116: error: ‘pythia6’ was not declared in this scope
RandomGen.cxx:116: error: ‘TPythia6’ is not a class or namespace
make[1]: *** [RandomGen.o] Error 1
make[1]: Leaving directory
`/afs/cern.ch/user/l/ldinoto/GENIE/Generator/src/Framework/Numerical'
make: *** [framework] Error 2
Of course Phythia6 is installed without any errors...
Can you help me, please?
Thanks,
Best,
Lea
--
Lea Di Noto
Istituto Nazionale di Fisica Nucleare Sez.Genova
Via Dodecaneso, 33
16145 Genova
Tel. 0103536652
########################################################################
To unsubscribe from the NEUTRINO-MC-SUPPORT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=NEUTRINO-MC-SUPPORT&A=1
|