We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5164d82 commit 863ccf3Copy full SHA for 863ccf3
tests/mpi.bats
@@ -24,6 +24,11 @@ function teardown() {
24
[ "$(sort -n <<< ${output})" == "$(seq 0 3)" ]
25
}
26
27
+@test "PMIx Horovod" {
28
+ run_srun --mpi=pmix --ntasks=8 --container-image=nvcr.io/nvidia/tensorflow:23.01-tf2-py3 \
29
+ python -c "import os ; import horovod.tensorflow as hvd ; hvd.init(); assert(int(os.getenv('PMIX_RANK')) == hvd.rank())"
30
+}
31
+
32
@test "PMI2 file descriptor" {
33
run_srun --mpi=pmi2 --ntasks=4 --container-image=ubuntu:18.04 bash -c '[ -n "${PMI_FD}" ] && realpath /proc/self/fd/${PMI_FD} | grep -q socket'
34
0 commit comments