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

cblas_dgemm error in NativeBLAS #54

Open
adamklein opened this issue May 23, 2012 · 1 comment
Open

cblas_dgemm error in NativeBLAS #54

adamklein opened this issue May 23, 2012 · 1 comment

Comments

@adamklein
Copy link

If I do:

val m1 = DenseMatrix.rand(10,10)
val m2 = DenseMatrix.rand(10,10)
m1 * m2

I get:

TransA must be 111, 112 or 113, but is set to -1TransB must be 111, 112 or 113, but is set to -1Parameter 2 to routine cblas_dgemm was incorrect
ERROR in F2J JNI: getTrans() got n

and then JVM crashes silently. I have no trouble running MTJ or jblas code. Any ideas?

@dlwh
Copy link
Collaborator

dlwh commented May 24, 2012

looks like it's a bug in netlib, from what I can tell. we're passing
in a "n" to tell it to not transpose the matrices, but it's somehow
mapping "n" to -1 instead of 111.

-- David

On Wed, May 23, 2012 at 6:47 AM, Adam Klein
[email protected]
wrote:

If I do:

val m1 = DenseMatrix.rand(10,10)
val m2 = DenseMatrix.rand(10,10)
m1 * m2

I get:

TransA must be 111, 112 or 113, but is set to -1TransB must be 111, 112 or 113, but is set to -1Parameter 2 to routine cblas_dgemm was incorrect
ERROR in F2J JNI: getTrans() got n

and then JVM crashes silently. I have no trouble running MTJ or jblas code. Any ideas?


Reply to this email directly or view it on GitHub:
#54

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

No branches or pull requests

2 participants