2015-09-25 111 views
-1

SystemML可用于https://github.com/SparkTC/systemml 我该如何开始使用?我是GitHub的新手。从MVN/GitHub安装SystemML?

我在我的Ubuntu创建的目录,复制的pom.xml文件 - 当我发出MVN清洁套装,我得到的错误:

mvn clean package 
[INFO] Scanning for projects... 
[ERROR] The build could not read 1 project -> [Help 1] 
[ERROR] 
[ERROR] The project com.ibm.systemml:systemml-parent:5.2-SNAPSHOT (/home/vmuser/system-ml/pom.xml) has 1 error 
[ERROR]  Child module /home/vmuser/system-ml/system-ml of /home/vmuser/system-ml/pom.xml does not exist 
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 
[ERROR] Re-run Maven using the -X switch to enable full debug logging. 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles: 
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException 

当我去R和上发出以下命令R 64位版本3.1.1,我得到了错误太:

> install.packages(c("batch", "bitops", "boot", "caTools", "data.table", "doMC", "doSNOW", "ggplot2", "glmnet", "lda", "Matrix", "matrixStats", "moments", "plotrix", "psych", "reshape", "topicmodels", "wordcloud", "methods"), dependencies=TRUE) 
--- Please select a CRAN mirror for use in this session --- 
Warning: unable to access index for repository https://cran.rstudio.com/bin/windows/contrib/3.1 
Warning: package ‘methods’ is in use and will not be installed 
Warning message: 
packages ‘batch’, ‘bitops’, ‘boot’, ‘caTools’, ‘data.table’, ‘doMC’, ‘doSNOW’, ‘ggplot2’, ‘glmnet’, ‘lda’, ‘Matrix’, ‘matrixStats’, ‘moments’, ‘plotrix’, ‘psych’, ‘reshape’, ‘topicmodels’, ‘wordcloud’ are not available (for R version 3.1.1) 
> 

回答

1

收到错误消息告诉你问题是什么(格式化矿):

The project com.ibm.systemml:systemml-parent:5.2-SNAPSHOT (/home/vmuser/system-ml/pom.xml) has 1 error

Child module /home/vmuser/system-ml/system-ml of /home/vmuser/system-ml/pom.xml does not exist

你说:

I created a directory in my Ubuntu and copied the POM.xml file

你不只是需要pom.xml文件;你需要整个项目。或者git clone it或download the source as a zip并提取它,然后从项目目录运行mvn clean package

git clone是一个更好的选择,如果你打算修改源代码。它将为您提供一些强大的工具,用于整合上游更改并将修改提交给父项目。如果你只是想按原样使用这个项目,任何一个选项都应该没问题。

1

SystemML于2015年11月成为Apache(孵化)项目。其主要网站位于http://systemml.apache.org/。该项目现在可以在GitHub的https://github.com/apache/incubator-systemml上找到。

可能是Apache SystemML入门最快的方法是从Apache SystemML下载页面(参见主网站)下载预构建的发行包。有关Apache SystemML的信息可以在链接到主站点的Apache SystemML文档站点上找到。这包括有关在笔记本,Spark和Hadoop上运行SystemML的信息。

如果您想克隆SystemML存储库并使用Maven在本地构建它,可以在GitHub上的项目README中找到相关说明。