I am using the system openmpi (1.2.3) on Mac OS X 10.5.6, gcc 4.0.1. I
believe these are all the standard tools.
If I mpirun as:
mpirun -n 2 ./a.out
Using the test code from http://www.boost.org/doc/libs/1_39_0/doc/html/mpi/getting_started.html#mpi.config
(note that at the moment I have not installed, and am not using,
boost)
I get the following output:
~/temp$ time mpirun -n 2 ./mpi-test
[christopher-jeffersons-macbook.local:06005] [0,1,0]-[0,0,0]
mca_oob_tcp_peer_complete_connect: connection failed: Connection
refused (61) - retrying
[christopher-jeffersons-macbook.local:06006] [0,1,1]-[0,0,0]
mca_oob_tcp_peer_complete_connect: connection failed: Connection
refused (61) - retrying
[christopher-jeffersons-macbook.local:06005] [0,1,0]-[0,0,0]
mca_oob_tcp_peer_complete_connect: connection failed: Operation timed
out (60) - retrying
[christopher-jeffersons-macbook.local:06006] [0,1,1]-[0,0,0]
mca_oob_tcp_peer_complete_connect: connection failed: Operation timed
out (60) - retrying
[christopher-jeffersons-macbook.local:06005] [0,1,0]-[0,1,1]
mca_oob_tcp_peer_complete_connect: connection failed: Connection
refused (61) - retrying
[christopher-jeffersons-macbook.local:06005] [0,1,0]-[0,1,1]
mca_oob_tcp_peer_complete_connect: connection failed: Operation timed
out (60) - retrying
Rank 0 OK!
Rank 1 OK!
real 3m52.070s
user 0m0.019s
sys 0m0.025s
Note in particular the time.
Running just ' int main(void) { }' takes about 1 minute 16 seconds.
Any suggestions very welcome!