LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Tim Prince (n8tm_at_[hidden])
Date: 2010-01-24 08:44:21


kartik kumar wrote:
> Hi,
> I have one question:
> When i *run* following command from *master node* of my cluster:
> *
> mpicc -o hello program.c
> mirun -c 4 hello
> *
> Is it necessary that the program file "program.c" to be present on every
> node present in the cluster in order to execute this command?
>

Not the source code, but the compiled version hello (and the shared
libraries it uses) must be found in the same path. On a small cluster,
nfs mount may be a convenient way.