[Beowulf] Problem with a simple MPI Program
J Pill
jpilldev at gmail.com
Sun Jan 13 17:11:54 PST 2008
Hello.
I'm trying to run a simple hello word program:
#include "mpi.h"
#include <stdio.h>
int main (argc, argv)
int argc;
char **argv;
{
MPI_Init (&argc, &argv);
printf ("hello word\n");
MPI_Finalize();
return 0;
}
I compile with mpicc and there's no problem, but when i try to run with
mpiexec or mpirun y have the folliwing:
$ mpirun -np 2 hello
problem with execution of hello on DebianJPill: [Errno 2] No such file or
directory
problem with execution of hello on DebianJPill: [Errno 2] No such file or
directory
But running the file generated there no problem.
$./hello
What i have doing wrong?
thanks a lot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.beowulf.org/pipermail/beowulf/attachments/20080113/5c107457/attachment.html>
More information about the Beowulf
mailing list