OMPI cannot support process binding on OSX because, as the message indicates, there is no OS API for process binding (at least not exposed to the user-land applications).
George. On Thu, Mar 17, 2022 at 3:25 PM Sajid Ali via users < users@lists.open-mpi.org> wrote: > Hi OpenMPI-developers, > > When trying to run a program with process binding and oversubscription (on > a github actions CI instance) with --bind-to-core, OpenMPI’s mpiexec > executes the programs with no issues. > > Noting that --bind-to core is more portable (MPICH’s mpiexec also accepts > it) and that --bind-to-core is deprecated, I tried switching to it. > However, OpenMPI now complains that it cannot perform process binding on OS > X with the following message: > > On OS X, processor and memory binding is not available at all (i.e., > the OS does not expose this functionality). > > Could someone confirm whether OpenMPI supports process binding on OS X and > also comment on why --bind-to-core works but --bind-to core doesn’t? > Thanks in advance! > > Thank You, > Sajid Ali (he/him) | PhD Candidate > Applied Physics > Northwestern University > s-sajid-ali.github.io >