[Gate-users] benchmark
Suhaili Zakaria
suhailiz at gmail.com
Fri May 18 05:51:13 CEST 2007
Hi all,
Can someone help me with these problems?
When I tried to run benchmark macros (i.e. SPECTbench.mac and
benchmarkPET.mac), these problems occur:
1. There is no file for benchSPECT.root.
When I typed root [0] .x benchSPECT.C
I have this message: Error in <TFile::TFile> file does not exist
Error: illegal pointer to class object
Singles 0´0 133 benchSPECT.C:21
1. When tried to complie benchmark_spectra.c using:
gcc -o benchmark_spectra benchmark_spectra.c –lm
I got this message:
benchmark_spectra.c: In function â:
benchmark_spectra.c:768: error: missing terminating " character
benchmark_spectra.c:769: error: â undeclared (first use in this function)
benchmark_spectra.c:769: error: (Each undeclared identifier is reported only
once
benchmark_spectra.c:769: error: for each function it appears in.)
benchmark_spectra.c:769: error: missing terminating " character
benchmark_spectra.c:771: error: syntax error before â token
1. Same goes with benchmark_spectra.c
benchmark_projections.c: In function â:
benchmark_projections.c:662: error: missing terminating " character
benchmark_projections.c:663: error: â undeclared (first use in this
function)
benchmark_projections.c:663: error: (Each undeclared identifier is reported
only once
benchmark_projections.c:663: error: for each function it appears in.)
benchmark_projections.c:663: error: syntax error before â
benchmark_projections.c:663: error: stray â in program
benchmark_projections.c:663: error: missing terminating " character
1. Does x. file.C file always appear after simulation runs? And how to
convert .root file to .C file?
1. For benchmarkPET.mac, are there no files for benchmark_spectra.c
and benchmark_projections.c? Why?
I really appreciate your help and explanation. Looking forward to your
replies.
Many thanks,
S
* *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20070518/010f0022/attachment.htm>
More information about the Gate-users
mailing list