gpt4 book ai didi

java - COMPSs runco​​mpss 错误。无法在本地运行 matmul 示例应用程序

转载 作者:搜寻专家 更新时间:2023-11-01 02:40:03 24 4
gpt4 key购买 nike

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

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

runcompss --classpath=./matmul.jar matmul.files.Matmul 4 1

但是,我得到以下输出:

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

什么可能导致此错误?

谢谢!

最佳答案

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

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

runcompss -d --classpath=$HOME/workspace_java/matmul/jar/matmul.jar matmul.files.Matmul 4 1

关于java - COMPSs runco​​mpss 错误。无法在本地运行 matmul 示例应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35799152/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com