<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div></div><br><div><div>On Mar 14, 2014, at 1:22 PM, Sean Dobbs wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi Paul,<div><br></div><div>I'd like to look at that event in some detail, and am looking at the hd_dump output right now.  Can you confirm what the problem DTrackCandidate is on the list below (i.e. is it the second one?)</div>
<div><br></div><div><br></div><div><div>DTrackCandidate:</div><div> PID:    Name:  q: x(cm): y(cm): z(cm): E(GeV): t(ns): p(GeV/c): theta(deg): phi(deg):         id:     chisq: Ndof:</div><div>-------------------------------------------------------------------------------------------------------------------</div>
<div>   0  Unknown  +1   -7.1   -6.3  100.1  0.6591  0.000     0.659      15.849  -148.710  0x1b1f6a70  35.961708    10 </div><div>   0  Unknown  +1   -7.3    6.0  112.8  0.3127  0.000     0.313      19.422   128.665  0x11d642a0  15.871287    12 </div>
<div>   0  Unknown  -1    4.9    8.1   95.3  0.8981  0.000     0.898      22.813    62.311  0x112adea0  10.248627     9 </div><div>   0  Unknown  +1   -6.3   -7.1   75.5  0.7139  0.000     0.714       6.655  -147.993  0x1d7c6050  11.376116     3 </div>
<div>   0  Unknown  -1    4.6   10.1  167.9  1.0669  0.000     1.067       6.823    79.946  0x1e7a4ca0   3.746347     8 </div><div>   0  Unknown  -1   -7.4  -12.4  167.9  0.5313  0.000     0.531       8.868   -90.505  0x1d29d230  38.236427    12 </div>
<div>   0  Unknown  -1   -3.7   -1.7  167.9  0.2730  0.000     0.273       2.788   -96.878  0x132281a0   7.396164     6 </div><div>   0  Unknown  +1  -25.4   -1.5  167.9  6.2217  0.000     6.222      13.620   169.034  0x11346220  18.706890     7 </div>
<div>   0  Unknown  +1   -9.7  -11.0  233.7  2.2539  0.000     2.254       6.024  -147.778  0x1d0cc7d0   8.066071    10 </div><div>   0  Unknown  -1  -19.5   -2.7  292.1  0.0753  0.000     0.075       5.091    70.522  0x1fea48a0  40.620304     6 </div>
<div>   0  Unknown  -1    4.5    8.8  234.7  0.8029  0.000     0.803       3.772  -151.003  0x1ed4cf60  31.882702     4 </div><div>   0  Unknown  +1  -20.2   -2.8  236.8  1.0370  0.000     1.037       7.027   157.478  0x1835f360  85.737801     4 </div>
</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 14, 2014 at 10:44 AM, Paul Mattione <span dir="ltr"><<a href="mailto:pmatt@jlab.org" target="_blank">pmatt@jlab.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
<div>The difference is for:</div>
<div><br>
</div>
<div>Event #1339, Track Candidate #2, DTrackCandidate pz & z0.</div>
<div><br>
</div>
<div>We need to find which track candidate factory this is coming from still.  </div><span class="HOEnZb"><font color="#888888">
<div><br>
</div>
<div> - Paul</div>
<br>
</font></span><div><div class="">
<div>On Mar 14, 2014, at 8:44 AM, Beni Zihlmann wrote:</div>
<br>
</div><blockquote type="cite">
<div bgcolor="#FFFFFF" text="#000000"><div class="">
<div>Hi Paul,<br>
yea! I see a very similar thing. I run single threaded but with two different groups<br>
once using hd_root and once using hd_dump both with my plugin. The group<br>
using hd_root is consistent in itself and the group with hd_dump agrees with<br>
the group of hd_root except for one run! And yes its event 1339!<br>
<br>
Event  #Tracks #CDCHits #FDCHits #+tracsk #-tracks #Neutrals<br>
---------------------------------------------------------------------------------------<br>
1336    8     51  169  6  2   11<br>
1337    9    68  491  7  2   7<br>
1338    16  81  817  10  6   6<br>
1339    21  43  1398  11  10   17     >>>>> 1339    21  43  1398  11  10   18<br>
1340    14  42  1067  8  6   16<br>
<br>
<br>
different # of Neutrals!<br>
<br>
cheers,<br>
Beni<br>
<br>
</div>
</div><blockquote type="cite"><div class="">
<div>I ran 32 single-threaded jobs with the new software, and I see nearly identical results, but not quite.  Half of the REST files have one identical file size (and identical contents), and the other half have a different identical file size (and identical
 contents).  This is true whether I run with saving the time-based tracking results or the wire-based tracking results to REST.  The attached "diff" files show the difference for each case (via hddm-xml).  </div>

<div><br>
</div>
<div>This difference is isolated to one event: #1339 in the file I linked everyone to a week ago.  In fact, while three wire-based and time-based tracks are listed, they all have the same candidate id: 2.  </div>
<div><br>
</div>
<div>We've got it cornered Simon!  Now let's finish it off! </div>
<div><br>
</div>
<div> - Paul</div>
<div><br>
</div>
<br>
<fieldset></fieldset> <br>
<br>
<fieldset></fieldset> <br>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div><div><div class="">
<div>On Mar 13, 2014, at 6:56 PM, Sean Dobbs wrote:</div>
<br>
</div><div><div class="h5"><blockquote type="cite">
<div dir="ltr">
<div class="gmail_quote"><br>
<br>
<div dir="ltr">Hi all,
<div><br>
</div>
<div>I checked out and built a clean version with the new tags and am now seeing consistent results when running with one thread and 4 threads.</div>
<span><font color="#888888">
<div><br>
</div>
<div><br>
</div>
<div>---Sean</div>
</font></span></div>
<div>
<div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Mar 13, 2014 at 2:37 PM, Mark Ito <span dir="ltr">
<<a href="mailto:marki@jlab.org" target="_blank">marki@jlab.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Still seeing differences of the same ilk as previously reported.<br>
<div>
<div><br>
On 03/13/2014 02:31 PM, Mark Ito wrote:<br>
> I've re-tagged to reflect this change: tags/sim-recon-2.5 .<br>
><br>
> On 03/13/2014 02:12 PM, Simon Taylor wrote:<br>
>> I have checked in some changes to the tracking code that appear to<br>
>> address the valgrind errors mentioned below.<br>
>><br>
>> Simon<br>
>><br>
>> On 03/12/2014 03:59 PM, Matthew Shepherd wrote:<br>
>>> Having just spent many frustrating hours hunting down my own separate non-deterministic bug I was motivated to run hd_dump -DTrackWireBased through valgrind.<br>
>>><br>
>>> The error below seems suspicious and could result in non-determinstic behaviour, although valgrind is known to generate "errors" where there are none.  I didn't have time to look at the code since I have to run to another meeting, but thought I would pass
 it on.<br>
>>><br>
>>> Matt<br>
>>><br>
>>><br>
>>> ==7443== Conditional jump or move depends on uninitialised value(s)<br>
>>> ==7443==    at 0x88F769: DTrackFitterKalmanSIMD::KalmanForwardCDC(double, DMatrix5x1&, DMatrix5x5&, double&, unsigned int&) (in /home/fs1/mashephe/gluex/my_src/bin/Linux_CentOS6-x86_64-gcc4.4.6/hd_dump)<br>

>>> ==7443==    by 0x8926C4: DTrackFitterKalmanSIMD::ForwardCDCFit(DMatrix5x1 const&, DMatrix5x5 const&) (in /home/fs1/mashephe/gluex/my_src/bin/Linux_CentOS6-x86_64-gcc4.4.6/hd_dump)<br>
>>> ==7443==    by 0x89762A: DTrackFitterKalmanSIMD::KalmanLoop() (in /home/fs1/mashephe/gluex/my_src/bin/Linux_CentOS6-x86_64-gcc4.4.6/hd_dump)<br>
>>> ==7443==    by 0x898315: DTrackFitterKalmanSIMD::FitTrack() (in /home/fs1/mashephe/gluex/my_src/bin/Linux_CentOS6-x86_64-gcc4.4.6/hd_dump)<br>
>>> ==7443==    by 0x84B8CB: DTrackFitter::FindHitsAndFitTrack(DKinematicData const&, DReferenceTrajectory const*, jana::JEventLoop*, double, int, double, DetectorSystem_t) (in /home/fs1/mashephe/gluex/my_src/bin/Linux_CentOS6-x86_64-gcc4.4.6/hd_dump)<br>

>>> ==7443==    by 0x8C25D7: DTrackWireBased_factory::DoFit(unsigned int, DTrackCandidate const*, DReferenceTrajectory*, jana::JEventLoop*, double) (in /home/fs1/mashephe/gluex/my_src/bin/Linux_CentOS6-x86_64-gcc4.4.6/hd_dump)<br>

>>> ==7443==    by 0x8C4803: DTrackWireBased_factory::evnt(jana::JEventLoop*, int) (in /home/fs1/mashephe/gluex/my_src/bin/Linux_CentOS6-x86_64-gcc4.4.6/hd_dump)<br>
>>> ==7443==    by 0x6C8F38: jana::JFactory<DTrackWireBased>::Get(std::vector<DTrackWireBased const*, std::allocator<DTrackWireBased const*> >&) (in /home/fs1/mashephe/gluex/my_src/bin/Linux_CentOS6-x86_64-gcc4.4.6/hd_dump)<br>

>>> ==7443==    by 0x6C97EC: jana::JFactory<DTrackWireBased>* jana::JEventLoop::GetFromFactory<DTrackWireBased>(std::vector<DTrackWireBased const*, std::allocator<DTrackWireBased const*> >&, char const*, jana::JEventLoop::data_source_t&, bool) (in /home/fs1/mashephe/gluex/my_src/bin/Linux_CentOS6-x86_64-gcc4.4.6/hd_dump)<br>

>>> ==7443==    by 0x6C9A84: jana::JFactory<DTrackWireBased>* jana::JEventLoop::Get<DTrackWireBased>(std::vector<DTrackWireBased const*, std::allocator<DTrackWireBased const*> >&, char const*, bool) (in /home/fs1/mashephe/gluex/my_src/bin/Linux_CentOS6-x86_64-gcc4.4.6/hd_dump)<br>

>>> ==7443==    by 0x6CA153: jana::JFactory<DTrackWireBased>::GetNrows() (in /home/fs1/mashephe/gluex/my_src/bin/Linux_CentOS6-x86_64-gcc4.4.6/hd_dump)<br>
>>> ==7443==    by 0x571A39: MyProcessor::evnt(jana::JEventLoop*, int) (in /home/fs1/mashephe/gluex/my_src/bin/Linux_CentOS6-x86_64-gcc4.4.6/hd_dump)<br>
>>><br>
>>><br>
>> _______________________________________________<br>
>> Halld-offline mailing list<br>
>> <a href="mailto:Halld-offline@jlab.org" target="_blank">
Halld-offline@jlab.org</a><br>
>> <a href="https://mailman.jlab.org/mailman/listinfo/halld-offline" target="_blank">
https://mailman.jlab.org/mailman/listinfo/halld-offline</a><br>
<br>
--<br>
Mark M. Ito, Jefferson Lab, <a href="mailto:marki@jlab.org" target="_blank">
marki@jlab.org</a>, <a href="tel:%28757%29269-5295" value="+17572695295" target="_blank">
(757)269-5295</a><br>
<br>
_______________________________________________<br>
Halld-offline mailing list<br>
<a href="mailto:Halld-offline@jlab.org" target="_blank">Halld-offline@jlab.org</a><br>
<a href="https://mailman.jlab.org/mailman/listinfo/halld-offline" target="_blank">https://mailman.jlab.org/mailman/listinfo/halld-offline</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">Sean Dobbs<br>
Department of Physics & Astronomy <br>
Northwestern University<br>
phone: <a href="tel:847-467-2826" value="+18474672826" target="_blank">847-467-2826</a></div>
</div>
_______________________________________________<br>
Halld-offline mailing list<br>
<a href="mailto:Halld-offline@jlab.org" target="_blank">Halld-offline@jlab.org</a><br>
<a href="https://mailman.jlab.org/mailman/listinfo/halld-offline" target="_blank">https://mailman.jlab.org/mailman/listinfo/halld-offline</a></blockquote>
</div></div></div><div><div class="h5">
<br>
<br>
<fieldset></fieldset> <br>
<pre>_______________________________________________
Halld-offline mailing list
<a href="mailto:Halld-offline@jlab.org" target="_blank">Halld-offline@jlab.org</a>
<a href="https://mailman.jlab.org/mailman/listinfo/halld-offline" target="_blank">https://mailman.jlab.org/mailman/listinfo/halld-offline</a></pre>
</div></div></blockquote>
<br>
</div><div><div class="h5">
_______________________________________________<br>
Halld-offline mailing list<br>
<a href="mailto:Halld-offline@jlab.org" target="_blank">Halld-offline@jlab.org</a><br>
<a href="https://mailman.jlab.org/mailman/listinfo/halld-offline" target="_blank">https://mailman.jlab.org/mailman/listinfo/halld-offline</a></div></div></blockquote>
</div>
<br>
</div>

</blockquote></div><br></div>
</blockquote></div><br></body></html>