Skip to content

Commit

Permalink
Add mpibind
Browse files Browse the repository at this point in the history
This plugin is a re-implementation of Edgar A. Leon Borja's mpibind3
script as a spank plugin.
  • Loading branch information
lipari committed Nov 24, 2015
1 parent c581805 commit d313902
Show file tree
Hide file tree
Showing 4 changed files with 722 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ PLUGINS = \
iotrace.so \
tmpdir.so \
auto-affinity.so \
mpibind.so \
pty.so \
addr-no-randomize.so \
preserve-env.so \
Expand Down Expand Up @@ -57,6 +58,9 @@ system-safe-preload.so : system-safe-preload.o
auto-affinity.so : auto-affinity.o lib/split.o lib/list.o lib/fd.o
$(CC) -shared -o $*.so auto-affinity.o lib/split.o lib/list.o -lslurm

mpibind.so : mpibind.o lib/split.o lib/list.o lib/fd.o
$(CC) -shared -o $*.so mpibind.o lib/split.o lib/list.o -lslurm -lhwloc

preserve-env.so : preserve-env.o lib/list.o
$(CC) -shared -o $*.so preserve-env.o lib/list.o

Expand Down
3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Version 0.27 (2015-11-19):
- add mpibind

Version 0.26 (2015-10-29):
- setsched: fix printf compiler warnings
- private-mount: Set _GNU_SOURCE for unshare support
Expand Down
11 changes: 11 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,17 @@ the load on global NFS servers.
It has not been used in production.


mpibind
-----------------

This plugin is a re-implementation of Edgar A. Leon Borja's mpibind3
script as a spank plugin. It provides a different method of binding
tasks and threads to processors and GPUs than the auto-affinity plugin
above. The plugin attempts to make the optimal placement decisions
for the user. It offers simple options to increase verbosity as well
as confine the binding operation to a specific set of CPUs.


iotrace
-----------------

Expand Down
Loading

0 comments on commit d313902

Please sign in to comment.