Skip to content

Commit 0ba1609

Browse files
committed
t/300*: add HWLOC_COMPONENTS=-gl to mpi tests
problem: some hwloc versions try to connect to the x11 port if it exists causing all kinds of problems solution: set the env var to tell hwloc to not do that
1 parent c9019bd commit 0ba1609

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

t/t3000-mpi-basic.t

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ if ! test -x ${HELLO}; then
1616
test_done
1717
fi
1818

19+
# work around https://github.com/open-mpi/ompi/issues/7701 and similar in mpich
20+
export HWLOC_COMPONENTS=-gl
1921
export TEST_UNDER_FLUX_CORES_PER_RANK=4
2022
SIZE=2
2123
MAX_MPI_SIZE=$(($SIZE*$TEST_UNDER_FLUX_CORES_PER_RANK))

t/t3003-mpi-abort.t

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ if ! test -x ${FLUX_BUILD_DIR}/t/mpi/abort; then
3333
test_done
3434
fi
3535

36+
# work around https://github.com/open-mpi/ompi/issues/7701 and similar in mpich
37+
export HWLOC_COMPONENTS=-gl
3638
export TEST_UNDER_FLUX_CORES_PER_RANK=4
3739
SIZE=2
3840
MAX_MPI_SIZE=$(($SIZE*$TEST_UNDER_FLUX_CORES_PER_RANK))

0 commit comments

Comments
 (0)