you can direct OpenMPI to only use a specific range of ports (that should be open in your firewall configuration)

mpirun --mca oob_tcp_static_ipv4_ports <min port>-<max port> ...


if you use the tcp btl, you can (also) use

mpirun --mca btl_tcp_port_min_v4 <min port> --mca btl_tcp_port_range_v4 <number of ports starting from the min port> ...


Cheers,

Gilles

On 5/10/2016 3:31 AM, Llolsten Kaonga wrote:

Hello all,

We’ve been running openmpi for a long time and up to version 1.8.2 and CentOS 6.7 with commands such as the one below:

usr/local/bin/mpirun --allow-run-as-root --mca btl openib,self,sm --mca pml ob1 -np 2 -np 8 -hostfile /root/mpi-hosts /usr/local/bin/IMB-MPI1

To be able to run the above command, we normally just disabled the IPv4 firewall and SELinux.

We recently made the following updates:

OS:         CentOS 7.2

IMB:      4.1

OpenMPI: 1.10.2

When we tried to execute the above mpirun command, we got a TCP Broken Pipe error. There was no IP assignment conflict and eventually, we narrowed down the problem to the firewall. Disabling the firewalld daemon allows the command to run to completion. We would prefer not to disable the daemon as our servers may sometimes be connected to the rest of our subnet.

Are there other options such as perhaps specifying a port (I am guessing, so specific instructions will be greatly appreciated).

I thank you.



_______________________________________________
users mailing list
us...@open-mpi.org
Subscription: https://www.open-mpi.org/mailman/listinfo.cgi/users
Link to this post: 
http://www.open-mpi.org/community/lists/users/2016/05/29143.php

Reply via email to