[Gate-users] ECAT7 command not found, problem with enabling ecat7 library

David Larsson david.larsson at sth.kth.se
Thu Mar 5 22:53:35 CET 2015


Hi again everyone,

just adding to the issue below I think I might be having some issues with linking add-on libraries in general within my Gate compilation, even though the actual compilation runs without errors.

I've namely had similar issues both when trying to set optical transport to ON and now ecat to ON.

Is anyone aware of issues with linking the libraries in a correct way, causing the wanted commands to be "not found" when running intended scripts?

Any help would be very appreciated.

Regards,

David

________________________________________
Från: David Larsson
Skickat: den 5 mars 2015 15:39
Till: J.J.M. Kouwenberg; gate-users at lists.opengatecollaboration.org
Ämne: SV: [Gate-users] ECAT7 command not found, problem with enabling ecat7 library

Hi Jasper,

thanks for the swift reply. Since the benchmark provided did have Ecat7 outputs given as example I assumed this was supported, is this not so?

Anyhow I still seem to encounter the general problem that I cannot access Ecat7-commands/library after compiling it with Gate.

Anyone have any suggestions for that?

/David
________________________________________
Från: J.J.M. Kouwenberg <j.kouwenberg at erasmusmc.nl>
Skickat: den 5 mars 2015 15:16
Till: David Larsson; gate-users at lists.opengatecollaboration.org
Ämne: RE: [Gate-users] ECAT7 command not found, problem with enabling ecat7 library

Hi David,

Afaik CylindricalPET only supports ASCII, ROOT and LMF output (http://wiki.opengatecollaboration.org/index.php/Users_Guide_V7.0:Data_output#Sinogram_output)

Regards,

Jasper J.M. Kouwenberg
Medical Physics Graduate student
Nuclear Medicine



E-mail j.kouwenberg at erasmusmc.nl | Phone +316 2532 9809

________________________________________
From: gate-users-bounces at lists.opengatecollaboration.org [gate-users-bounces at lists.opengatecollaboration.org] on behalf of David Larsson [david.larsson at sth.kth.se]
Sent: 05 March 2015 15:04
To: gate-users at lists.opengatecollaboration.org
Subject: [Gate-users] ECAT7 command not found,  problem with enabling ecat7 library

Hi everyone,


I just recently wanted to allow for ECAT7-outputs on the installed GATE-version I am using (v7). For this, I downloaded the ECAT7-package and installed/compiled everything according to the installation guide, that is:


- I created an ECAT-directory

- Inside the directory I've mounted the ecat7-package

- I've created an 'ecat/include' directory for the 'matrix.h' and 'machine_indep.h'

- I similarly created an 'ecat/lib/Linux-g++' directory for my 'libecat.a' file.


After this, I recompiled both Geant4 (maybe not necessary) and GATE, however now with the 'GATE_USE_ECAT7' flag set to 'ON'. I've also specified the home directory of the ecat7-package ('ECAT7_HOME' set to '/my/path/to/ecat')


I succesfully can compile GATE (and I do set the 'export ECAT7_HOME = /my/path/to/ecat' inside my .bashrc-file).


However, when I try to run the PET benchmark example to try the output (benchPET.mac) it seems like the ECAT7 library cannot be found with the batch being interrupted and en error reading:


 ***** COMMAND NOT FOUND </gate/output/sinogram/enable> *****


Removing the sinogram gives the same kind of error but for the ecat7 command:


***** COMMAND NOT FOUND </gate/output/ecat7/enable> *****


I've seen people with similar issues in the mailing list history, but I cannot seem to get a good answer on how to proceed to fix this. Does anyone know what I can do to be able to enable the ECAT7 output?


Thanks for your help,


/David

<https://webmail.kth.se/owa/redir.aspx?C=IxWYxXymHES_fQvc4qU3B9BOtBARstEIlfcjHJ6nx0MeBY57EwkoSX2SdYQPib-GqeXHouLYnDA.&URL=mailto%3adavid.larsson%40sth.kth.se>


More information about the Gate-users mailing list