Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: [OMPI users] Processor affinity troubles
From: Karl Dockendorf (mekarl_at_[hidden])
Date: 2011-07-15 17:03:19


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