New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failure on OSX in test_nlmeans_4d_3dsigma_and_threads #1265

Closed
matthew-brett opened this Issue Jun 19, 2017 · 4 comments

Comments

Projects
None yet
3 participants
@matthew-brett
Member

matthew-brett commented Jun 19, 2017

======================================================================
FAIL: dipy.denoise.tests.test_nlmeans.T
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildslave/osx-10.6/dipy-py2_7-osx-10_6/build/venv/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/Users/buildslave/osx-10.6/dipy-py2_7-osx-10_6/build/venv/lib/python2.7/site-packages/dipy/denoise/tests/test_nlmeans.py", line 127, in test_nlmeans_4d_3dsigma_and_threads
    assert_equal(duration_all_core < duration_2core, True)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 334, in assert_equal
    raise AssertionError(msg)
AssertionError: 
Items are not equal:
 ACTUAL: False
 DESIRED: True
-------------------- >> begin captured stdout << ---------------------
cpu count 4
1
16.0539901257
All
16.1180989742
2
16.1180989742

https://nipy.bic.berkeley.edu/builders/dipy-py2.7-osx-10.6/builds/712/steps/shell_9/logs/stdio

Is this a deterministic test?

@Garyfallidis

This comment has been minimized.

Member

Garyfallidis commented Jun 20, 2017

This test assumes that multi-threading is working on macosx and that omp.h is correctly found.

@matthew-brett

This comment has been minimized.

Member

matthew-brett commented Jun 20, 2017

Need to adapt to platforms where omp.h is not found?

@Garyfallidis

This comment has been minimized.

Member

Garyfallidis commented Jun 20, 2017

Let me check. We are now looking to the other error. The one with the cvxopt.

@arokem

This comment has been minimized.

@arokem arokem closed this Jun 20, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment