I'm using Open MPI 1.6.5 to run OpenFOAM in parallel on 3 nodes. I'm allowed to open only a few TCP ports for security reasons. So I opened ports 49990-50009 for Open MPI and set the values in openmpi-mca-params.conf as follows:
btl_tcp_port_min_v4=49990
btl_tcp_port_range_v4=10
oob_tcp_static_ports=50000-50009
When I ran mpirun, I got a message:
mca_oob_tcp_init: unable to create IPv4 listen socket: Unable to open a TCP socket for out-of-band communications.
Did I miss something? How can I set MPI to run a range of ports?