Hmmm...well, I'm going to ask our TCP friends for some help here.Meantime, I do see one thing that stands out. Port 4 is an awfully low port number that usually sits in the reserved range. I checked the /etc/services file on my Mac, and it was commented out as unassigned, which should mean it was okay.Still, that is an unusual number. The default minimum port number is 1024, so I'm puzzled how you wound up down there. Of course, could just be an error in the print statement, but let's try moving it to be safe? Set-mca btl_tcp_port_min_v4 36900 -mca btl_tcp_port_range_v4 32
and see what happens.
Agreed -- ports 4 and 260 should be in the reserved ports range. Are you running as root, perchance?
Sometimes the configuration of a cluster makes it impossible for nodes to communicate properly. To debug this it helps to include
--mca btl_base_verbose 30 as a command line argument (see http://www.open-mpi.org/faq/?category=tcp for more information). The program example/connectivity_c.c is also a useful minimal program for testing communication on the cluster.