CI: disable MPI on clang/asan/tsan builds
libfabric errors generated from ch4 device
@@ -60,10 +60,12 @@ else()
endif()
if(MERCURY_BUILD_CONFIGURATION MATCHES "Asan")
set(MERCURY_MEMORYCHECK_TYPE "AddressSanitizer")
+ set(USE_MPI OFF)
endif()
if(MERCURY_BUILD_CONFIGURATION MATCHES "Tsan")
set(MERCURY_MEMORYCHECK_TYPE "ThreadSanitizer")
set(USE_UCX OFF) # Disable for now to prevent errors
+ set(USE_MPI OFF)
endif()
if(MERCURY_BUILD_CONFIGURATION MATCHES "Ubsan")
set(MERCURY_MEMORYCHECK_TYPE "UndefinedBehaviorSanitizer")
@@ -209,7 +211,9 @@ else()
set(SOEXT so)
set(PROC_NAME_OPT -r)
set(USE_BMI ON)
+ if(NOT DEFINED USE_MPI)
set(USE_MPI ON)
+ endif()
set(USE_OFI ON)
set(USE_SM ON)
if(NOT DEFINED USE_UCX)
@@ -224,6 +228,7 @@ if($ENV{CC} MATCHES "^gcc.*")
endif()
if($ENV{CC} MATCHES "^clang.*")
set(MERCURY_C_FLAGS "-Wall -Wthread-safety -Wextra -Wshadow -Winline -Wundef -Wcast-qual -Wconversion -Wmissing-prototypes -pedantic -Wpointer-arith -Wformat=2 -std=gnu11")
+ set(USE_MPI OFF) # MPICH configure issue on Ubuntu 22.04
endif()
if($ENV{CC} MATCHES "^icc.*")
set(MERCURY_C_FLAGS "-diag-disable=10441 -Wall -Wextra -Wshadow -Winline -Wundef -Wcast-qual -Wconversion -Wmissing-prototypes -pedantic -Wpointer-arith -Wformat=2 -std=gnu11")
