[Insight-developers] FloatingPointExceptions and failed tests in Mac

Bill Lorensen bill.lorensen at gmail.com
Fri Dec 17 17:05:38 EST 2010


//Enable Floating Point Exceptions for Testing
ITK_USE_FLOATINGPOINTEXCEPTIONS:BOOL=ON


On Fri, Dec 17, 2010 at 5:04 PM, Luis Ibanez <luis.ibanez at kitware.com> wrote:
> Hi Hans,
>
> What compilation options should I use in Mac in order
> to get the floating point exceptions to work ?
>
> I'll add them to the ctest script for thurmite.kitware.
>
>
>      Luis
>
>
> --------------------------------------------
> On Fri, Dec 17, 2010 at 11:15 AM, Hans Johnson <hans-johnson at uiowa.edu>
> wrote:
>>
>> Luis,
>>
>> Let’s not rule out the possibility that a different set of floating point
>> exceptions ARE Working on mac with the compile options.  So far the reported
>> errors have identified real problems in ITK.
>>
>> Hans
>>
>>
>>
>> On 12/17/10 10:11 AM, "Luis Ibanez" <luis.ibanez at kitware.com> wrote:
>>
>>
>> Kent, Hans, Brad,
>>
>> Looking closer at the tests that are failing in thurmite.kitware (a Mac
>> mini):
>>
>> In Debug mode: 19 failing tests:
>> http://www.cdash.org/CDash/viewTest.php?onlyfailed&buildid=803613
>>
>> and in Release mode, 139 failing tests:
>> http://www.cdash.org/CDash/viewTest.php?onlyfailed&buildid=802532
>>
>>
>> They turned out to be related to the fact that this build has ON the flag:
>>
>>                   ITK_USE_FLOATINGPOINTEXCEPTIONS
>>
>> When I turn the flag OFF, the build returns with only 6 tests failing:
>> http://www.cdash.org/CDash/viewTest.php?onlyfailed&buildid=803142
>>
>>
>> Are you aware of any reason why the floating point exceptions
>> shouldn't  work in a Mac ?
>>
>> and if so, ...
>> should we add some logic in the CMakeLists.txt file to
>> hide this flag when configuring in macs ?
>>
>>
>>
>>      Thanks
>>
>>
>>            Luis
>>
>>
>>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>
>


More information about the Insight-developers mailing list