-
Choose a place (JLAB_ROOT) to install the software
A common choice for JLAB_ROOT is /opt/jlab_software.
Create the working directory:
mkdir -p $JLAB_ROOT/1.3
Set the environment variables. You should put these lines in your login script:
setenv JLAB_ROOT /opt/jlab_software
source $JLAB_ROOT/1.3/ce/jlab.csh
- Get the installation scripts:
cd $JLAB_ROOT
wget http://www.jlab.org/12gev_phys/packages/sources/ceInstall/ceInstall_1.3.tar.gz
tar -zxpvf ceInstall_1.3.tar.gz
- Start a new shell. Now you should see a log similar to this
> Common Environment Version: <1.3> (Thu March 31 2016)
> Running as ungaro on Maurizios-Mac-Pro.local
> OS Release: Darwin__macosx10.11-x86_64-clang7.0.2
> JLAB_ROOT set to: /opt/jlab_software
> /opt/jlab_software/1.3/Darwin__macosx10.11-x86_64-clang7.0.2 is not a directory. Creating it.
? Attention: No CLHEP installation found.
? Attention: No XERCES installation found.
? Attention: No mysql installation found.
? Attention: No QTDIR installation found.
? Attention: No GEANT4 installation found.
? Attention: No ROOT installation found.
? Attention: No GEMC installation found.
? Attention: No JANA installation found.
? Attention: No Scons Script installation found.
? Attention: No EVIO installation found.
? Attention: No BANKS installation found.
If you do, great. You're ready to run the installation scripts
Notice: if you already have some existing environment variable that you want to keep,
use the option "keepmine":
source $JLAB_ROOT/1.3/ce/jlab.csh keepmine
-
Choose the packages you wish to install by executing the corresponding script:
cd $JLAB_ROOT/1.3/install
./go_clhep
./go_xercesc
./go_qt
./go_geant4
./go_sconsscript
./go_evio
./go_mysql
./go_ccdb
./go_gemc
./go_fields
./go_root
./go_banks
./go_jana
All the packages listed above "go_gemc" are necessary to run gemc.