Hi, Thank you for the guidance. I rebooted my computer but now the program fails to compile.
I then tried changing the tmp directory adding the following line to *openmpi-mca-params.conf*: *orte_tmpdir_base = "/Users/myname/Desktop/shared/tmp"* But now I get the following error: *PMIX ERROR: ERROR in file dstore_base.c at line 1659* *Impossible to open the file /"Users/myname/Desktop/shared/tmp"/ompi.dyn900-158.501/pid.1610/contact.txt in write mode* *ORTE_ERROR_LOG: File open failure in file util/hnp_contact.c at line 91* *CANNOT CREATE FIFO /"Users/myname/Desktop/shared/tmp"/ompi.dyn900-158.501/pid.1610/0/debugger_attach_fifo: errno 2* Is there a way I can fix this? Thanks! On Fri, 7 Feb 2020 at 00:17, Ralph Castain via users < users@lists.open-mpi.org> wrote: > It is also wise to create a "tmp" directory under your home directory, and > reset TMPDIR to point there. Avoiding use of the system tmpdir is highly > advisable under Mac OS, especially Catalina. > > > On Feb 6, 2020, at 4:09 PM, Gutierrez, Samuel K. via users < > users@lists.open-mpi.org> wrote: > > Good afternoon, > > I fear that files created with shm_open(), a call used in the posix shmem > component, are not being cleaned up properly. To test this theory, can you > please reboot your computer and try again? Rebooting should remove any > temporary files created with shm_open(). > > Sam > > On Feb 6, 2020, at 4:34 PM, Jin Tao via users <users@lists.open-mpi.org> > wrote: > > Hi, > > I am running Open MPI on Mac OS Catalina and am running into an issue. > > - I installed Open MPI and everything seemed to be working fine until a > few hours ago. > > - I make and run with the terminal command: > > * make && mpiexec --mca shmem posix --oversubscribe -np 8 main.out* > > - When I do this, I get the following error: > > *opal_shmem_base_select failed* > *--> Returned value -1 instead of OPAL_SUCCESS* > > - If i remove some of the compiler flags, and run as follows, I get > another error: > > *schmem: posix: file name search - max attempts exceeded.cannot continue > with posix.* > > - In fact, now the program fails to compile at all, and just hangs when I > run the make and run command outlined earlier. > > The program was running correctly earlier today. Could someone please > advise? I am new to MPI and would ideally like to develop a lot of skill in > using this library for my work. > > Thanks! > > > >