Files
geant4/environments/OPACS/mgr/setup.csh
T
2016-06-08 15:42:07 +02:00

62 lines
1.8 KiB
Tcsh

# Installer, edit this file to set
# correctly the product pathes : OPACS,
# Geant4, CLHEP, RW, etc...
#
# User, to use Geant4/environments/OPACS,
# execute this script with :
# csh> source setup.csh
#
#-----------------------------
#
# Execute OPACS setup script :
# --------------------------
source /lal/OPACS/v3/setup.csh
#
# CLHEP, Rogue Wave path :
# ----------------------
if ( `uname -n` == "aleph" ) then
setenv CLHEPROOT /lal/CLHEP/1.4/HP-UX-aCC
setenv RWLIBS "-lrwtool"
endif
if ( `uname -n` == "asc" ) then
setenv G4WORKDIR /geant4/geant4-01-01
setenv G4INSTALL $G4WORKDIR
setenv G4LIB $G4WORKDIR/lib
setenv G4SYSTEM DEC-cxx
setenv CLHEPROOT /lal/CLHEP/1.4/OSF1-cxx
setenv RWFLAGS "-I$G4INSTALL/source/global/STLInterface"
setenv RWLIBS ""
# To be able to link :
limit datasize 500000
endif
if ( `uname -n` == "lx1.lal.in2p3.fr" ) then
setenv G4WORKDIR /geant4/geant4-01-01
setenv G4INSTALL $G4WORKDIR
setenv G4LIB $G4WORKDIR/lib
setenv G4SYSTEM Linux-g++
setenv CLHEPROOT /lal/CLHEP/1.4/Linux-gxx
# With STL, hook the dummy rw things :
setenv RWFLAGS "-I$G4INSTALL/source/global/STLInterface"
setenv RWLIBS ""
endif
if ( `uname -n` == "papou1" ) then
setenv G4WORKDIR /geant4/dev
setenv G4INSTALL $G4WORKDIR/geant4
setenv G4LIB $G4WORKDIR/lib
setenv G4SYSTEM SunOS-CC
setenv CLHEPROOT /lal/CLHEP/1.4/SunOS-CC
setenv RWROOT /lal/rogue/6.1/SunOS-CC
setenv RWFLAGS "-I${RWROOT}"
setenv RWLIBS "-L${RWROOT}/lib -lrwtool"
endif
#
# Directory where to find Geant4 templates (to be able to link) :
# -------------------------------------------------------------
setenv OREPOSITORY $G4WORKDIR/tmp/$G4SYSTEM/g4.ptrepository
#
# OPACS OPATH variable for finding, at run time, environments/OPACS palettes :
# -------------------------------------------------------------------------
setenv OPATH "$OPATH $G4INSTALL/environments/OPACS/usr"
#