我已经从http://www.bsc.es/computer-sciences/grid-computing/comp-superscalar/downloads-and-documentation下载了COMPS 1.4和一些测试程序,我正在尝试测试它们。 Java执行很顺利;但是,我对C有问题。
我目前正在尝试执行Simple。自述文件指出我只需要两个命令:
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次检查后,执行结束,没有结果。有什么我想念的吗?
答案 0 :(得分:6)
使用C绑定运行应用程序时,默认project.xml无效,因为您必须定义project.xml,其中包含在每个主机中部署工作程序二进制文件的位置。
<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>