-
Notifications
You must be signed in to change notification settings - Fork 11
Rearrange Lapack to be like BLAS. Implement cholesky decomposition #11
Conversation
|
You'll need to edit .travis.yaml to point to the correct location at line 42 |
lapack64/lapack64.go
Outdated
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.
Prefix with "Package".
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.
Done.
|
PTAL |
|
.travis.yaml needs to be updated still.
|
|
Travis was updated to swap clapack for cgo. It's still failing (obviously). Before it was giving a "pushd clapack" failure (or something like that). Now it's failing with There are a bunch of lapack.Job warnings as well (not sure what they mean). Is the problem that there are no go files in the cgo folder (just headers and a perl script?). Those have been there for a while, but I've never tried to integrate a c lapack installation. |
|
I'll have a look later today.
|
lapack.go
Outdated
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.
This was needed by cgo/lapack.
|
OK, figured out why it wasn't building: There are types defined in lapack/lapack.go that are required by lapack/cgo/lapack.go |
|
Okay, cgo now compiles on my machine. I hacked the perl script in a way that's not pretty, but we'll need to update the script anyway at some point to use go generate, and have the right return types, etc. |
|
Are all the in returns in LAPACK 0=success !0=failure? |
|
Changes for genLapack.pl |
|
Sorry, how do I apply that patch? I reverted back to the original genLapack.pl. I copied the text in the block above, saved it in cgo as patch.diff, and ran I don't understand the "error searching for" because those lines are in the file... |
|
I'm not familiar with all of Lapack (learning as I go), but so far all of the returns are zero for success. |
|
Okay, when I say "restored", I actually mean I copied and pasted in the old file. I wonder if that's part of the problem (where git is using a file index rather than just the characters?) |
|
Yeah, that will lead to a conflict. |
|
This last failure is due to removal of the test-coverage.sh file. |
|
I thought we had removed all of those files. Do I remember incorrectly?
|
|
Yes, you have. You should not have.
The .travis.yaml calls the coverage script. This fails with 127 (mot found).
|
|
There we go. Sorry for making the process difficult. |
|
No worries, I'm learning about travis in the process - this is a good thing.
|
|
PTAL |
|
LGTM |
Responded to PR comments modified travis file Changed input and output types added back needed types by cgo Fixed perl script so it compiles Changes to genLapack to allow compilation Reinstate test-coverage.sh
Rearrange Lapack to be like BLAS. Implement cholesky decomposition
No description provided.