...
You are recommended to use "spinquestgpvm01.fnal.gov" to develop "e1039-core" since the E1039 environment at Rivanna has been set up for normal use (=analysis) at present. But you can make your own version of e1039-core at Rivanna, by executing the following commands. Your modified source code of e1039-core
is assumed be be placed at ~/e1039/e1039-core
.
Code Block | ||
---|---|---|
| ||
DIR_INSTcd ~/e1039 rm -rf core-build core-inst E1039_CORE_DIR=~/e1039/core-inst mkdir -p $DIR$E1039_CORE_INST cd ~/e1039 git clone https://github.com/E1039-Collaboration/e1039-core.git cdDIR cp -p e1039-core cp -p /script/this-core-org.sh $DIR$E1039_CORE_INSTDIR/this-core.sh source /project/ptgroup/spinquest/$E1039_ROOT/this-e1039.sh export ROOT_INCLUDE_PATH=$ROOT_INCLUDE_PATH_E1039_SHARE source $DIR_INST/this-core.sh ../e1039-core/build.sh |
Once the commands go fine, you can modify the source code and build it again by "./build.sh -r simulation/g4detectors" for example, where "simulation/g4detectors" should be the first package that you modified.
...
- Build the source code in new shell (=text terminal), or
- Execute analysis macro (such as "e1039-analysis/SimChainDev"),
you have to execute the "source" and "export" following commands;
Code Block | ||
---|---|---|
| ||
E1039_CORE_DIR=~/e1039/core-inst source /project/ptgroup/spinquest/this-e1039.sh |
...