forked from sandialabs/qthreads
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.multinode
55 lines (38 loc) · 1.16 KB
/
README.multinode
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Multinode Qthreads
==================
A rather terse introduction to multinode Qthreads.
Configuring and Building
------------------------
./configure --enable-multinode \
--with-multinode-runtime={mpi,pmi,shmemrt}
--with-portals4[=DIR]
[...]
make
Running a Test
-------------
make -C test/multinode hello_world
Launching with SLURM and `mpi`:
env VERBOSE=1 salloc --node=4-4 --ntasks=1 mpirun hello_world
Hello from locale 003!
Hello from locale 001!
Hello from locale 004!
Hello from locale 002!
Launching with SLURM and `pmi`:
env VERBOSE=1 srun -n 4 hello_world
Hello from locale 003!
Hello from locale 001!
Hello from locale 004!
Hello from locale 002!
Launching with YOD (provided with Portals4) and `shmemrt`:
env VERBOSE=1 yod -c 4 hello_world
Hello from locale 003!
Hello from locale 001!
Hello from locale 004!
Hello from locale 002!
Further Reading
---------------
Related code:
- `include/qthread/multinode.h`, `include/qt_multinode_innards.h`, `src/net`
- `include/qthread/spr.h`, `src/spr.c`
Related tests:
- `test/multinode`