Software Archive
Read-only legacy content
17061 討論

Compilation of pdsh and other tools

bgeek
初學者
613 檢視

I would like to make pdsh (Parallel Distributed Shell) available to the MICs, but I'm not quite sure how to do it, if it's possible or if anyone else has even tried.

I looked at the PDF "Configuring Intel Xeon Phi coprocessors inside a cluster", which covers cross and native compiling.  Do I need to build a toolchain in order get pdsh on the MICs?

If anyone has any experience of this and/or any pointers it would be much appreciated.

0 積分
4 回應
Vladimir_Dergachev
初學者
613 檢視

Do this:

CC=icc CFLAGS=-Dmmic ./configure ... usual options

Then do find ./ -name Makefile | xargs sed -si 's/-Dmmic/-mmic/g'

Build as usual.

bgeek
初學者
613 檢視

Thanks for this.  It compiles fine, installed to a directory available to the MIC, but then I cannot execute it on the MICs.  I have the Intel and pdsh directories exported to the MICs, so they can see them.  Do I then need to configure the shell on the MIC to use icc and it's libraries?  Are there any examples of this?

Vladimir_Dergachev
初學者
613 檢視

What is the error message when you start it ?

bgeek
初學者
613 檢視

Vladimir,

Thanks for the response.  On the MIC I get "no modules found", which I can see is more of a pdsh problem.  It might be paths or an environmental variable not being set.  I'm not sure at the moment.

回覆