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.
- Timestamp:
-
Feb 28, 2017, 1:30:40 PM (8 years ago)
- Author:
-
Clarence Wret
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v31
|
v32
|
|
117 | 117 | |
118 | 118 | === Environment variables === |
119 | | To run NUISANCE with NEUT you'll need to provide environment variables `$NEUT_ROOT`, `$CERNLIB` and `$CERN_LEVEL`. |
| 119 | To run NUISANCE with NEUT you'll need to provide environment variables `$NEUT_ROOT`, `$CERN`, `$CERN_LEVEL` and `$ROOTSYS`. |
120 | 120 | |
121 | 121 | When building, set the environment variables and specify `-DUSE_NEUT=1` when generating the makefiles with `cmake`. |
122 | 122 | |
| 123 | e.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 | }}} |
| 130 | where the last place could be replaced by |
| 131 | {{{ |
| 132 | $ export ROOTSYS=/vols/software/root |
| 133 | }}} |
| 134 | |
123 | 135 | === Compiling === |
124 | 136 | |
125 | 137 | {{{ |
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 |
134 | 146 | }}} |
135 | 147 | |
… |
… |
|
137 | 149 | |
138 | 150 | {{{ |
139 | | cmake ../ -DUSE_NEUT=1 -DUSE_GENIE=1 |
| 151 | $ cmake ../ -DUSE_NEUT=1 -DUSE_GENIE=1 |
140 | 152 | }}} |
141 | 153 | |