Difference: GENIE (8 vs. 9)

Revision 92021-04-19 - WilliamSeligman

Line: 1 to 1
 
META TOPICPARENT name="WilliamSeligman"

Running GENIE at Nevis

Changed:
<
<
To run the GENIE Neutrino Monte Carlo at Nevis, the simplest thing to do is to access the version maintained at Fermilab. I recommend against trying to install it on your laptop or in your own work area on the cluster; GENIE requires quite a few external packages, is finicky about those packages' versions, and the complete build/installation process has a number of pitfalls. Even the supposedly pre-configured lamp scripts, which are supposed to install all of GENIE's dependencies for you, do not work reliably.
>
>
To run the GENIE Neutrino Monte Carlo at Nevis, you can take one of two approaches:
 
Changed:
<
<

Setting up GENIE

>
>
  • Access the version maintained at Fermilab.
  • Use a software suite (GENIE and its external packages) installed at Nevis by WilliamSeligman.

I recommend against trying to install it on your laptop or in your own work area on the cluster; GENIE requires quite a few external packages, is finicky about those packages' versions, and the complete build/installation process has a number of pitfalls. Even the supposedly pre-configured lamp scripts, which are supposed to install all of GENIE's dependencies for you, do not work reliably.

Use the one already at Nevis

This may seem like a reasonable approach. Be aware that, as time goes on, that suite of software will probably become more and more obsolete. With that warning out of the way:

module load /nevis/amsterdam/share/seligman/genie/genie-setup.mod

Note that this command will make changes to your shell environment. I strongly suggest that you do not mix this setup with any other software frameworks (e.g., LArSoft for the Neutrino group; Athena for the ATLAS group).

Setting up GENIE via UPS

  First, set up the Fermilab UPS environment:

Line: 33 to 48
 

Running GENIE

Changed:
<
<
The GENIE manual is here (PDF file). The practical examples start on page 59. Here's the first example, adapted for running at Nevis, and with an Ar40 target. Note that the νμ histogram in the flux file is named "numu"; that name follows the comma after the .root file in the -f option. .
>
>
The GENIE manual is here (PDF file). The practical examples start on page 109. Here's the first example, adapted for running at Nevis, and with an Ar40 target. Note that the νμ histogram in the flux file is named "numu"; that name follows the comma after the .root file in the -f option. .
 
# Create a work area for transient output files

Line: 42 to 57
  # Define variables to point at directories with flux and cross-section files. export GENIE_FLUXES=/nevis/westside/data/uboone/flux
Changed:
<
<
export GENIE_XSECS=/nevis/westside/data/uboone/genie/genie_xsec
>
>
export GENIE_XSECS=/nevis/amsterdam/data/seligman/genie_xsec
  # Generate 10,000 numu+Ar events with energies between 0 and 10 GeV gevgen -n 10000 -p 14 -t 1000180400 -e 0,10 --run 100
Line: 51 to 66
  --cross-sections $GENIE_XSECS/v2_12_0/NULL/DefaultPlusMECWithNC/data/gxspl-FNALsmall.xml
Changed:
<
<
Archeology: on 5-Apr-2017, I copied the flux files from uboonegpvm01.fnal.gov:/uboone/data/flux, and the GENIE spline files from https://www.hepforge.org/archive/genie/data/.
>
>
  • Archeology: on 5-Apr-2017, I copied the flux files from uboonegpvm01.fnal.gov:/uboone/data/flux, and the GENIE spline files from https://www.hepforge.org/archive/genie/data/.
  • More archeology: on 19-Apr-2021, I discovered that the flux files I copied from FNAL were deleted (probably by me when I forgot what they were). If you need flux files for your work, you'll have to copy them from some other source.
  This example is straight from the manual: π+ on O16, with kinetic energy 200 MeV:

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback