Thanks Gilles for this work around. And thanks to OpenMPI developpers
for this responsiveness to quickly correct the problem too.
I'll build and deploy this new version for the users as soon as I'm back
to the laboratory.

Patrick

Le 29/01/2019 à 06:48, Gilles Gouaillardet a écrit :
> Patrick,
>
>
> I double checked the code, and indeed, mpirun should have
> automatically felt back
>
> on the loopback interface (and mpirun should have worked)
>
> The virbr0 interface prevented that and this is a bug I fixed in
> https://github.com/open-mpi/ompi/pull/6315
>
>
> Future releases of Open MPI will include this fix, meanwhile, you can
> either remove the virbr0 interface
>
> or use the workaround I previously described
>
>
> Cheers,
>
>
> Gilles
>
> On 1/29/2019 1:56 PM, Gilles Gouaillardet wrote:
>> Patrick,
>>
>> The root cause is we do not include the localhost interface by
>> default for OOB communications.
>>
>>
>> You should be able to run with
>>
>> mpirun --mca oob_tcp_if_include lo -np 4 hostname
>>
>>
>> Cheers,
>>
>> Gilles
>>
>> On 1/28/2019 11:02 PM, Patrick Bégou wrote:
>>>
>>> Hi,
>>>
>>> I fall in a strange problem with OpenMPI 3.1 installed on a CentOS7
>>> laptop. If no  network is available I cannot launch a local mpi job
>>> on the laptop:
>>>
>>> bash-4.2$ mpirun -np 4 hostname
>>> --------------------------------------------------------------------------
>>>
>>> No network interfaces were found for out-of-band communications. We
>>> require
>>> at least one available network for out-of-band messaging.
>>> --------------------------------------------------------------------------
>>>
>>>
>>> OpenMPI is built localy with
>>>
>>>                 Open MPI: 3.1.3rc1
>>>   Open MPI repo revision: v3.1.2-78-gc8e9819
>>>   Configure command line: '--prefix=/opt/GCC73/openmpi31x'
>>> '--enable-mpirun-prefix-by-default'
>>>                           '--disable-dlopen'
>>> '--enable-mca-no-build=openib'
>>>                           '--without-verbs' '--enable-mpi-cxx'
>>>                           '--without-slurm'
>>> '--enable-mpi-thread-multiple'
>>>
>>> I've tested some btl setup found with google but none solve the
>>> problem.
>>>
>>> bash-4.2$ mpirun -np 4 -mca btl ^tcp hostname
>>>
>>> or
>>>
>>> bash-4.2$ mpirun -np 4 -mca btl vader,self hostname
>>>
>>> Sarting a wifi connection (when it is available):
>>>
>>> bash-4.2$ mpirun -np 4 hostname
>>> localhost.localdomain
>>> localhost.localdomain
>>> localhost.localdomain
>>> localhost.localdomain
>>>
>>> Any suggestion is welcome
>>>
>>> Patrick
>>>
>>>
>>> _______________________________________________
>>> users mailing list
>>> users@lists.open-mpi.org
>>> https://lists.open-mpi.org/mailman/listinfo/users
>>
> _______________________________________________
> users mailing list
> users@lists.open-mpi.org
> https://lists.open-mpi.org/mailman/listinfo/users


_______________________________________________
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

Reply via email to