Skip to content
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

reduces precision of mdivide_left test for Intel MKL library #130

Merged
merged 1 commit into from
Jul 29, 2015

Conversation

syclik
Copy link
Member

@syclik syclik commented Jul 25, 2015

Summary:

Reduces the precision of the mdivide_left test. Hopefully this will pass on the Intel MKL library

Intended Effect:

This has no effect on the code base. Just the test, which was failing with the Intel compiler with MKL library, which we don't have to test against.

How to Verify:

Run tests.

Side Effects:

None that we know of.

Documentation:

N/A

Reviewer Suggestions:

@wds15, can you check to make sure this branch passes tests?

@syclik syclik added this to the v2.7.0++ milestone Jul 25, 2015
@wds15
Copy link
Contributor

wds15 commented Jul 25, 2015

Hi!

Sure, will run tests asap.

Thanks.

Von meinem iPad gesendet

Am 25.07.2015 um 18:05 schrieb Daniel Lee notifications@github.com:

Summary:

Reduces the precision of the mdivide_left test. Hopefully this will pass on the Intel MKL library

Intended Effect:

This has no effect on the code base. Just the test, which was failing with the Intel compiler with MKL library, which we don't have to test against.

How to Verify:

Run tests.

Side Effects:

None that we know of.

Documentation:

N/A

Reviewer Suggestions:

@wds15, can you check to make sure this branch passes tests?

You can view, comment on, or merge this pull request online at:

#130

Commit Summary

Fixes #122. reduces precision of mdivide_left test for Intel MKL library
File Changes

M test/unit/math/rev/mat/fun/mdivide_left_test.cpp (32)
Patch Links:

https://github.com/stan-dev/math/pull/130.patch
https://github.com/stan-dev/math/pull/130.diff

Reply to this email directly or view it on GitHub.

@wds15
Copy link
Contributor

wds15 commented Jul 27, 2015

I can confirm, that the mdivide tests in question do work now with Intel MKL. However, on this branch the choleskey decompose has some trouble:

[----------] 5 tests from AgradMixMatrixCholeskyDecompose
[ RUN ] AgradMixMatrixCholeskyDecompose.exception_mat_fv
[ OK ] AgradMixMatrixCholeskyDecompose.exception_mat_fv (0 ms)
[ RUN ] AgradMixMatrixCholeskyDecompose.exception_mat_ffv
[ OK ] AgradMixMatrixCholeskyDecompose.exception_mat_ffv (0 ms)
[ RUN ] AgradMixMatrixCholeskyDecompose.mat_1st_deriv
unknown file: Failure
C++ exception with description "cholesky_decompose: Cholesky decomposition of m failed" thrown in the test body.
[ FAILED ] AgradMixMatrixCholeskyDecompose.mat_1st_deriv (2 ms)
[ RUN ] AgradMixMatrixCholeskyDecompose.mat_2nd_deriv
unknown file: Failure
C++ exception with description "cholesky_decompose: Cholesky decomposition of m failed" thrown in the test body.
[ FAILED ] AgradMixMatrixCholeskyDecompose.mat_2nd_deriv (0 ms)
[ RUN ] AgradMixMatrixCholeskyDecompose.mat_3rd_deriv
unknown file: Failure
C++ exception with description "cholesky_decompose: Cholesky decomposition of m failed" thrown in the test body.
[ FAILED ] AgradMixMatrixCholeskyDecompose.mat_3rd_deriv (0 ms)
[----------] 5 tests from AgradMixMatrixCholeskyDecompose (2 ms total)

[----------] Global test environment tear-down
[==========] 5 tests from 1 test case ran. (2 ms total)
[ PASSED ] 2 tests.
[ FAILED ] 3 tests, listed below:
[ FAILED ] AgradMixMatrixCholeskyDecompose.mat_1st_deriv
[ FAILED ] AgradMixMatrixCholeskyDecompose.mat_2nd_deriv
[ FAILED ] AgradMixMatrixCholeskyDecompose.mat_3rd_deriv

3 FAILED TESTS

@syclik
Copy link
Member Author

syclik commented Jul 29, 2015

@wds15, what do you think? Should we merge this pull request first, then work on the choleksy test? Or should we separate that into a separate issue?

@wds15
Copy link
Contributor

wds15 commented Jul 29, 2015

I suggest to merge as the original issue is fixed. I guess this problem comes due to the recent changes in the choleskey code. Should i run the tests then once more using the develop branch?

Von meinem iPad gesendet

Am 29.07.2015 um 18:33 schrieb Daniel Lee notifications@github.com:

@wds15, what do you think? Should we merge this pull request first, then work on the choleksy test? Or should we separate that into a separate issue?


Reply to this email directly or view it on GitHub.

syclik added a commit that referenced this pull request Jul 29, 2015
Fixes #122. reduces precision of mdivide_left test for Intel MKL library
@syclik syclik merged commit 652a95a into develop Jul 29, 2015
@syclik syclik deleted the feature/issue-122-mkl-tests branch July 29, 2015 19:01
@syclik
Copy link
Member Author

syclik commented Jul 29, 2015

@wds15, I just merged it. Would you mind creating a new issue with the cholesky decompose issue on it?

Yes, rerun the tests if you can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants