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
lapacke/internal: add conv package with DpbToColMajor and DpbToRowMajor #64
Conversation
ed083c0
to
5f9563a
Compare
It's failing in Dlantr ... Why only sometimes? Why not locally on my machine? Where is my hair-tearing emoji when I need it? I'll take a look at it tomorrow. |
Because modules.
Not sure but with the latest test it fails also locally but the reason is different:
The same failure is with MKL. I'll check if the 1-norm test is correct. |
ᕙ(⇀‸↼‶)ᕗ |
Adding or removing a |
Is this different to https://github.com/gonum/gonum/blob/master/blas/blas64/conv_symmetric.go |
Oh, I hadn't realized ... functionality-wise, it's not different but some time ago I made changes in |
Oh, I hadn't realized ... functionality-wise, it's not different but some time ago I made changes in Regarding the local Dlantr failures, they went away after a reboot ..... |
There is little code in blas64 that the linker won't elide if it's not called (just the methods on the types - though maybe this includes all the gonum BLAS implementations because of Now I'm not so sure, mainly because of |
I'm getting the flaky Dlantr failures locally again and they persist also on Travis. I don't know where they come from and what to do with them. @kortschak , can you reproduce them? Do you have any idea? Even though they're not related to this PR, I'd like to clear them before merging. |
On my workstation, I'm getting |
OK. Now that I've correctly built this I cannot replicate the |
But it does fail on Travis, so there is something going on. I don't know why it's only the Dlantr test and I don't see anything extraordinary in the test. To me it looks like some concurrency issue in how the test is run. For example, sometimes I get this failure (I log locally the contents of the
So the result is correct but the expectation not. But there is no way the test writes those 1s into colsum! m is 0 and the diagonal is non-unit. What am I missing? |
I still (again) think the failures are a glitch because some stale/incompatible file is being picked up from somewhere during the build. I've upgraded the system which has go1.13, purged $GOCACHE and $GOPATH/pkg, unset $GOPATH, ran the test again and the failures are gone (again). Is it possible that something similar is going on on Travis? I remember there is some kind of build cache but what's its lifetime? |
I've deleted all caches using Travis' web UI, let's see what happens. |
Deleting the caches didn't help and my inexplicable local failures are back ... I'm out of ideas ... ᕙ(⇀‸↼‶)ᕗ |
OMG, I found it. It's the usual suspect, |
Fix is in #67 |
Do you want to rebase this and the other outstanding PR onto master? |
5f9563a
to
c621836
Compare
Done. |
Codecov Report
@@ Coverage Diff @@
## master #64 +/- ##
==========================================
+ Coverage 29.9% 30.23% +0.32%
==========================================
Files 2 4 +2
Lines 6384 6414 +30
==========================================
+ Hits 1909 1939 +30
Misses 4039 4039
Partials 436 436
Continue to review full report at Codecov.
|
With this and appropriate changes in
lapacke
the tests in #63 pass with both OpenBLAS and MKL.I guess we'll have to do the same for the S, C, Z variants. Do we want to generate or copy/paste/adjust manually? Resigned, I'm for the latter.
Please take a look.