Software Archive
Read-only legacy content
17061 Discussions

Compilation of pdsh and other tools

bgeek
Beginner
386 Views

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 Kudos
4 Replies
Vladimir_Dergachev
386 Views

Do this:

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

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

Build as usual.

0 Kudos
bgeek
Beginner
386 Views

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?

0 Kudos
Vladimir_Dergachev
386 Views

What is the error message when you start it ?

0 Kudos
bgeek
Beginner
386 Views

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.

0 Kudos
Reply