Okay, that says that mpirun is working correctly - the problem appears to be in MPI_Init.
How was OMPI configured? On Apr 12, 2011, at 9:24 AM, Stergiou, Jonathan C CIV NSWCCD West Bethesda, 6640 wrote: > Ralph, > > Thanks for the reply and guidance. > > I ran the following: > > $> mpirun -np 1 hostname > XXX_TUX01 > > $> mpirun -np 2 hostname > XXX_TUX01 > XXX_TUX01 > > $> mpirun -np 1 ./hello_c > Hello, world, I am 0 of 1. > > $> mpirun -np 2 ./hello_c > (no result, terminal does not respond until ctrl+c) > > > >> Let's simplify the issue as we have no idea what your codes are doing. >> >> Can you run two copies of hostname, for example? >> >> What about multiple copies of an MPI version of "hello" - see the examples >> directory in the OMPI tarball. > > > _______________________________________________ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users