source: JEM-EUSO/esaf_cc_at_lal/source_me.csh_example

Last change on this file was 114, checked in by moretto, 11 years ago

actual version of ESAF at CCin2p3

File size: 2.1 KB
Line 
1############################################################################################################
2# This is an example of a source file needed to setup the variables for tcsh/csh to compile and run ESAF   #
3# Edit the variables for your settings                                                                     #
4############################################################################################################
5
6############################################################################################################
7# ESAF settings                                                                                            #
8# Neccessary variables. Uncomment and edit relevant for your case                                          #
9############################################################################################################
10  setenv ROOTSYS /cern/root_v5.17.08
11  setenv PATH $ROOTSYS/bin:${CERN}/${CERN_LEVEL}/bin:${PATH}
12  setenv ESAFDIR /home/naumov/work/ShowersGenerators/esaf/trunk/esaf
13
14  unsetenv LD_LIBRARY_PATH
15  setenv LD_LIBRARY_PATH ${ESAFDIR}/lib/`uname -m`:${ROOTSYS}/lib
16############################################################################################################
17# Optional (not neccessary)                                                                                #
18############################################################################################################
19 ###############
20 ## SLAST77
21 ## This is if you want to compile and use slast77. It requires cernlib
22 ###############
23 # setenv USE_SLAST77 1
24  if ( ${?USE_SLAST77} ) then
25        setenv  CERN        /cern/
26        setenv  CERN_LEVEL  pro
27        setenv PATH ${CERN}/${CERN_LEVEL}/bin:${PATH}
28  endif
29 ###############
30 ## Geant4
31 ## If you want to use Geant4 to trace photons through the detector
32 ###############
33 if ( ${?G4INSTALL} ) then
34        source ${G4INSTALL}/env.csh
35# EDIT THESE SETTINGS MANUALLY!!!
36        setenv VGM_INSTALL /cern/vgm_trunk
37        setenv VGM_SYSTEM Linux-g++
38        setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${VGM_INSTALL}/lib/${VGM_SYSTEM}
39 endif       
40echo "ESAF environment is set up"
Note: See TracBrowser for help on using the repository browser.