-
Notifications
You must be signed in to change notification settings - Fork 707
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
scalapack: split _06 test into four #5921
Conversation
pcout << " with respect to the given tolerance the eigenvalues coincide" << std::endl; | ||
|
||
for (unsigned int i=0; i<max_n_eigenvalues; ++i) | ||
for (unsigned int j=0; j<size; ++j) | ||
p_eigenvectors_[i][j] = p_eigenvectors(j,max_n_eigenvalues-1-i); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here git is confused, it's line 104-106 in the original version that stays.
/run-tests |
1d8a1af
to
7a92c2b
Compare
7a92c2b
to
298e96b
Compare
@BenBrands the last commit here should fix a minor bug in sizes of auxiliary arrays. |
e571b96
to
9ee54f0
Compare
source/lac/scalapack.cc
Outdated
@@ -546,16 +547,15 @@ ScaLAPACKMatrix<NumberType>::eigenpairs_symmetric(const bool compute_eigenvector | |||
* for jobz==N only eigenvalues are computed, for jobz='V' also the eigenvectors of the matrix are computed | |||
*/ | |||
char jobz = compute_eigenvectors ? 'V' : 'N'; | |||
char range; | |||
char range='Z'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would put 'A' as default for range
. Or is there a specific reason for choosing 'Z'?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, it's just something for it to be initialized in case it's forgotten to be so down there
9ee54f0
to
b85125b
Compare
@dealii/dealii anyone objects merging this? |
} | ||
pcout << " with respect to the given tolerance the eigenvalues coincide" << std::endl; | ||
|
||
// FIXME: run-time error on macOS if code between "pcout << comparing" and this line is executed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does that mean that we can't run this test on mac?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
correct, i will investigate further later
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could be some bug in netlib-scalapack as it works in double precision and also works on all testers so far.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still want to merge this? It won't break the tester?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes we do, as I said the current state it works for all testers. This PR only splits the test into several parts, as the title suggests
split _06 test into four
also clean up a bit.
WIP until I check it on Linux asthe last two parts06b/06_c
fail on macOS, that's the reason why I split the test into four parts to see where exactly it fails.