<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<b>I don't have the 2G limit, but I am running GATE on a 64-bits
machine and it may be an explanation. But I copy/paste one of
Fernando's email from last October and it seems that the 2G limit is
not a limit anymore with the new version!<br>
So, try to update your version of ROOT and see if it solves the problem.<br>
<br>
Hope this helps,<br>
Corinne<br>
<br>
<i><font color="#3333ff">Fernando Rannou</font></i></b><i><font
color="#3333ff"> <a
href="mailto:gate-devel%40lphe1pet1.epfl.ch?Subject=%5Bgate-devel%5D%202%20Giga%20limit%20ain%27t%20no%20more%20%28%3F%29&In-Reply-To="
title="[gate-devel] 2 Giga limit ain't no more (?)">rannou at
mednet.ucla.edu </a><br>
Sat Oct 16 23:09:01 CEST 2004</font></i>
<ul>
<li><i><font color="#3333ff">Previous message: <a
href="http://www-lphe.epfl.ch/%7EPET/OpenGATE/documentation/GATE-DEVEL_TALK/html/2004-October/002471.html">[gate-devel]
Update on the bug in the Voxels
</a></font></i></li>
<li><i><font color="#3333ff">Next message: <a
href="http://www-lphe.epfl.ch/%7EPET/OpenGATE/documentation/GATE-DEVEL_TALK/html/2004-October/002476.html">[gate-devel]
GateToASCIIMessenger
</a></font></i></li>
<li> <i><font color="#3333ff"><b>Messages sorted by:</b> <a
href="http://www-lphe.epfl.ch/%7EPET/OpenGATE/documentation/GATE-DEVEL_TALK/html/2004-October/date.html#2474">[
date ]</a> <a
href="http://www-lphe.epfl.ch/%7EPET/OpenGATE/documentation/GATE-DEVEL_TALK/html/2004-October/thread.html#2474">[
thread ]</a> <a
href="http://www-lphe.epfl.ch/%7EPET/OpenGATE/documentation/GATE-DEVEL_TALK/html/2004-October/subject.html#2474">[
subject ]</a> <a
href="http://www-lphe.epfl.ch/%7EPET/OpenGATE/documentation/GATE-DEVEL_TALK/html/2004-October/author.html#2474">[
author ]</a></font></i> </li>
</ul>
<hr><!--beginarticle-->
<pre><i><font color="#3333ff">Dear Gaters,
look at this ls -la command:
-rw-r--r-- 1 rannou isl 3.7G Oct 19 10:13
ptsrc_10mmLead_0.0_Large.root
Yeap, a 3.7 Giga bytes ROOT file. This file contains singles and
coincidences.
I then processed the file with a .C program to create my listmode data
and everything went smooth. The listmode file was smaller than 2Giga though.
But In theory the latest version of ROOT can read and write files larger
than 2 Gigabytes
What to do:
1) update ROOT to version v4.01.02.
2) edit the petsim/include/GateToRoot.hh file as follows:
In the class SingleOutputChannel : public VOutputChannel,
in the inline method Book, add the SetMaxTreeSize call to set the
maximum size of the Singles tree.
inline void Book()
{
m_collectionID=-1;
if (m_outputFlag) {
m_tree = new GateSingleTree(m_collectionName);
m_tree->SetMaxTreeSize(17179869184L);
m_tree->Init(m_buffer);
}
}
Do the same for
class CoincidenceOutputChannel : public VOutputChannel
inline void Book()
{
m_collectionID=-1;
if (m_outputFlag) {
m_tree = new GateCoincTree(m_collectionName);
m_tree->SetMaxTreeSize(17179869184L);
m_tree->Init(m_buffer);
}
}
3) Recompile Gate
The method TTree::SetMaxTreeSize(Long64_t maxsize) takes a 64 bits Long,
so in theory you could
go all the way to 2^64=18446744073709550000 bytes, if unsigned (I'm not
sure, maybe is only to 2^63).
Right now, the value I 'm using is 16Gb.
I got all this info from ROOT people. Who can help me test this? We
would need to decide what
max size value to use in the GATE release.
Fernando</font></i></pre>
<br>
<br>
Nehmeh, Sadek/Medical Physics wrote:
<blockquote
cite="mid2867578BB7767E45B3C9E3CBA9C5A65F7F05CE@smskpexmbx3.mskcc.root.mskcc.org"
type="cite">
<pre wrap="">Theodore, I know there is 2GB limitation in the root file size. One way
to analyze your data, and that's how I do it, is to loop over the root
files and do you analysis on a file-by-file basis, while you update your
output information. Another thing you may need to be careful with when
you combine your root files into one is that some variables, like for
example the eventID which will be incremented to cover the total number
if events from all runs, may exceed the max number allowed for an
integer for example. In this case, random numbers will be assigned to
the varaible.
        Regards,
        Sadek
----------------------------------------
Sadek A. Nehmeh, Ph.D.
Assistant Attending Physicist
Medical Physics Department
Nuclear Medicine Service
Memorial Sloan-Kettering Cancer Center
Tel: (212)-639-2175
Email: <a class="moz-txt-link-abbreviated" href="mailto:nehmehs@mskcc.org">nehmehs@mskcc.org</a>
------------------------------------------
-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:gate-users-bounces@lphe1pet1.epfl.ch">gate-users-bounces@lphe1pet1.epfl.ch</a>
[<a class="moz-txt-link-freetext" href="mailto:gate-users-bounces@lphe1pet1.epfl.ch">mailto:gate-users-bounces@lphe1pet1.epfl.ch</a>] On Behalf Of Mutanga
Theodore
Sent: Sunday, December 12, 2004 7:28 AM
To: <a class="moz-txt-link-abbreviated" href="mailto:gate-users@lphe1pet1.epfl.ch">gate-users@lphe1pet1.epfl.ch</a>
Subject: [gate-users] root file size
Greetings, I am running some 100 simulations in batch mode on the
cluster, 50 % of them succeeded and I have to collect the files together
to get one big root file.And also the .ima , .dim and .info files.
I tried to use Dirk K's Combine.C code to combine the files. The
resulting output file is still split into other smaller files when the
size gets to about 2G.
Is there some means of not having this split , ? I don't know how to
analyze the files with root if I have them seperated.
Regards
Theo
_______________________________________________
gate-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gate-users@lphe1pet1.epfl.ch">gate-users@lphe1pet1.epfl.ch</a>
<a class="moz-txt-link-freetext" href="http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users">http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users</a>
=====================================================================
Please note that this e-mail and any files transmitted with it may be
privileged, confidential, and protected from disclosure under
applicable law. If the reader of this message is not the intended
recipient, or an employee or agent responsible for delivering this
message to the intended recipient, you are hereby notified that any
reading, dissemination, distribution, copying, or other use of this
communication or any of its attachments is strictly prohibited. If
you have received this communication in error, please notify the
sender immediately by replying to this message and deleting this
message, any attachments, and all copies and backups from your
computer.
_______________________________________________
gate-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gate-users@lphe1pet1.epfl.ch">gate-users@lphe1pet1.epfl.ch</a>
<a class="moz-txt-link-freetext" href="http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users">http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<link rel="important stylesheet"
href="chrome://messenger/skin/messageBody.css">
<title>message</title>
<div class="moz-text-html" lang="x-western">
<div style="text-align: center; font-style: italic;">
<div style="text-align: left;"><font style="color: rgb(102, 102, 102);"
size="-1">Corinne
J. Groiselle, PhD</font><font style="color: rgb(102, 102, 102);"
size="-1"><br style="font-family: times new roman,times,serif;">
</font></div>
<div
style="text-align: left; font-family: times new roman,times,serif; color: rgb(102, 102, 102);"><font
size="-1">Instructor of Radiology<br>
</font><font size="-1"><br>
Department of Radiology </font><font size="-1">/
Division
of Nuclear Medicine<br>
University
of Massachusetts Medical School <br>
55 Lake
Avenue North<br>
Worcester, MA 01655<br>
USA<br>
<br>
<u>Phone</u>:
(508)-856-6123 - FAX:
(508)-856-4572<br>
<u>Email</u>:
<a class="moz-txt-link-abbreviated" href="mailto:Corinne.Groiselle@umassmed.edu">Corinne.Groiselle@umassmed.edu</a> <u><br>
Professional
homepage</u>: <a class="moz-txt-link-freetext" href="http://users.umassmed.edu/corinne.groiselle">http://users.umassmed.edu/corinne.groiselle</a><br>
<span style="text-decoration: underline;">Official faculty page</span>:
<a class="moz-txt-link-freetext" href="http://www.umassmed.edu/faculty/show.cfm?faculty=731">http://www.umassmed.edu/faculty/show.cfm?faculty=731</a><br>
<u>Personal
homepage</u>: <a class="moz-txt-link-freetext" href="http://corinne.groiselle.free.fr">http://corinne.groiselle.free.fr</a></font> </div>
</div>
<br>
<br>
</div>
</div>
</body>
</html>