You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Matthias Boehm (JIRA)" <ji...@apache.org> on 2016/05/11 03:21:12 UTC

[jira] [Commented] (SYSTEMML-680) eigen() fails with "Unsupported function EIGEN" but diag() works

    [ https://issues.apache.org/jira/browse/SYSTEMML-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15279432#comment-15279432 ] 

Matthias Boehm commented on SYSTEMML-680:
-----------------------------------------

thanks for reporting this issue [~gvelez17@gmail.com] - could you please provide some more details such as the full stacktrace and maybe data sizes? 

In general, SystemML is supposed to work out-of-the-box on any platform. However, eigen is indeed a special operation (similar to qr, lu, cholesky and solve) which is currently only supported for singlenode, in-memory operations as we only call out to commons-math. A common issue is that we expect commons math in the classpath (which is true for hadoop 2.x) but on hadoop 1.x is might fail with classnotfound exceptions - the workaround would be to change the SystemML pom.xml as decribed here: https://apache.github.io/incubator-systemml/troubleshooting-guide.html#classnotfoundexception-for-commons-math3.

> eigen() fails with "Unsupported function EIGEN" but diag() works
> ----------------------------------------------------------------
>
>                 Key: SYSTEMML-680
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-680
>             Project: SystemML
>          Issue Type: Bug
>          Components: APIs
>    Affects Versions: SystemML 0.9
>         Environment: Linux ip-172-20-42-170 3.13.0-61-generic #100-Ubuntu SMP Wed Jul 29 11:21:34 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
> Scala code runner version 2.10.4 -- Copyright 2002-2013, LAMP/EPFL
> spark-core_2.10-1.3.0.jar
>            Reporter: Golda Velez
>            Priority: Minor
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> Could be some simple error, since I'm new to SystemML
> I'm running a tiny DML script:
> X = read($Xin)
> ee = eigen(X)
> via some things to set up the matrix in scala, ending with
> val sysMlMatrix = RDDConverterUtils.dataFrameToBinaryBlock(sc, df, mc, false)
> val ml = new MLContext(sc)
> ml.reset()
> ml.registerInput("X", sysMlMatrix, numRows, numCols)
> ml.registerOutput("e")
> val nargs = Map("Xin" -> " ", "Eout" -> " ")
> val outputs = ml.execute("dum.dml", nargs)
> I could certainly be doing something wrong, but it does run if I replace eigen() with diag() and both are listed similarly in the guide http://apache.github.io/incubator-systemml/spark-mlcontext-programming-guide.html
> Is eigen() supported currently and does it require some installation of some library?  I didn't see anything about that in the docs.
> Thanks, this looks super useful!
> This might just be a documentation bug, not a code bug, but I'm not sure how else to contact people about it and get it resolved.  Are there forums?
> --Golda



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)