File: cmd_examples

package info (click to toggle)
pmix 6.0.0%2Breally5.0.9-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 11,756 kB
  • sloc: ansic: 125,921; sh: 4,265; python: 2,530; makefile: 2,109; xml: 1,611; perl: 1,151; lex: 138
file content (34 lines) | stat: -rw-r--r-- 1,576 bytes parent folder | download | duplicates (5)
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
# 1 blocking fence with data exchange among all processes from two namespaces:
./pmix_test -n 4 --ns-dist 3:1 --fence "[db | 0:0-2;1:3]"
./pmix_test -n 4 --ns-dist 3:1 --fence "[db | 0:;1:3]"
./pmix_test -n 4 --ns-dist 3:1 --fence "[db | 0:;1:]"

# 1 non-blocking fence without data exchange among processes from the 1st namespace
./pmix_test -n 4 --ns-dist 3:1 --fence "[0:]"

# blocking fence without data exchange among processes from the 1st namespace
./pmix_test -n 4 --ns-dist 3:1 --fence "[b | 0:]"

# non-blocking fence with data exchange among processes from the 1st namespace. Ranks 0, 1 from ns 0 are sleeping for 2 sec before doing fence test.
./pmix_test -n 4 --ns-dist 3:1 --fence "[d | 0:]" --noise "[0:0,1]"

# blocking fence with data exchange across processes from the same namespace.
./pmix_test -n 4 --job-fence -c

# 3 fences: 1 - non-blocking without data exchange across processes from ns 0,
# 2 - non-blocking across processes 0 and 1 from ns 0 and process 3 from ns 1,
# 3 - blocking with data exchange across processes from their own namespace.
# pmix currently doesn't support multiple fences, so disable this test.
#./pmix_test -n 4 --job-fence -c --fence "[0:][d|0:0-1;1:]" --use-same-keys --ns-dist "3:1"

# test publish/lookup/unpublish functionality.
./pmix_test -n 2 --test-publish

# test spawn functionality.
./pmix_test -n 2 --test-spawn

# test connect/disconnect between processes from the same namespace.
./pmix_test -n 2 --test-connect

# resolve peers from different namespaces.
./pmix_test -n 5 --test-resolve-peers --ns-dist "1:2:2"