I will bring this test up at Wednesday hack-a-thon. Will you be able to attend via Google hangout? We could really use you on several issues.<br><br>Bill<br><br><div class="gmail_quote">On Sun, Feb 24, 2013 at 2:44 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">To complicate things further, the mapper uses a multithreaded helper<br>
filter internally: vtkVolumeRayCastSpaceLeapingImageFilter. And there<br>
isn't any way for a user to control the number of threads used by the<br>
helper other than by setting the GlobalDefaultNumberOfThreads.<br>
<span class="HOEnZb"><font color="#888888"><br>
- David<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Sun, Feb 24, 2013 at 12:36 PM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>> wrote:<br>
> This is a complex test.<br>
><br>
> II had to set the number of threads in the mappers in the included file.<br>
> Then it fails when I explicitly set the number of threads for the mappers.<br>
><br>
> On Sun, Feb 24, 2013 at 1:51 PM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Ok, now it fails.<br>
>><br>
>> But, this test has a lot of filters other than volume mappers. If I<br>
>> explicitly set the number of threads to 1 for each volume mapper, it still<br>
>> fails.<br>
>><br>
>><br>
>><br>
>> On Sun, Feb 24, 2013 at 1:38 PM, David Gobbi <<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>><br>
>> wrote:<br>
>>><br>
>>> I see the failure on my MacBook Pro when I add the following<br>
>>> lines to the top of the test:<br>
>>><br>
>>> vtkMultiThreader multithread<br>
>>> multithread SetGlobalDefaultNumberOfThreads 64<br>
>>><br>
>>> The lines have to be added to the top (i.e. before the mappers<br>
>>> are instantiated) in order to take effect.<br>
>>><br>
>>> - David<br>
>>><br>
>>> On Sun, Feb 24, 2013 at 11:25 AM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
>>> wrote:<br>
>>> > I can't get to to fail on my fedora system. I get a 0 error no matter<br>
>>> > how<br>
>>> > many threads I specify. I'll try a couple of other systems I have<br>
>>> > access to.<br>
>>> ><br>
>>> ><br>
>>> > On Sun, Feb 24, 2013 at 1:17 PM, David Gobbi <<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>><br>
>>> > wrote:<br>
>>> >><br>
>>> >> I haven't been able to find the old mailing list discussions about<br>
>>> >> this topic, but here is the original bug report that I made in 2011<br>
>>> >> when I noticed the failing regression test. It gives instructions<br>
>>> >> that any developer can use to reproduce the bug.<br>
>>> >> <a href="http://www.vtk.org/Bug/view.php?id=12115" target="_blank">http://www.vtk.org/Bug/view.php?id=12115</a><br>
>>> >><br>
>>> >> A more recent report from a user who saw the same bug.<br>
>>> >> <a href="http://www.vtk.org/Bug/view.php?id=13420" target="_blank">http://www.vtk.org/Bug/view.php?id=13420</a><br>
>>> >><br>
>>> >> I've already fixed a few issues in this volume mapper related to<br>
>>> >> 32-bit overflow, but this threading bug should probably get the<br>
>>> >> attention of someone who is more familiar with the code.<br>
>>> >><br>
>>> >> - David<br>
>>> >><br>
>>> >><br>
>>> >> On Sun, Feb 24, 2013 at 10:34 AM, David Gobbi <<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>><br>
>>> >> wrote:<br>
>>> >> > Bill,<br>
>>> >> ><br>
>>> >> > I can reproduce the failure on any computer by increasing the<br>
>>> >> > DefaultNumberOfThreads in the multithreader.<br>
>>> >> ><br>
>>> >> > Also, this is the "fixed point" mapper, it uses integer arithmetic.<br>
>>> >> > It should produce _identical_ results on all platforms.<br>
>>> >> ><br>
>>> >> > I'll see if I can dig up some of my earlier list postings on it.<br>
>>> >> > I've<br>
>>> >> > spent many hours investigating this issue, both by myself and with<br>
>>> >> > other VTK users.<br>
>>> >> ><br>
>>> >> > - David<br>
>>> >> ><br>
>>> >> > On Sun, Feb 24, 2013 at 9:57 AM, Bill Lorensen<br>
>>> >> > <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
>>> >> > wrote:<br>
>>> >> >> David,<br>
>>> >> >><br>
>>> >> >> What makes you think this is a threading issue? The failng error is<br>
>>> >> >> pretty<br>
>>> >> >> low, <20 on all failing systems and the images look visually<br>
>>> >> >> similar.<br>
>>> >> >> <a href="http://open.cdash.org/testDetails.php?test=178462199&build=2824975" target="_blank">http://open.cdash.org/testDetails.php?test=178462199&build=2824975</a><br>
>>> >> >><br>
>>> >> >> Bill<br>
>>> >> >><br>
>>> >> >> --<br>
>>> >> >> Unpaid intern in BillsBasement at noware dot com<br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> > --<br>
>>> > Unpaid intern in BillsBasement at noware dot com<br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Unpaid intern in BillsBasement at noware dot com<br>
><br>
><br>
><br>
><br>
> --<br>
> Unpaid intern in BillsBasement at noware dot com<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br>