<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">we want to setup a mpi-cluster with raspberry pis.</div><div class="">The mpi-process run in a docker-container. That’s why we need to configure the ports, that mpi uses.</div><div class=""><br class=""></div><div class="">We found the env flag MPI_PORT_RANGE / MPIEXEC_PORT_RANGE to configure the port range, that is used by mpi.</div><div class="">Our problem is, that this flag has no impact to the running mpi-process:</div><div class=""><div class=""><span class="Apple-tab-span" style="white-space: pre;">    </span></div></div><blockquote class="" style="margin: 0px 0px 0px 40px; border: none; padding: 0px;"><div class=""><div class="">root@pi1:/mnt/docker# mpiexec -f machines  -env MPIEXC_PORT_RANGE 10000:10100 -n 2 ./mpi-hello</div></div><div class=""><div class="">[proxy:0:1@pi2] HYDU_sock_connect (utils/sock/sock.c:172): unable to connect from "pi2" to "pi1" (Connection refused)</div></div><div class=""><div class="">[proxy:0:1@pi2] main (pm/pmiserv/pmip.c:189): unable to connect to server pi1 at port 35994 (check for firewalls!)</div></div></blockquote><div class=""><br class=""></div><div class="">We tried every other combination of mpirun/mipexec and MPICH_PORT_RANGE/ MPIEXEC_PORT_RANGE.</div><div class=""><br class=""></div><div class="">Is there any other configuration needed or something, that we are missing to specify the used ports for mpi?</div><div class=""><br class=""></div><div class="">Regards,</div><div class="">Mark</div></body></html>