Fw:Re: [Gate-users] Problem on execution time and result file (rootformat) of Gate simulation
Tianyu Ma
maty at tsinghua.edu.cn
Fri Jul 21 05:03:26 CEST 2006
Hello Kim,
I suggest you try to use root to open the resultant root file
as follows (maybe you have known it):
1. type: root [yourfilename].root
2. type: TBrowser t
3. in the opened "root object Browser" window, double click
fist "root files", then "[yourfilename].root", then
"singles"
4. in the right split window, double click "time", then
a window will pop up report the statistics of the event time.
see if the time statistics is as what you specified in the
macro file.
If not, it is very likely that your simulation task was not
ended normally. There may be many reasons, I only list two possible
reasons which I experinced before:
1) If you submitted you computation task to a cluster, you should
check if the simulation time exceeds the maximum time limitation
of the computation job.
2) If your root file was not located in a local hard disk partition
but in a linux nfs partition, please be aware of it. I found that the
root file engine works unstable in nfs partition and may cause the
interruption of Gate simulation.
Best Regards, Tianyu Ma
2006-07-20
======================================
Tianyu Ma, Ph.D.
Department of Engineering Physics,
Tsinghua University, China
Tel: 86-10-62796201
Fax: 86-10-62795911
Email: maty at tsinghua.edu.cn
======================================
-------------------------------------------------------------
From:Tae Hyong Kim
Date:2006-07-20 22:14:52
To:gate-users at lists.healthgrid.org
Subject:[Gate-users] Problem on execution time and result file (rootformat) of Gate simulation
>Hi, everyone.
>
>I have tried to run 3 different simulations using Gate. I set
>configurations on gate simulation macro files of each case exactly the
>same except followings, acquisition time. So I was expected to have 10
>times more number of event entries of Case2 than that of Case1 because I
>set the execution time of case 2 to 10 times longer than Case 1. In
>addition, I was also expected to have 50 times more event entries of Case
>3 than Case 1. But I have almost similar number of event entries in result
>file (root format). I also found that the size of the result file is
>similar to each other. For example, the file size of the first case and
>second case is 115396257 bytes, and the third case is 116640333 bytes. I
>thought that the file size should be 10 times or 50times larger than case
>1. Finally, I found that there were warning messages when I opened each
>result file saying that
>'Warning in <TFile::Init>: file output.root probably not closed, trying to
>recover
>Info in <TFile::Recover>: output.root, recovered key TTree:Coincidences at
>address 114731756
>Warning in <TFile::Init>: successfully recovered 1 keys'.
>
>[Case1]
>/gate/application/setTimeSlice 12.0 s
>/gate/application/setTimeStart 0. s
>/gate/application/setTimeStop 12.0 s
>
>[Case2, 10 times longer than Case 1]
>/gate/application/setTimeSlice 120 s
>/gate/application/setTimeStart 0. s
>/gate/application/setTimeStop 120 s
>
>[Case3, 50 times longer than Case 1]
>/gate/application/setTimeSlice 600 s
>/gate/application/setTimeStart 0. s
>/gate/application/setTimeStop 600 s
>
>Here are my questions.
>1. Is there a limitation of the result file size or simulation
>execution time? If there is, does it depend on the system specification or
>gate configuration?
>2. Does the warning message affect the number of event entries? If it
>is, what might be the solution of the warning messages?
>3. In general, how may I deal with this problem? Please give me an
>advice.
>
>Thank you.
>
>Sincerely,
>Taehyong Kim
>
>_______________________________________________
>Gate-users mailing list
>Gate-users at lists.healthgrid.org
>http://lists.healthgrid.org/mailman/listinfo/gate-users
More information about the Gate-users
mailing list