2016-03-04 18 views
4

我一直在使用COMPSs最近开始。我正在关注其中一个文档示例,但似乎没有奏效。COMPSs runco​​mpss错误。不能运行MATMUL示例应用程序在本地

我试图运行提供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 

什么导致这个错误?

谢谢!

回答

2

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

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

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

现在正常工作!!!非常感谢! –

2

它看起来像一些错误任务的执行正在发生的事情。你是否检查过runtime.log或任务的标准输出/错误?

+3

在哪里这些文件?输出说他们应该是在这个目录''/home/vanton/.COMPSs/matmul.files.Matmul_08/jobs/',但没有什么,目录不存在... –

+3

你必须运行与调试选项:'runco​​mpss -d' –

+3

只要通过一个CLI参数执行启用的调试日志Unix的格式:'runco​​mpss -d' GNU格式:'runco​​mpss --debug = debug_level'其中,debug_level = [ !关|资讯|调试] –

相关问题