Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Processor affinity troubles
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2011-07-15 17:06:50


Sadly, OS X does not provide an API for processor affinity. :-(

On Jul 15, 2011, at 5:03 PM, Karl Dockendorf wrote:

> Hi,
>
> I just upgraded from the default ompi install on OS X 10.6 to v1.5.3
> so that I can use the processor affinity options. However there seems
> to be some trouble. My mpi application executes perfectly with the
> following CL statement:
> /usr/local/openmpi-1.5.3/bin/mpiexec --host `hostname` --np 2
> *APPLICATIONANDARGS*
> but this fails:
> /usr/local/openmpi-1.5.3/bin/mpiexec --host `hostname` --np 2
> --cpus-per-proc 2 *APPLICATIONANDARGS*
> saying:
> --------------------------------------------------------------------------
> An attempt to set processor affinity has failed - please check to
> ensure that your system supports such functionality. If so, then
> this is probably something that should be reported to the OMPI developers.
> --------------------------------------------------------------------------
> --------------------------------------------------------------------------
> mpiexec was unable to start the specified application as it
> encountered an error:
>
> Error name: No such file or directory
> Node: hrle03274.<BASEURLNAME DELETED>
>
> when attempting to start process rank 0.
> --------------------------------------------------------------------------
> 2 total processes failed to start
>
> this also fails:
> /usr/local/openmpi-1.5.3/bin/mpiexec --host `hostname` --np 2
> --bind-to-core *APPLICATIONANDARGS*
> saying the exact same thing.
>
> I configured the install with:
> ./configure --with-hwloc=internal --prefix=/usr/local/openmpi-1.5.3/
>
> any help in getting this working would be greatly appreciated as the
> process jumping from core to core is killing my system responsiveness.
>
> Thanks,
> Karl
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/