nuisance is hosted by Hepforge, IPPP Durham
close Warning: Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.

Changes between Version 31 and Version 32 of HowToNeut


Ignore:
Timestamp:
Feb 28, 2017, 1:30:40 PM (8 years ago)
Author:
Clarence Wret
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowToNeut

    v31 v32  
    117117
    118118=== Environment variables ===
    119 To run NUISANCE with NEUT you'll need to provide environment variables `$NEUT_ROOT`, `$CERNLIB` and `$CERN_LEVEL`.
     119To run NUISANCE with NEUT you'll need to provide environment variables `$NEUT_ROOT`, `$CERN`, `$CERN_LEVEL` and `$ROOTSYS`.
    120120
    121121When building, set the environment variables and specify `-DUSE_NEUT=1` when generating the makefiles with `cmake`.
    122122
     123e.g. in my case
     124{{{
     125$ export NEUT_ROOT=/vols/software/NEUT_5.3.6
     126$ export CERN=/vols/software/CERNLIB
     127$ export CERN_LEVEL=2005
     128$ source /vols/software/root/bin/thisroot.sh
     129}}}
     130where the last place could be replaced by
     131{{{
     132$ export ROOTSYS=/vols/software/root
     133}}}
     134
    123135=== Compiling ===
    124136
    125137{{{
    126 cd YOUR_NUISANCE_PATH
    127 mkdir -pv build
    128 cd build
    129 cmake ../ -DUSE_NEUT=1
    130 source $uname/setup.sh
    131 make
    132 make install
    133 make docs
     138$ cd YOUR_NUISANCE_PATH
     139$ mkdir -pv build
     140$ cd build
     141$ cmake ../ -DUSE_NEUT=1
     142$ source $uname/setup.sh
     143$ make
     144$ make install
     145$ make docs
    134146}}}
    135147
     
    137149
    138150{{{
    139 cmake ../ -DUSE_NEUT=1 -DUSE_GENIE=1
     151$ cmake ../ -DUSE_NEUT=1 -DUSE_GENIE=1
    140152}}}
    141153