Software installation instructions (JLAB_VERSION 2.0)

These instructions are verified on:
These are instructions to install JLAB_VERSION 2.0. You can find other JLAB_VERSION releases instructions below:

General Requirements:



Installation:

  1. Choose a place (JLAB_ROOT) to install the software
    A common choice for JLAB_ROOT is /opt/jlab_software:

                    set JLAB_ROOT /opt/jlab_software
    				

    Create the working directory:
                    mkdir -p $JLAB_ROOT/2.0
                
  2. Get the installation scripts:
                    cd $JLAB_ROOT
                    wget http://www.jlab.org/12gev_phys/packages/sources/ceInstall/ceInstall_2.0.tar.gz
                    tar -zxpvf ceInstall_2.0.tar.gz
                
  3. Set the environment variables. You should put these lines in your login script:
                    setenv JLAB_ROOT /opt/jlab_software
                    source $JLAB_ROOT/2.0/ce/jlab.csh
                
  4. Start a new shell. Now you should see a log similar to this
                    > Common Environment Version: <2.0>  (Wed Oct 6 2016)
                    > Running as ungaro on Maurizios-Mac-Pro.local
                    > OS Release:    Darwin__macosx10.11-x86_64-clang8.0.0
                    > JLAB_ROOT set to:     /opt/jlab_software
                    > /opt/jlab_software/2.0/Darwin__macosx10.11-x86_64-clang8.0.0 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 CCDB installation found.
                    ? Attention: No BANKS installation found.
                    ? Attention: No MLIBRARY installation found.
    				
  5. If you do, great. You're ready to run the installation scripts
    Notice: if you already have some existing environment variables that you want to keep, use the option "keepmine":
                source $JLAB_ROOT/2.0/ce/jlab.csh keepmine
            
  6. Choose the packages you wish to install by executing the corresponding script:
                    cd $JLAB_ROOT/2.0/install
                    
                    ./go_clhep
                    ./go_xercesc
                    ./go_qt
                    ./go_geant4
                    ./go_sconsscript
                    ./go_evio
                    ./go_mysql
                    ./go_ccdb
                    ./go_mlibrary
                    ./go_gemc
                    ./go_fields
                    ./go_root
                    ./go_banks
                    ./go_jana
                
    All the packages listed above "go_gemc" are necessary to run gemc.



Please email any comments/corrections/bug report/feature requests to Maurizio Ungaro.