[Gate-users] Problem with ecat7 output

Claude Comtat comtat at ieee.org
Tue Oct 10 17:06:36 CEST 2006


One more suggestion: do a "gmake clean" before compiling again Gate (or 
delete the tmp directory in your $GATEHOME directory). If the first time 
you compiled Gate without the ecat7 library, and then tried to compile 
it again with the ecat7 library without doing a gmake clean, it is 
possible that gmake ignores the ecat library.

Hope this helps,

Claude

ernesto at savantic.se wrote:

> Hi Claude,
> 
> Thanks for your answer. I had compiled Gate after installing Ecat and I think I
> have my path $ECAT7_HOME/lib/${G4SYSTEM}. I’m a beginner at Linux but I
> understand that my $ECAT7_HOME is /usr/share/ecat/ and that my ${G4SYSTEM} is
> Linux-g++ so in my path  /usr/share/ecat/lib/Linux-g++/  I have the file libecat.a.
> 
> As you say it looks like Gate was compiled without ecat since libGate.so doesn’t
> recognize matrix_create. On the other hand when I sourced with env_gate.csh I
> got “Use of ECAT7 data output enabled” which according to the installation guide
> means that the script detected that the library is installed on my system. When
> I run the simulation of PET_Ecat_System.mac I got as part of the screen output:
> “Output module: 'ecat7' 
>  Job: write a set of 2D sinograms into an Ecat7 output file 
>  Is enabled ? Yes”
> Which it looks like something related to ecat is enable.
> 
> I have reinstalled the ecat library directly from the UCL web site, instead of
> the one at the GATE site. I have also recompiled Gate using make instead of
> gmake but any of these helped. I’m still getting the same screen output and the
> simulation is getting aborted. Do you have any other suggestions?
> 
> Cheers
> 
> Ernesto
> 
> Quoting Claude Comtat <comtat at ieee.org>:
> 
> 
>>Hi Ernesto,
>>
>>it looks like Gate was compiled without the ecat7 library. After 
>>installing the ecat library, did you compile again Gate. If yes, check
>>
>>the path $ECAT7_HOME/lib/${G4SYSTEM}.
>>
>>Claude
>>
> 
> 
> 
> 

-- 
Claude Comtat					comtat at ieee.org
Image Acquisition and Processing group		tel: +33 1 69 86 78 01
Frédéric Joliot Hospital Facility		fax: +33 1 69 86 77 49
French Atomic Energy Commission 		www-dsv.cea.fr/shfj





More information about the Gate-users mailing list