<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
Hi All,<br>
<br>
Just a heads up that last night I checked in a minor change to the
danarest plugin that allows it to be used with multiple threads.
Previously, it would seg. fault (or worse) if multiple threads were
used. It seems to run fine now with multiple threads. As a reminder,
you can run with multiple threads using something like this:<br>
<br>
hd_ana -PPLUGINS=danarest -PNTHREADS=16 hdgeant_smeared.hddm<br>
<br>
where the "16" could be set to "Ncores" to have it automatically
detect the number of cores available and launch an equal number of
threads.<br>
<br>
If you notice any funny behavior after updating, please let me know.<br>
<br>
Regards,<br>
<div class="moz-forward-container">-David<br>
<br>
-------- Original Message --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject:
</th>
<td>r9762 -
trunk/sim-recon/src/programs/Utilities/plugins/danarest</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
<td>Tue, 9 Oct 2012 21:00:42 -0400</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:Hall-D.SVN.Repository@jlab.org">Hall-D.SVN.Repository@jlab.org</a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">To: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:davidl@jlab.org">davidl@jlab.org</a>, <a class="moz-txt-link-abbreviated" href="mailto:brash@pcs.cnu.edu">brash@pcs.cnu.edu</a>, <a class="moz-txt-link-abbreviated" href="mailto:wolin@jlab.org">wolin@jlab.org</a>,
<a class="moz-txt-link-abbreviated" href="mailto:zisis@uregina.ca">zisis@uregina.ca</a>, <a class="moz-txt-link-abbreviated" href="mailto:mashephe@indiana.edu">mashephe@indiana.edu</a>,
<a class="moz-txt-link-abbreviated" href="mailto:remitche@indiana.edu">remitche@indiana.edu</a>, <a class="moz-txt-link-abbreviated" href="mailto:zihlmann@jlab.org">zihlmann@jlab.org</a>, <a class="moz-txt-link-abbreviated" href="mailto:somov@jlab.org">somov@jlab.org</a>,
<a class="moz-txt-link-abbreviated" href="mailto:staylor@jlab.org">staylor@jlab.org</a>, <a class="moz-txt-link-abbreviated" href="mailto:kmoriya@indiana.edu">kmoriya@indiana.edu</a>, <a class="moz-txt-link-abbreviated" href="mailto:pmatt@jlab.org">pmatt@jlab.org</a>,
<a class="moz-txt-link-abbreviated" href="mailto:leckey@jlab.org">leckey@jlab.org</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>Author: davidl
Date: 2012-10-09 21:00:42 -0400 (Tue, 09 Oct 2012)
New Revision: 9762
Modified:
trunk/sim-recon/src/programs/Utilities/plugins/danarest/JEventProcessor_danarest.cc
trunk/sim-recon/src/programs/Utilities/plugins/danarest/JEventProcessor_danarest.h
Log:
Make the hddm_r::HDDM record object local instead of a class member so danarest can run with more than one thread.
</pre>
<br>
<br>
</div>
<br>
</body>
</html>