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 Distribution, ident: 4.1.0, repo rev: v4.1.0, Dec 18, 2020
Next question: is this: OMPI_MCA_btl='self,vader' the right environment variable translation of that command-line option? On Thu, Mar 18, 2021 at 3:40 PM Prentice Bisbal via users < users@lists.open-mpi.org> wrote: > 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 3/18/21 12:28 PM, Matt Thompson via users wrote: > > All, > > This isn't specifically an Open MPI issue, but as that is the MPI stack I > use on my laptop, I'm hoping someone here might have a possible solution. > (I am pretty sure something like MPICH would trigger this as well.) > > Namely, my employer recently did something somewhere so that now *any* MPI > application I run will throw popups like this one: > > > https://user-images.githubusercontent.com/4114656/30962814-866f3010-a44b-11e7-9de3-9f2a3b0229c0.png > > though for me it's asking about "orterun" and "helloworld.mpi3.exe", etc. > I essentially get one-per-process. > > If I had sudo access, I suppose I could just keep clicking "Allow" for > every program, but I don't and I compile lots of programs with different > names. > > So, I was hoping maybe an Open MPI guru out there knew of an MCA thing I > could use to avoid them? This is all isolated on-my-laptop MPI I'm doing, > so at most an "mpirun --oversubscribe -np 12" or something. It'll never go > over my network to anything, etc. > > -- > Matt Thompson > “The fact is, this is about us identifying what we do best and > finding more ways of doing less of it better” -- Director of Better > Anna Rampton > > -- Matt Thompson “The fact is, this is about us identifying what we do best and finding more ways of doing less of it better” -- Director of Better Anna Rampton