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.
|