Skip to content

Building GENIE with either INCL or Geant4 using CVMFS

J Tena Vidal edited this page May 6, 2021 · 7 revisions

If you can access CVMFS you should be able to get a full stack (genie w/ incl++, and all its dependencies).

Currently one can only build GENIE with either INCL++ or Geant4 (i.e. G4Bertini) enabled due to potential conflicts. INC++ requires a modified version of the INCL++ code. Possible approach: From a fresh terminal session (i.e. no previous ups setups)

source /cvmfs/fermilab.opensciencegrid.org/products/genie/bootstrap_genie_ups.sh

Set up INCL or GEANT4:

setup genie v3_00_integrate_inclxx -q e17:prof

or

setup genie v3_00_integrate_geant4 -q e17:prof

These will setup all the necessary dependencies

$ ups_depend genie v3_00_integrate_inclxx -q e17:prof
genie v3_00_integrate_inclxx -q e17:prof
|__gcc v7_3_0
|__root v6_12_06a -q e17:prof
|  |__clhep v2_3_4_6 -q e17:prof
|  |__fftw v3_3_6_pl2 -q prof
|  |__gsl v2_4 -q prof
|  |__pythia v6_4_28k -q gcc730:prof
|  |__postgresql v9_6_6a -q p2714b
|  |  |__python v2_7_14b
|  |     |__sqlite v3_20_01_00
|  |__mysql_client v5_5_58a -q e17
|  |__libxml2 v2_9_5 -q prof
|  |__xrootd v4_8_0b -q e17:prof
|  |__tbb v2018_2a -q e17:prof
|__lhapdf v5_9_1k -q e17:prof
|  |__pdfsets v5_9_1b
|__log4cpp v1_1_3a -q e17:prof
|__boost v1_66_0a -q e17:prof
$ ups_depend genie v3_00_integrate_inclxx -q e17:prof
genie v3_00_integrate_inclxx -q e17:prof
|__gcc v7_3_0
|__root v6_12_06a -q e17:prof
|  |__clhep v2_3_4_6 -q e17:prof
|  |__fftw v3_3_6_pl2 -q prof
|  |__gsl v2_4 -q prof
|  |__pythia v6_4_28k -q gcc730:prof
|  |__postgresql v9_6_6a -q p2714b
|  |  |__python v2_7_14b
|  |     |__sqlite v3_20_01_00
|  |__mysql_client v5_5_58a -q e17
|  |__libxml2 v2_9_5 -q prof
|  |__xrootd v4_8_0b -q e17:prof
|  |__tbb v2018_2a -q e17:prof
|__lhapdf v5_9_1k -q e17:prof
|  |__pdfsets v5_9_1b
|__log4cpp v1_1_3a -q e17:prof
|__boost v1_66_0a -q e17:prof

and/or:

$ ups_depend genie v3_00_integrate_geant4 -q e17:prof
genie v3_00_integrate_geant4 -q e17:prof
|__gcc v7_3_0
|__root v6_12_06a -q e17:prof
|  |__clhep v2_3_4_6 -q e17:prof
|  |__fftw v3_3_6_pl2 -q prof
|  |__gsl v2_4 -q prof
|  |__pythia v6_4_28k -q gcc730:prof
|  |__postgresql v9_6_6a -q p2714b
|  |  |__python v2_7_14b
|  |     |__sqlite v3_20_01_00
|  |__mysql_client v5_5_58a -q e17
|  |__libxml2 v2_9_5 -q prof
|  |__xrootd v4_8_0b -q e17:prof
|  |__tbb v2018_2a -q e17:prof
|__lhapdf v5_9_1k -q e17:prof
|  |__pdfsets v5_9_1b
|__log4cpp v1_1_3a -q e17:prof
|__geant4 v4_10_4_p02b -q e17:prof
   |__xerces_c v3_2_0a -q e17:prof
   |__g4abla v3_1
   |__g4emlow v7_3
   |__g4neutron v4_5
   |__g4neutronxs v1_4
   |__g4nucleonxs v1_1
   |__g4nuclide v2_2
   |__g4photon v5_2
   |__g4pii v1_3
   |__g4radiative v5_2
   |__g4surface v2_1_1
   |__g4tendl v1_3_2

The INCL++ and Geant4 integrations are some version post v3_00_06, but not particularly recent (They're closer to v3_00_06 than current "master").

https://www.evernote.com/shard/s266/client/snv?noteGuid=6a11ae79-2619-46c8-b80c-26d193e66b61&noteKey=588e3863ca028980bcb438b93bd7718c&sn=https%3A%2F%2Fwww.evernote.com%2Fshard%2Fs266%2Fsh%2F6a11ae79-2619-46c8-b80c-26d193e66b61%2F588e3863ca028980bcb438b93bd7718c&title=Cleaning%2Bup%2Bthe%2BINCL%252B%252B%2Bcode%2Band%2Bmaking%2Ba%2Bpatch%2Bfile

https://www.evernote.com/shard/s266/client/snv?noteGuid=944363cf-5530-459d-83f4-47fb0bc8c711&noteKey=aeeb0b77bec6770698854911e31ea870&sn=https%3A%2F%2Fwww.evernote.com%2Fshard%2Fs266%2Fsh%2F944363cf-5530-459d-83f4-47fb0bc8c711%2Faeeb0b77bec6770698854911e31ea870&title=Building%2BGENIE%2Bagainst%2BINCL%252B%252B