2016-03-04 24 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 = [ !關|資訊|調試] –

相關問題