I'm not intimately familiar with boost++ -- you might want to try the "hello world" and "ring" example programs in the OMPI examples/ directory as a baseline.
Additionally, try executing a non-MPI program such as "hostname" to verify that your remote connectivity is working. For example:
$ mpirun --host localhost,name_of_distant_machine hostname
You should see the output of both "hostname" executions. If you don't, check the process table and see if OMPI is trying to ssh or rsh over to the remote host, and see what is happening on the remote host. E.g., is that rsh or ssh being blocked? Or is it actually executing on the remote machine and hanging? Or ...?
Ensure that you have the same version of OMPI installed on both machines and that both are in your default search PATH for non-interactive logins.
Once you get something like "hostname" to work, it's much more likely that an MPI application will also work.
On Apr 27, 2010, at 10:19 AM, Nguyen Kim Son wrote:
> Hi all,
> I'am writing a small program where the process of rank 0 sends "alo alo" to the process of rank 1 and then process 1 will show this message on screen. I am using boost++ library but result stays the same when I use the MPI standard.
> The program work locally ( that means: mpirun --host localhost), on the distant machine (mpirun --host name_of_distant_machine) but not on both ( mpirun --host localhost, name_of_distant_machine). There is no error message so i don't have any idea to resolve this.
> The machine I am running is a virtual one, and the distant machine too.
> Thank you in advance!
> Nguyen Kim Son.
> Antibes, France
> Tel: +336 48 28 37 47
> users mailing list
For corporate legal information go to: