Boost C++ Libraries: Ticket #3825: Problems running Boost Math tests on AIX + GCC https://svn.boost.org/trac10/ticket/3825 <p> I've been running the Boost Math tests on AIX and nearly all of them fail with a floating point error. </p> <p> For example, from test_bessel_i, I get: </p> <p> boost/math/tools/test.hpp(213): error in "test_main_caller( argc, argv )": Unexpected exception. CAUTION: Gross error found at entry 2. Found: 0 Expected 2.27959 Error: 1.93926e+38 0 </p> <p> boost/math/tools/test.hpp(242): error in "test_main_caller( argc, argv )": Gross error 0, 4, 11.301922 </p> <p> .... </p> <p> Are there any special instructions for using the library on AIX? I couldn't see any in the Jamfile. The version of GCC here is 4.3.4 </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3825 Trac 1.4.3 John Maddock Thu, 07 Jan 2010 09:44:25 GMT status changed https://svn.boost.org/trac10/ticket/3825#comment:1 https://svn.boost.org/trac10/ticket/3825#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> Unfortunately I don't have access to an AIX machine, so I can't really test this :-( </p> <p> I believe that pretty much everything works OK with IBM's compiler though. </p> <p> Can you let me have the full output of the regression test run - the output above seems mixed up somehow. </p> <p> The usual solution for gcc problems is to define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS in boost/math/tools/config.hpp which may be worth a try in this case, it would be nice to get to the cause of the problem though. </p> <p> You can email me direct at john@… if it's easier than using the interface here as well, </p> <p> Cheers, John. </p> Ticket Sohail Somani Thu, 07 Jan 2010 16:39:53 GMT <link>https://svn.boost.org/trac10/ticket/3825#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3825#comment:2</guid> <description> <p> Setting the define does make the tests start passing. I'll see if we need long double support or not to see if I should test further. Thanks a lot! </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Thu, 06 May 2010 10:21:19 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3825#comment:3 https://svn.boost.org/trac10/ticket/3825#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/61806" title="Disable long double support when the C++ runtime does not support it ...">[61806]</a>) Disable long double support when the C++ runtime does not support it either. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3825" title="#3825: Bugs: Problems running Boost Math tests on AIX + GCC (closed: fixed)">#3825</a>. </p> Ticket