Skip to content

Commit 3e38b22

Browse files
committed
Disabling failed images by default
- ULFM did not make it into MPI-4 and it is known to trigger bugs in OpenCoarrays, or the underlying MPI implementation.
1 parent 77182e2 commit 3e38b22

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/mpi/CMakeLists.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,13 @@ set(CMAKE_REQUIRED_FLAGS ${old_cmake_required_flags})
221221
set(CMAKE_REQUIRED_LIBRARIES ${old_cmake_required_libraries})
222222

223223
if(MPI_HAS_FAULT_TOL_EXT) # AND (NOT openmpi))
224-
option(CAF_ENABLE_FAILED_IMAGES "Enable failed images support" TRUE)
224+
option(CAF_ENABLE_FAILED_IMAGES "Enable failed images support" FALSE)
225+
message(STATUS "The MPI implementation appears to have the experimental features for ULFM
226+
that will allow you to build OpenCoarrays with failed images support. However,
227+
ULFM support did not make it into the MPI-4 standard, and it is known to
228+
trigger some bugs. Because of this we have disabled it by default. You may
229+
add the `-DCAF_ENABLE_FAILED_IMAGES:BOOL=ON` CMake flag or edit the value
230+
with ccmake or cmake-gui if you would like to experiment with failed images.")
225231
else()
226232
set(CAF_ENABLE_FAILED_IMAGES FALSE
227233
CACHE

0 commit comments

Comments
 (0)