首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >COMPSs runcompss错误无法在本地运行matmul示例应用程序

COMPSs runcompss错误无法在本地运行matmul示例应用程序
EN

Stack Overflow用户
提问于 2016-03-04 15:00:57
回答 2查看 75关注 0票数 4

我最近开始使用COMPSs。我正在学习其中一个文档示例,但它似乎不起作用。

我正在尝试运行提供的matmul示例应用程序,并使用以下命令:

代码语言:javascript
复制
runcompss --classpath=./matmul.jar matmul.files.Matmul 4 1

但是,我得到了以下输出:

代码语言:javascript
复制
Using default location for project file: /opt/COMPSs/Runtime/scripts/user/../../configuration/xml/projects/project.xml

Using default location for resources file: /opt/COMPSs/Runtime/scripts/user/../../configuration/xml/resources/resources.xml

----------------- Executing matmul.files.Matmul --------------------------

WARNING: IT Properties file is null. Setting default values
[   API]  -  Deploying COMPSs Runtime v1.4 (build 20160302-1306)
[   API]  -  Starting COMPSs Runtime v1.4 (build 20160302-1306)
[   API]  -  No more tasks for app 1
[ERRMGR]  -  WARNING: Task 'multiplyAccumulative' with job id 1 FAILED in worker 'localhost'.
                      Resubmitting job to same worker.
[ERRMGR]  -  WARNING: Task 'multiplyAccumulative' with job id 3 FAILED in worker 'localhost'.
                      Resubmitting job to same worker.
[ERRMGR]  -  WARNING: Task 'multiplyAccumulative' with job id 2 FAILED in worker 'localhost'.
                      Resubmitting job to same worker.
[ERRMGR]  -  WARNING: Task 'multiplyAccumulative' with job id 4 FAILED in worker 'localhost'.
                      Resubmitting job to same worker.
[ERRMGR]  -  WARNING: Task 'multiplyAccumulative' with job id 1 FAILED in worker 'localhost' after resubmit.
                      Rescheduling job. (Changing worker)
[ERRMGR]  -  ERROR:   Task 'multiplyAccumulative' TOTALLY FAILED.
                      Possible causes:
                           -Exception thrown by task 'multiplyAccumulative'.
                           -Expected output files not generated by task 'multiplyAccumulative'.
                           -Could not provide nor retrieve needed data between master and worker.

                      Check files '/home/vanton/.COMPSs/matmul.files.Matmul_08/jobs/job1_[NEW|RESUBMITTED|RESCHEDULED].[out|err]' to find out the error.

[ERRMGR]  -  Shutting down COMPSs...
[   API]  -  Execution Finished

Error running application

是什么导致了这个错误?

谢谢!

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2016-03-04 15:21:47

类路径选项必须是jar文件的绝对路径

例如,如果matmul.jar位于$HOME/workspace_java/matmul/jar/路径下,则应执行:

代码语言:javascript
复制
runcompss -d --classpath=$HOME/workspace_java/matmul/jar/matmul.jar matmul.files.Matmul 4 1
票数 2
EN

Stack Overflow用户

发布于 2016-03-04 15:07:08

在执行任务的过程中,似乎出现了一些问题。您是否检查了任务的runtime.log或标准输出/错误?

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/35799152

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档