[Castor-users] Castor installation and launch error - help

STUTE Simon simon.stute at chu-nantes.fr
Wed Oct 9 11:50:17 CEST 2019


Hi,


Did you subscribe to the mailing list ? Otherwise you cannot send emails to it I think. The address is the good one.


Use the PATH environment variable in linux to get access to all neede binaries : https://opensource.com/article/17/6/set-path-linux


root-config is a binary provided by ROOT, so if you use ROOT with GATE, then you should have it.?

It is used to provided correct links to ROOT libraries.


Same for CASToR, add the path to the bin directory into the PATH variable so that you don't have to go inside this bin directory to execute CASToR.


Best

Simon

________________________________
De : Sowmiya Raj Thirumalai <sthirum6 at asu.edu>
Envoyé : mercredi 9 octobre 2019 06:01
À : STUTE Simon
Objet : Castor installation and launch error - help

Hi Simon,

  I am new to CASToR. I installed it and I am trying to convert the ROOT file from GATE simulation as Castor data file and geom file for analysis. But, I am getting the following message. Could you please let me know how to launch CASToR and use the tool? I would really appreciate your help on this.

  I sent the same to the CASToR group list on Oct 3rd, 2019, but there was no response. Hence, I am sending this mail to you directly. I hope I did send it to the correct email list. - (castor-users at lists.castor-project.org<mailto:castor-users at lists.castor-project.org>).

1) cd castor_v2.1/bin
2) export CASTOR_CONFIG=/home/sowmiya/castor_v2.1/config/
3) castor_v2.1$ castor-GATERootToCastor -i ../../PET_eg_output.root -o PET_phantom -m ../../PET_CylindricalPET_System.mac -geo -s PET_phantom

castor-GATERootToCastor: command not found

So, I tried to build CASToR with export CASTOR_ROOT=1. But, I am getting the following errors:

Making dependencies for datafile/iEventListPET.cc ...
Making dependencies for datafile/iDataFilePET.cc ...
make: root-config: Command not found
Making dependencies for algorithm/oIterativeAlgorithm.cc ...
Making dependencies for algorithm/oSensitivityGenerator.cc ...
In file included from toolkits/castor-GATEMacToGeom.cc:42:0:
include/management/gDataConversionUtilities.hh:44:21: fatal error: TROOT.h: No such file or directory
compilation terminated.
In file included from toolkits/castor-GATERootToCastor.cc:38:0:
include/management/gDataConversionUtilities.hh:44:21: fatal error: TROOT.h: No such file or directory
compilation terminated.
In file included from src/management/gDataConversionUtilities.cc:32:0:
include/management/gDataConversionUtilities.hh:44:21: fatal error: TROOT.h: No such file or directory
compilation terminated.
toolkits/castor-datafileConversionEx.cc:49:21: fatal error: TROOT.h: No such file or directory
compilation terminated.
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found


Thanks & Regards
Sowmiya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.castor-project.org/pipermail/castor-users/attachments/20191009/2588335c/attachment-0001.html>


More information about the Castor-users mailing list