Hi Luc,
I don't think your fix will help with the other two tests that failed (note failed, not crashed) with the -ffast-math flag. In some ways these are more concerning than the floating point crash as I don't even know where to begin to track down the problematic lines of code. Could you confirm whether the following two tests fail for you after your latest change?
libtbx.python "/Users/rjgildea/tmp/tst_bootstrap/tmp/modules/cctbx_project/cctbx/maptbx/boost_python/tst_maptbx.py" [FAIL]
Time: 4.96
Return code: 1
OKs: 0
Standard error:
Traceback (most recent call last):
File "/Users/rjgildea/tmp/tst_bootstrap/tmp/modules/cctbx_project/cctbx/maptbx/boost_python/tst_maptbx.py", line 1395, in <module>
run(args=sys.argv[1:])
File "/Users/rjgildea/tmp/tst_bootstrap/tmp/modules/cctbx_project/cctbx/maptbx/boost_python/tst_maptbx.py", line 1373, in run
exercise_misc()
File "/Users/rjgildea/tmp/tst_bootstrap/tmp/modules/cctbx_project/cctbx/maptbx/boost_python/tst_maptbx.py", line 365, in exercise_misc
assert (approx_equal(stats.min, 8.3, eps=0.1))
AssertionError
libtbx.python "/Users/rjgildea/tmp/tst_bootstrap/tmp/modules/cctbx_project/scitbx/lbfgs/tst_lbfgs_fem.py" [FAIL]
Time: 14.01
Return code: 1
OKs: 0
Standard error:
Traceback (most recent call last):
File "/Users/rjgildea/tmp/tst_bootstrap/tmp/modules/cctbx_project/scitbx/lbfgs/tst_lbfgs_fem.py", line 159, in <module>
run(sys.argv[1:])
File "/Users/rjgildea/tmp/tst_bootstrap/tmp/modules/cctbx_project/scitbx/lbfgs/tst_lbfgs_fem.py", line 154, in run
compare_implementations()
File "/Users/rjgildea/tmp/tst_bootstrap/tmp/modules/cctbx_project/scitbx/lbfgs/tst_lbfgs_fem.py", line 130, in compare_implementations
this_script=this_script, n=n, m=m, iprint=[iprint1, iprint2])
File "/Users/rjgildea/tmp/tst_bootstrap/tmp/modules/cctbx_project/scitbx/lbfgs/tst_lbfgs_fem.py", line 117, in run_and_compare_implementations
assert not show_diff(a, b)
AssertionError
Cheers,
Richard
Dr Richard Gildea
Data Analysis Scientist
Tel: +441235 77 8078
Diamond Light Source Ltd.
Diamond House
Harwell Science & Innovation Campus
Didcot
Oxfordshire
OX11 0DE
________________________________
From: [email protected] [[email protected]] on behalf of Luc Bourhis [[email protected]]
Sent: 07 April 2016 02:31
To: cctbx mailing list
Subject: Re: [cctbxbb] Boost broken on mac?
Morning Marcin,
On 7 Apr 2016, at 02:15, Marcin Wojdyr