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
_______________________________________________
Beowulf mailing list, [email protected]
To change your subscription (digest mode or unsubscribe) visit 
http://www.beowulf.org/mailman/listinfo/beowulf

Reply via email to