Skip to content

Commit bfbcc24

Browse files
committed
Merge pull request #1 from lipari/mpibind3
Add mpibind
2 parents c581805 + d313902 commit bfbcc24

File tree

4 files changed

+722
-0
lines changed

4 files changed

+722
-0
lines changed

Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ PLUGINS = \
1818
iotrace.so \
1919
tmpdir.so \
2020
auto-affinity.so \
21+
mpibind.so \
2122
pty.so \
2223
addr-no-randomize.so \
2324
preserve-env.so \
@@ -57,6 +58,9 @@ system-safe-preload.so : system-safe-preload.o
5758
auto-affinity.so : auto-affinity.o lib/split.o lib/list.o lib/fd.o
5859
$(CC) -shared -o $*.so auto-affinity.o lib/split.o lib/list.o -lslurm
5960

61+
mpibind.so : mpibind.o lib/split.o lib/list.o lib/fd.o
62+
$(CC) -shared -o $*.so mpibind.o lib/split.o lib/list.o -lslurm -lhwloc
63+
6064
preserve-env.so : preserve-env.o lib/list.o
6165
$(CC) -shared -o $*.so preserve-env.o lib/list.o
6266

NEWS

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
Version 0.27 (2015-11-19):
2+
- add mpibind
3+
14
Version 0.26 (2015-10-29):
25
- setsched: fix printf compiler warnings
36
- private-mount: Set _GNU_SOURCE for unshare support

README

+11
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,17 @@ the load on global NFS servers.
7171
It has not been used in production.
7272

7373

74+
mpibind
75+
-----------------
76+
77+
This plugin is a re-implementation of Edgar A. Leon Borja's mpibind3
78+
script as a spank plugin. It provides a different method of binding
79+
tasks and threads to processors and GPUs than the auto-affinity plugin
80+
above. The plugin attempts to make the optimal placement decisions
81+
for the user. It offers simple options to increase verbosity as well
82+
as confine the binding operation to a specific set of CPUs.
83+
84+
7485
iotrace
7586
-----------------
7687

0 commit comments

Comments
 (0)