2016-07-28 81 views
6

我已经下载了COMPSs 1.4和一些测试程序http://www.bsc.es/computer-sciences/grid-computing/comp-superscalar/downloads-and-documentation,我试图测试它们。 Java执行很顺利;然而,我amb有问题C.C COMPSs执行失败的所有工作

我目前正试图执行简单。自述说我只需要两个命令:

buidapp simple 

runcompss --lang=c master/simple 1 

的应用程序建立正常,但用这个命令执行的时候,我得到以下错误:

[ERRMGR] - WARNING: Job 1 for running task 1 on worker localhost has failed; resubmitting task to the same worker. 

[ERRMGR] - WARNING: Task 1 execution on worker localhost has failed; rescheduling task execution. (changing worker) 

[ERRMGR] - WARNING: No task could be scheduled to any of the available resources. 
         This could end up blocking COMPSs. Will check it again in 20 seconds. 
         Possible causes: 
          -Network problems: non-reachable nodes, sshd service not started, etc. 
          -There isn't any computing resource that fits the defined tasks constraints. 
         If this happens 2 more times, the runtime will shutdown. 

后3次检查,执行与结束没有结果。有什么我失踪?

+1

您是否检查job1的输出和错误日志?要启用调试模式,只需使用-d标志运行compss –

回答

6

使用C绑定运行应用程序时,默认的project.xml无效,因为您必须定义project.xml,其中包含每个主机中部署worker二进制文件的位置。

<Project> 
     <Worker Name="localhost"> 
     <InstallDir>/opt/COMPSs/Runtime/scripts/system/</InstallDir> 
     <WorkingDir>[/path/to/dir/used_as_working_dir]</WorkingDir> 
     <AppDir>[/path/to/installation]</AppDir> 
     <LimitOfTasks>4</LimitOfTasks> 
     </Worker> 
</Project>