Re: [OMPI users] [External] Help with MPI and macOS Firewall

2021-03-19 Thread Matt Thompson via users
Gilles, For some odd reason, 'self, vader' didn't seem as effective as "^tcp". Not sure why, but at least I have something that seems to work. I suppose I don't really need tcp sockets on a single laptop :D Matt On Thu, Mar 18, 2021 at 8:46 PM Gilles Gouaillardet via users < users@lists.open-mp

Re: [OMPI users] [External] Help with MPI and macOS Firewall

2021-03-18 Thread Gilles Gouaillardet via users
Matt, you can either mpirun --mca btl self,vader ... or export OMPI_MCA_btl=self,vader mpirun ... you may also add btl = self,vader in your /etc/openmpi-mca-params.conf and then simply mpirun ... Cheers, Gilles On Fri, Mar 19, 2021 at 5:44 AM Matt Thompson via users wrote: > > Prentice, >

Re: [OMPI users] [External] Help with MPI and macOS Firewall

2021-03-18 Thread Matt Thompson via users
Prentice, Ooh. The first one seems to work. The second one apparently is not liked by zsh and I had to do: ❯ mpirun -mca btl '^tcp' -np 6 ./helloWorld.mpi3.exe Compiler Version: GCC version 10.2.0 MPI Version: 3.1 MPI Library Version: Open MPI v4.1.0, package: Open MPI mathomp4@gs6101-parcel.local

Re: [OMPI users] [External] Help with MPI and macOS Firewall

2021-03-18 Thread Prentice Bisbal via users
OpenMPI should only be using shared memory on the local host automatically, but maybe you need to force it. I think mpirun -mca btl self,vader ... should do that. or you can exclude tcp instead mpirun -mca btl ^tcp See https://www.open-mpi.org/faq/?category=sm for more info. Prentice On