[OMPI users] tcp_peer_send_blocking: send() to socket 9 failed: Broken pipe (32) on openvz containers

2016-06-24 Thread knawnd
Hi all! I am trying to build a cluster for MPI jobs using OpenVZ containers (https://openvz.org/Main_Page). I've been successfully using openvz+openmpi during many years but can't make it work with OpenMPI 1.10.x. So I have a server with openvz support enabled. The output of it's ifconfig: [r

Re: [OMPI users] tcp_peer_send_blocking: send() to socket 9 failed: Broken pipe (32) on openvz containers

2016-06-24 Thread knawnd
Jeff Squyres (jsquyres) wrote on 24/06/16 13:43: Nikolay -- Thanks for all the detail! That helps a tremendous amount. Open MPI actually uses IP networks in *two* ways: 1. for command and control 2. for MPI communications Your use of btl_tcp_if_include regulates #2, but not #1 -- you need to

Re: [OMPI users] tcp_peer_send_blocking: send() to socket 9 failed: Broken pipe (32) on openvz containers

2016-06-24 Thread knawnd
Jeff, It works now! Thank you so much! [user@ct110 hello]$ /opt/openmpi/1.10.3-1/bin/mpirun --mca btl self,tcp --mca btl_tcp_if_include venet0:0 --mca oob_tcp_if_include venet0:0 -npernode 1 -np 2 --hostfile mpi_hosts.txt hostname ct110 ct111 [user@ct110 hello]$ /opt/openmpi/1.10.3-1/bin/mpiru