[Gate-users] Re : LMF install in vGATE
Samuel BURG
samuel_burg at yahoo.fr
Mon Nov 15 15:24:06 CET 2010
Hi,
check the bug fix in :
http://lists.opengatecollaboration.org/mailman/private/gate-users/2010-October/004575.html
there is all you need about building and linking LMF libs on 32 and 64 bits cpu
for Gate V5, and it's very similar for Gate V6
best regards,
-----------------------------------------------------------
Samuel Burg
Mail : <samuel_burg at yahoo.fr>
-----------------------------------------------------------
"Aw, come on, who would be so stupid as to insert a cast
to make an error go away without actually fixing the error?"
Apparently everyone.
-- Raymond Chen --
-----------------------------------------------------------
________________________________
De : "nazarparvar at aut.ac.ir" <nazarparvar at aut.ac.ir>
À : Gate-users at lists.opengatecollaboration.org
Envoyé le : Lun 15 novembre 2010, 12h 36min 12s
Objet : [Gate-users] LMF install in vGATE
Dear Gaters,
I am having some problems trying to launch LMFv3 output on Gate V6
the linking with LMF library bugs like next.
I set my envirronment variable LMF_HOME in envgate.sh
export LMF_HOME=/home/gate/Progs/Gate/gate_v6.0_p01/lmf_v3.0/opt/lmf
and I added ROOTSYS/include to the lmf makefile
INCLUDE = -I./includes/ -I${ROOTSYS}/include
#source env_gate.sh
The current value of G4INSTALL is: /home/gate/Progs/Gate/geant4.9.2.p03
The current value of G4VERSION is: 9.2
Launching Geant4 configuration script
/home/gate/Progs/Gate/geant4.9.2.p03/env.sh
On this machine the G4SYSTEM=Linux-g++
On this machine the G4INSTALL=/home/gate/Progs/Gate/geant4.9.2.p03
On this machine the G4INCLUDE=/home/gate/Progs/Gate/geant4.9.2.p03/include/
On this machine the G4LIB=/home/gate/Progs/Gate/geant4.9.2.p03/lib
On this machine the
G4LEVELGAMMADATA=/home/gate/Progs/Gate/geant4.9.2.p03/data/PhotonEvaporation2.0
On this machine the
G4RADIOACTIVEDATA=/home/gate/Progs/Gate/geant4.9.2.p03/data/RadioactiveDecay3.2
On this machine the
G4LEDATA=/home/gate/Progs/Gate/geant4.9.2.p03/data/G4EMLOW6.2
On this machine the
G4NEUTRONHPDATA=/home/gate/Progs/Gate/geant4.9.2.p03/data/G4NDL3.13
On this machine the
G4ABLADATA=/home/gate/Progs/Gate/geant4.9.2.p03/data/G4ABLA3.0
On this machine the CLHEP_BASE_DIR=/home/gate/Progs/Gate/clhep-2.0.4.2
On this machine the
CLHEP_INCLUDE_DIR=/home/gate/Progs/Gate/clhep-2.0.4.2/include
On this machine the CLHEP_LIB_DIR=/home/gate/Progs/Gate/clhep-2.0.4.2/lib
On this machine the CLHEP_LIB=CLHEP
On this machine the G4UI_USE_TCSH=1
On this machine the G4VIS_BUILD_OPENGLX_DRIVER=1
On this machine the G4VIS_USE_OPENGLX=1
On this machine the XMFLAGS=
On this machine the XMLIBS=
On this machine the XMFLAGS=
On this machine the XAWFLAGS=
On this machine the XAWLIBS=
On this machine the G4LIB_BUILD_SHARED=1
On this machine the G4LIB_BUILD_STATIC=1
On this machine the G4LIB_USE_GRANULAR=1
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: /home/gate/Progs/Gate/root-5.14.00g_custom/lib is already in your
LD_LIBRARY_PATH
Use of ROOT enabled
ROOT real-time plotter disabled
Checking your LD_LIBRARY_PATH variable...
==> OK: /home/gate/Progs/Gate/gate_v6.0_p01/lmf_v3.0/opt/lmf/lib is already in
your LD_LIBRARY_PATH
LMF data output enabled
ECAT7 data output disabled
GATEHOME is set to /home/gate/Progs/Gate/gate_v6.0_p01
Checking your path variable...
==> OK: /home/gate/Progs/Gate/gate_v6.0_p01/bin/Linux-g++ added to your path
variable
Checking your LD_LIBRARY_PATH variable...
==> OK: /home/gate/Progs/Gate/gate_v6.0_p01/tmp/Linux-g++/Gate added to your
path variable
G4VERSION9_2 is set: GATE is compatible with the geant4 version 9.2
Done
make clean
make
.
.
.
.
‘void G4RunManager::SetRandomNumberStoreDir(G4String)’:
/home/gate/Progs/Gate/geant4.9.2.p03/include/G4RunManager.hh:352: warning:
ignoring return value of ‘int system(const char*)’, declared with attribute
warn_unused_result
Compiling GateVSourceMessenger.cc ...
Compiling GateVSourceVoxelReader.cc ...
In file included from ../general/include/GateRunManager.hh:32,
from ../digits_hits/include/GateUserActions.hh:33,
from ../physics/include/GateSourcePhaseSpace.hh:39,
from ../physics/include/GateSourceMgr.hh:20,
from src/GateVSourceVoxelReader.cc:20:
/home/gate/Progs/Gate/geant4.9.2.p03/include/G4RunManager.hh: In member function
‘void G4RunManager::SetRandomNumberStoreDir(G4String)’:
/home/gate/Progs/Gate/geant4.9.2.p03/include/G4RunManager.hh:352: warning:
ignoring return value of ‘int system(const char*)’, declared with attribute
warn_unused_result
Compiling GateVSourceVoxelReaderMessenger.cc ...
Compiling GateVSourceVoxelTranslator.cc ...
source/physics finished
Creating shared library tmp/Linux-g++/Gate/libGate.so ...
Creating/replacing object files in ./tmp/Linux-g++/Gate/libGate.a ...
ar: creating ./tmp/Linux-g++/Gate/libGate.a
Compiling Gate.cc ...
In file included from ./source/general/include/GateRunManager.hh:32,
from Gate.cc:1:
/home/gate/Progs/Gate/geant4.9.2.p03/include/G4RunManager.hh: In member function
‘void G4RunManager::SetRandomNumberStoreDir(G4String)’:
/home/gate/Progs/Gate/geant4.9.2.p03/include/G4RunManager.hh:352: warning:
ignoring return value of ‘int system(const char*)’, declared with attribute
warn_unused_result
Using granular libraries ...
Linking Gate
/usr/bin/ld: cannot find -lLMF
collect2: ld returned 1 exit status
make: *** [bin/Linux-g++/Gate] Error 1
Did anybody encountered this isuue already?
Thank you for any help.
Cheers
_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
More information about the Gate-users
mailing list