-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Cholesky factorization test failure #69
Comments
I just pushed c88a989b557b9c27538278c9a65a5abc30eaf717 which was intended to fix this. Can you verify if this works for you? (ref: #67) |
Those pesky winged monkeys. You leave them unattended for five minutes and they escape the castle and wreak havoc. |
You just need one of those magic caps so you can get them to do your bidding ("write another 200 linalg test cases, mwaaa haaa haaaaa"). |
I'm not sure if this works or not, but now the linalg tests don't finish at all :-|. I'm trying to get some float range stuff working, so I don't have time to debug this at the moment. |
Situation normal for me. |
Situation normal on Ubuntu 13.04 with latest master. The |
@StefanKarpinski Do you still see this error? |
This fails with
with
on
|
No, I'm good now, but there do still seem to be a lot of errors on various systems. |
This is really odd. On the REPL
fails with
while On Ubuntu 13.10
|
I think you forgot to |
Right. I was trying to parallelize the linalg tests and it was barfing. Thanks. |
The parallelization of the linalg tests brings up the question of how the random number generator behaves in parallel. I don't think the Mersenne Twister implementation we have currently is guaranteed to behave well for providing multiple parallel streams. Perhaps @ViralBShah knows...? We can't actually parallelize the linalg tests reliably without risking breaking all the bounds because we implicitly rely on the stream of matrices produced by the RNG (even though it is set to a deterministic seed), since we can no longer guarantee the order in which matrices are generated for various tests, and as I showed in JIN5705, there is a small but significant probability that changing the input matrix will cause tests to fail. If we want to pursue parallelizing the linalg tests, the only sane thing we can do now is to snapshot all the matrices being computed and save them into the test suite or as @stevengj suggested in JuliaLang/julia#5705, use fixed matrices and adjust the existing bounds as necessary, so that the tests are deterministic, while in the long run continue to chip away at #67. |
Reopening with @mschauer 's reported failure. Updated title to identify the specific test that is failing. |
Parallel RNG: JuliaLang/julia#94. |
Wouldn't simply setting |
No, this does not preserve the current behavior. Imagine if you broke up the test suite halfway through the file and wrapped them in parallel blocks. The first test in the block from the second half of the file will be getting a matrix constructed directly from the first few numbers in the stream seeded by |
I understand that. We will have to change the test parameters. But if we could intersperse the current single test suite with calls to I don't know the amount of work involved in doing this, the snapshot approach may be simpler. |
Again, the point I'm trying to make is not that the current behavior is all that desirable, it is merely that we can only guarantee the tests for the current stream of matrices, because the tolerances are all essentially hard-coded for the current stream. If we change the input stream, we would in principle have to readjust more magic numbers until the tests stop failing. But I think we are both in agreement on this point. |
Sorry. Ugh. That button is where the cancel comment button should be. |
This one has been fixed a while ago. |
@andreasnoackjensen what was the fix? |
My investigation suggests the initial error reported by @StefanKarpinski was fixed by your JuliaLang/julia@c88a989, but that the error reported later by @mschauer for 32 bit systems was fixed by my JuliaLang/julia@b695c7a |
Ah, right. For some reason I was thinking about the ARPACK failure when I saw this issue. |
This has been failing for at least a day:
cc: @jiahao, @andreasnoackjensen – did you guys monkey around with these tests some time on Friday or yesterday?
The text was updated successfully, but these errors were encountered: