Software Archive
Read-only legacy content
17061 ディスカッション

Compilation of pdsh and other tools

bgeek
ビギナー
609件の閲覧回数

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
ビギナー
609件の閲覧回数

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
ビギナー
609件の閲覧回数

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
ビギナー
609件の閲覧回数

What is the error message when you start it ?

bgeek
ビギナー
609件の閲覧回数

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.

返信