2007年4月12日星期四

Upgrade Gate to 3.1.0

我在Geant4 8.1上面装了Gate 3.0.0,据说不是很好。碰到一些问题,也不知道是不是版本造成的。今天去Gate主页发现正巧刚刚发布3.1.0,所以就来升级一下吧。

Gate3.1.0说支持Geant4 8.1p02,我安装的是Geant4 8.1p01,希望不会有问题。

1. Set the environment variable GATEHOME to /Application/gate3.1.0

2. Adapt the GATE configuration script env_gate.csh to your environment
2.1 $G4INSTALL /Applications/geant4.8.1.p01/
2.2 make sure that this directory contains a Geant4 configuration script env.csh;
2.3 $ G4VERSION 8.1

3. Launch the configuration script env_gate.csh by typing source env_gate.csh;

The current value of G4INSTALL is: /Applications/geant4.8.1.p01/
The current value of G4VERSION is: 8.1

Launching Geant4 configuration script /Applications/geant4.8.1.p01//env.csh

On this machine the G4SYSTEM=Darwin-g++
On this machine the G4INSTALL=/Applications/geant4.8.1.p01
On this machine the G4LIB=/Applications/geant4.8.1.p01/lib
On this machine the G4LEVELGAMMADATA=/Applications/geant4.8.1.p01/data/PhotonEvaporation2.0
On this machine the G4RADIOACTIVEDATA=/Applications/geant4.8.1.p01/data/RadiativeDecay3.0
On this machine the G4LEDATA=/Applications/geant4.8.1.p01/data/G4EMLOW4.0
On this machine the NeutronHPCrossSections=/Applications/geant4.8.1.p01/data/G4NDL3.9
On this machine the G4ELASTICDATA=/Applications/geant4.8.1.p01/data/G4ELASTIC1.1
On this machine the CLHEP_BASE_DIR=/sw
On this machine the CLHEP_INCLUDE_DIR=/sw/include
On this machine the CLHEP_LIB_DIR=/sw/lib
On this machine the CLHEP_LIB=CLHEP
On this machine the G4VIS_BUILD_OPENGLX_DRIVER=1
On this machine the G4VIS_BUILD_RAYTRACERX_DRIVER=1
On this machine the G4VIS_USE_OPENGLX=1
On this machine the G4VIS_USE_RAYTRACERX=1
On this machine the XMFLAGS=
On this machine the XMLIBS=
On this machine the XMFLAGS=
On this machine the XMLIBS=
On this machine the XAWFLAGS=
On this machine the XAWLIBS=
On this machine the G4LIB_BUILD_STATIC=1
On this machine the G4LIB_USE_GRANULAR=1
On this machine the G4UI_USE_TCSH=1
In your environment you have the G4WORKDIR=/Users/zixiongcao/G4work

Configuring GATE options

G4WORKDIR set to .
G4TMP set to ./tmp
G4BIN set to ./bin
Data analysis and output features enabled
Ascii data output enabled
Transport and generation of optical photons is enabled
Checking your LD_LIBRARY_PATH variable...
==> OK: /Users/zixiongcao/Projects/Root/lib is already in your LD_LIBRARY_PATH
Use of ROOT enabled
ROOT real-time plotter disabled
LMF data output disabled
ECAT7 data output disabled
GATEHOME is set to /Applications/gate_v3.1.0
Checking your path variable...
==> OK: /Applications/gate_v3.1.0/bin/Darwin-g++ is already in your path variable
G4VERSION7 is not set: GATE is compatible with the geant4 version 7.1
G4VERSION8 is set: GATE is compatible with the geant4 version 8.0 and 8.1

Done
不知道为什么总是把G4WORKDIR设成了当前目录(.)。

4. make

Compiling GateVoxelReplicaMatrixInserterMessenger.cc ...
Compiling GateXMLDocument.cc ...
Creating/replacing object files in ./tmp/Darwin-g++/Gate/libGate.a ...
ar: creating archive ./tmp/Darwin-g++/Gate/libGate.a
ranlib: file: ./tmp/Darwin-g++/Gate/libGate.a(GateHitConverter.o) has no symbols
ranlib: file: ./tmp/Darwin-g++/Gate/libGate.a(GateRadioactiveDecay.o) has no symbols
ranlib: file: ./tmp/Darwin-g++/Gate/libGate.a(GateRadioactiveDecayMessenger.o) has no symbols
ranlib: file: ./tmp/Darwin-g++/Gate/libGate.a(GateSinoAccelToEcat7.o) has no symbols
ranlib: file: ./tmp/Darwin-g++/Gate/libGate.a(GateSinoAccelToEcat7Messenger.o) has no symbols
ranlib: file: ./tmp/Darwin-g++/Gate/libGate.a(GateSinoToEcat7.o) has no symbols
ranlib: file: ./tmp/Darwin-g++/Gate/libGate.a(GateSinoToEcat7Messenger.o) has no symbols
ranlib: file: ./tmp/Darwin-g++/Gate/libGate.a(GateToLMF.o) has no symbols
ranlib: file: ./tmp/Darwin-g++/Gate/libGate.a(GateToLMFMessenger.o) has no symbols
ranlib: file: ./tmp/Darwin-g++/Gate/libGate.a(GateToRootPlotter.o) has no symbols
ranlib: file: ./tmp/Darwin-g++/Gate/libGate.a(GateToRootPlotterMessenger.o) has no symbols
ranlib: file: ./tmp/Darwin-g++/Gate/libGate.a(GateHitConverter.o) has no symbols
ranlib: file: ./tmp/Darwin-g++/Gate/libGate.a(GateRadioactiveDecay.o) has no symbols
ranlib: file: ./tmp/Darwin-g++/Gate/libGate.a(GateRadioactiveDecayMessenger.o) has no symbols
ranlib: file: ./tmp/Darwin-g++/Gate/libGate.a(GateSinoAccelToEcat7.o) has no symbols
ranlib: file: ./tmp/Darwin-g++/Gate/libGate.a(GateSinoAccelToEcat7Messenger.o) has no symbols
ranlib: file: ./tmp/Darwin-g++/Gate/libGate.a(GateSinoToEcat7.o) has no symbols
ranlib: file: ./tmp/Darwin-g++/Gate/libGate.a(GateSinoToEcat7Messenger.o) has no symbols
ranlib: file: ./tmp/Darwin-g++/Gate/libGate.a(GateToLMF.o) has no symbols
ranlib: file: ./tmp/Darwin-g++/Gate/libGate.a(GateToLMFMessenger.o) has no symbols
ranlib: file: ./tmp/Darwin-g++/Gate/libGate.a(GateToRootPlotter.o) has no symbols
ranlib: file: ./tmp/Darwin-g++/Gate/libGate.a(GateToRootPlotterMessenger.o) has no symbols
Compiling Gate.cc ...
warning: this program uses gets(), which is unsafe.
Using granular libraries ...
Linking Gate ...
powerpc-apple-darwin8-g++-4.0.1: unrecognized option '-rdynamic'
... Done!

0 条评论:

发表评论

订阅 博文评论 [Atom]

<< 主页