source: additional/scripts/specific-geant4-dev-10.5-OI.sh~ @ 880

Last change on this file since 880 was 880, checked in by garnier, 16 years ago

modif des scripts

File size: 4.8 KB
Line 
1  set prompt='mac-g4> '
2  #//////////////////////////////////////////////////////////
3  # Core :
4  #//////////////////////////////////////////////////////////
5  export MACOSX_DEPLOYMENT_TARGET=10.4
6  export MAKECMD=make
7  export G4INSTALL=/Users/garnier/Work/Geant4-QtDriver/trunk
8  export G4SYSTEM=Darwin-g++
9  export G4WORKDIR=$G4INSTALL
10  export G4STTDIR=$G4WORKDIR/stt
11  export G4LIB=$G4INSTALL/lib/geant4/
12  export G4DEBUG=1
13  export G4INCLUDE=$G4INSTALL/include/geant4
14  export CPPVERBOSE=1
15#  export G4LIB_USE_GRANULAR=1
16#  unset G4LIB_USE_GRANULAR
17  # Shareable library
18  export G4LIB_BUILD_SHARED=1
19  #FIXME export G4LIB_BUILD_SHARED 1
20  export DYLD_LIBRARY_PATH=$G4LIB/$G4SYSTEM
21  export CLHEP_BASE_DIR=/sw/
22#  export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${CLHEP_BASE_DIR}/lib
23  # data :
24  export G4DATA=$G4INSTALL/data
25  export NeutronHPCrossSections=$G4DATA/G4NDL3.5
26  export G4LEVELGAMMADATA=$G4DATA/PhotonEvaporation
27  export G4RADIOACTIVEDATA=$G4DATA/RadiativeDecay
28  export G4LEDATA=$G4DATA//G4EMLOW5.1
29#  export QTHOME=/usr/local/Qt/3.3.8
30  export QTHOME=/Library/Frameworks
31  export QTMOC="/usr/bin/moc"
32  export QTFLAGS="-I /Library/Frameworks/QtCore.framework/Headers -I /Library/Frameworks/QtGui.framework/Headers -I /Library/Frameworks/QtOpenGL.framework/Headers -I /Library/Frameworks/QtSql.framework/Headers -I /Library/Frameworks/QtXml.framework/Headers "
33#  export QTLIBS="-F/Library/Frameworks -framework QtCore -framework QtGui -framework QtSql -framework QtXml "
34#  export GLQTLIBS="-F/Library/Frameworks -framework QtCore -framework QtGui -framework QtOpenGL -framework QtSql -framework QtXml"
35
36  # ////////////////////////////////////////////////////////
37  # Correction of a bug on OpenGL :
38  # http://wiki.finkproject.org/index.php/Fink:Packaging:Preparing_for_10.5#OpenGL_Bug
39  # ////////////////////////////////////////////////////////
40  export OGLHOME=/usr/X11R6
41  export OGLLIBS="-L/usr/X11R6/lib -lGLU -lGL -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib"
42
43
44  #//////////////////////////////////////////////////////////
45  # GUI, Visualization :
46  #//////////////////////////////////////////////////////////
47  # GUI :
48#  export G4UI_BUILD_XM_SESSION=1
49#  export G4UI_USE_XM=1
50  unset G4UI_BUILD_XM_SESSION
51  unset G4UI_USE_XM
52  export G4UI_BUILD_QT_SESSION=1
53  export G4UI_USE_QT=1
54  # OpenGL :
55  export G4VIS_BUILD_OPENGLXM_DRIVER=1
56  export G4VIS_BUILD_OPENGLX_DRIVER=1
57  export G4VIS_USE_OPENGLXM=1
58  export G4VIS_USE_OPENGLX=1
59  unset G4VIS_BUILD_OPENGLXM_DRIVER
60  unset G4VIS_BUILD_OPENGLX_DRIVER
61  unset G4VIS_USE_OPENGLXM
62  unset G4VIS_USE_OPENGLX
63  unset G4UI_BUILD_OI_SESSION
64  unset G4UI_USE_OI
65  unset G4VIS_USE_OIQT
66  unset OIVHOME
67  unset G4VIS_BUILD_OI_DRIVER
68
69
70  export G4VIS_BUILD_OPENGLQT_DRIVER=1
71  export G4VIS_USE_OPENGLQT=1
72  #//////////////////////////////////////////////////////////
73  # Inventor :
74  #//////////////////////////////////////////////////////////
75  #export G4VIS_BUILD_OIX_DRIVER=1
76  #export G4VIS_USE_OIX=1
77  # SGI-Inventor :
78  # Darwin : Tiger, g++4.0 out.
79  #export OIVHOME /usr/local/SGI-Inventor/2.1.5.10/macos104_gcc40/usr
80  #export DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:"$OIVHOME/lib"
81  # OpenScientist RTK Coin* :
82  #export OIVHOME /Applications/OpenScientist/v15r0
83  #export OIVFLAGS "-I${OIVHOME}/Resources/CoinXt/include -I${OIVHOME}/Resources/CoinGL/include"
84  #export OIVLIBS "-L${OIVHOME}/lib -lCoinXt -losc_Coin"
85  #export DYLD_LIBRARY_PATH "${DYLD_LIBRARY_PATH}:${OIVHOME}/lib"
86  # OpenScientist devel Coin* :
87  #export COINGLHOME /barrand/OpenScientist/dev/CoinGL/v1r244p0
88  #export COINXTHOME /barrand/OpenScientist/dev/CoinXt/v1r122p0
89  unset COINGLHOME
90  unset COINXTHOME
91  unset OIVFLAGS
92  unset OIVLIBS
93  export DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}:${COINGLHOME}/Darwin:${COINXTHOME}/Darwin"
94  #export XENVIRONMENT visTutor/g4Xt.xrm
95#  export DYLD_BIND_AT_LAUNCH 1
96  #//////////////////////////////////////////////////////////
97  # AIDA :
98  #//////////////////////////////////////////////////////////
99  #  export G4ANALYSIS_USE 1
100  # OSC-dev implementation :
101  #  source $HOME_BARRAND/OpenScientist/dev/setup.csh
102  #  source $HOME_BARRAND/OpenScientist/dev/OnXLab/v1r0/cmt/setup.csh
103  # Set AIDA compile and link access :
104  #  export G4ANALYSIS_AIDA_CONFIG_CFLAGS `aida-config --cflags`
105  #  export G4ANALYSIS_AIDA_CONFIG_LIBS `aida-config --libs`
106  # Set PYTHONPATH to access local scripts :
107  #  export PYTHONPATH ${PYTHONPATH}:.
108
109  # OSC-15 implementation :
110  #   source /barrand/OpenScientist/v15r0/aida-setup.csh
111  # Set AIDA compile and link access :
112  #  export G4ANALYSIS_AIDA_CONFIG_CFLAGS `aida-config --cflags`
113  #  export G4ANALYSIS_AIDA_CONFIG_LIBS `aida-config --libs`
114  # Set PYTHONPATH to access local scripts :
115  #  export PYTHONPATH ${PYTHONPATH}:.
Note: See TracBrowser for help on using the repository browser.