[Gate-users] CLHEP library error

David Sarrut David.Sarrut at creatis.insa-lyon.fr
Tue Mar 1 08:01:39 CET 2016


Hello,

it should be a path issue. The simplest way is to use the G4 embedded clhep
and to not use external clhep. Once G4 is compiled, recompile Gate, without
external clhep also.

hope it helps,
David

On Mon, Feb 29, 2016 at 6:52 PM, Gustaf Lönn <gustaflo at kth.se> wrote:

> Hello!
>
> I have encountered a problem with the CLHEP libraries when I’m trying to
> run Gate. Instead of searching for the external 2.2.0.4 CLHEP library the
> program wants to use the libG4chlep and therefore terminates. I use x86
> Ubuntu 64bit.
>
> I have followed the installation/compilation instructions and set the
> external CLHEP options to ”on” and set the following paths:
>
> Geant4
> CLHEP_CONFIG_EXECUTABLE:
> /home/gate/gate_sources2/2.2.0.4-install/bin/clhep-config
> CLHEP_INCLUDE_DIR: /home/gate/gate_sources2/2.2.0.4-install/include
> CLHEP_LIBRARY: /home/gate/gate_sources2/2.2.0.4-install/lib/libCLHEP.so
>
> Gate
> CLHEP_CONFIG_EXECUTABLE:
> /home/gate/gate_sources2/2.2.0.4-install/bin/clhep-config
> CLHEP_INCLUDE_DIR: /home/gate/gate_sources2/2.2.0.4-install/include
>
> In my bash script I have the following:
>
> export PATH=$PATH:/home/gate/gate_sources2/2.2.0.4-install/bin:
> /home/gate/gate_sources2/2.2.0.4-install/include
>
> export
> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/gate/gate_sources2/2.2.0.4-install/lib
>
> source /home/gate/gate_sources2/root/bin/thisroot.sh
>
> source /home/gate/gate_sources2/geant4.10.01.p03-install/bin/geant4.sh
>
> PATH=$PATH:/home/gate/gate_sources2/gate_v7.1-install/bin
>
> export
> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/gate/gate_sources2/geant4.10.01.p03-install/lib64
>
> Does anyone have any idea about what might be wrong? I’m grateful for any
> suggestions!
>
> Best Regards
> Gustaf L
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users




-- 
David Sarrut, Phd
Directeur de recherche CNRS
CREATIS, UMR CNRS 5220, Inserm U1206
Centre de lutte contre le cancer Léon Bérard
28 rue Laënnec, 69373 Lyon cedex 08
Tel : 04 78 78 51 51 / 06 74 72 05 42
http://www.creatis.insa-lyon.fr/~dsarrut
_________________________________
 "2 + 2 = 5,  for extremely large values of 2"
_________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20160301/ad31a762/attachment.html>


More information about the Gate-users mailing list