Re: [OMPI users] OpenMPI 3 without network connection

2019-01-29 Thread Patrick Bégou
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

Re: [OMPI users] OpenMPI 3 without network connection

2019-01-28 Thread Gilles Gouaillardet

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

Re: [OMPI users] OpenMPI 3 without network connection

2019-01-28 Thread Gilles Gouaillardet

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

Re: [OMPI users] OpenMPI 3 without network connection

2019-01-28 Thread Patrick Bégou
Hi Gilles,

localhost is available in the state where the problem occurs. I discover
suddently this mpi trouble yesterday as I was working in the train...
otherwise I was always connected to the net at home (wifi) or at the
laboratory (wired)

bash-4.2$ ifconfig
enp0s31f6: flags=4099  mtu 1500
    ether e4:b9:7a:01:ec:11  txqueuelen 1000  (Ethernet)
    RX packets 0  bytes 0 (0.0 B)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 0  bytes 0 (0.0 B)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    device interrupt 16  memory 0xef20-ef22 

*lo: flags=73  mtu 65536**
**    inet 127.0.0.1  netmask 255.0.0.0**
**    inet6 ::1  prefixlen 128  scopeid 0x10**
**    loop  txqueuelen 1000  (Boucle locale)**
**    RX packets 525941  bytes 859209091 (819.4 MiB)**
**    RX errors 0  dropped 0  overruns 0  frame 0**
**    TX packets 525941  bytes 859209091 (819.4 MiB)**
**    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0**
*
virbr0: flags=4099  mtu 1500
    inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
    ether 52:54:00:2d:6f:8e  txqueuelen 1000  (Ethernet)
    RX packets 0  bytes 0 (0.0 B)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 0  bytes 0 (0.0 B)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp2s0: flags=4099  mtu 1500
    ether 76:f4:76:61:12:28  txqueuelen 1000  (Ethernet)
    RX packets 941959  bytes 1168504942 (1.0 GiB)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 491366  bytes 63144705 (60.2 MiB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


Le 28/01/2019 à 15:17, Gilles Gouaillardet a écrit :
> Patrick,
>
> Does “no network is available” means the lo interface (localhost
> 127.0.0.1) is not even available ?
>
> Cheers,
>
> Gilles
>
> On Monday, January 28, 2019, 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

Re: [OMPI users] OpenMPI 3 without network connection

2019-01-28 Thread Gilles Gouaillardet
Patrick,

Does “no network is available” means the lo interface (localhost 127.0.0.1)
is not even available ?

Cheers,

Gilles

On Monday, January 28, 2019, Patrick Bégou <
patrick.be...@legi.grenoble-inp.fr> 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

[OMPI users] OpenMPI 3 without network connection

2019-01-28 Thread Patrick Bégou
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