Checkout the man page “OMPI_Affinity_str” for an MPI extension that might help
> On Sep 13, 2015, at 7:28 AM, Saliya Ekanayake wrote:
>
> Thank you, I'll try this. Also, is there a way to know which core a process
> is bound to within the program other than executing something like taskset
>
on linux, you can look at /proc/self/status and search allowed_cpus_list
or you can use the sched_getaffinity system call
note that in some (hopefully rare)cases, this will return different results
than hwloc
On Sunday, September 13, 2015, Saliya Ekanayake wrote:
> Thank you, I'll try this. Als
Thank you, I'll try this. Also, is there a way to know which core a process
is bound to within the program other than executing something like taskset
from program?
On Sun, Sep 13, 2015 at 10:05 AM, Ralph Castain wrote:
> Actually, the error was correct - it was me that was incorrect. The
> cor
Actually, the error was correct - it was me that was incorrect. The correct set
of options would be:
—map-by ppr:12_node —bind-to core —cpu-set=0,2,4,…
Sorry about the confusion
> On Sep 13, 2015, at 2:43 AM, Ralph Castain wrote:
>
> The rankfile will certainly do it, but that error is a bug
The rankfile will certainly do it, but that error is a bug and I’ll have to fix
it.
> On Sep 13, 2015, at 1:10 AM, Saliya Ekanayake wrote:
>
> I could get it working by manually generating a rankfile all the ranks and
> not using any --map-by options.
>
> I'll try the --map-by core as well
>
I could get it working by manually generating a rankfile all the ranks and
not using any --map-by options.
I'll try the --map-by core as well
On Sun, Sep 13, 2015 at 3:59 AM, Tobias Kloeffel
wrote:
> Hi,
> use: --map-by core
>
> regards,
> Tobias
>
>
> On 09/13/2015 09:41 AM, Saliya Ekanayake w
Hi,
use: --map-by core
regards,
Tobias
On 09/13/2015 09:41 AM, Saliya Ekanayake wrote:
I tried,
--map-by ppr:12:node --slot-list 0,2,4,6,8,10,12,14,16,18,20,22
--bind-to core -np 12
but it complains,
"Conflicting directives for binding policy are causing the policy
to be redefined:
New
I tried,
--map-by ppr:12:node --slot-list 0,2,4,6,8,10,12,14,16,18,20,22 --bind-to
core -np 12
but it complains,
"Conflicting directives for binding policy are causing the policy
to be redefined:
New policy: socket
Prior policy: CORE
Please check that only one policy is defined.
"
On
Try something like this instead:
—map-by ppr:12:node —bind-to core —slot-list=0,2,4,6,8,…
You’ll have to play a bit with the core numbers in the slot-list to get the
numbering right as I don’t know how your machine numbers them, and I can’t
guarantee it will work - but it’s worth a shot. If it