From 61e118d64b323eff004524992462501fddb5d6b2 Mon Sep 17 00:00:00 2001 From: ocaisa Date: Thu, 25 Oct 2018 15:14:41 +0200 Subject: [PATCH] Update FindParMETIS.cmake The test run of ParMETIS is done without the use of `MPIEXEC_EXECUTABLE` and this can lead to false negatives with some MPI implementations. This change further trivialises the test code to avoid this issue (and, given the `FIXME`, is equivalent). --- cmake/modules/FindParMETIS.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/modules/FindParMETIS.cmake b/cmake/modules/FindParMETIS.cmake index 0f930beed0..d685732808 100644 --- a/cmake/modules/FindParMETIS.cmake +++ b/cmake/modules/FindParMETIS.cmake @@ -128,8 +128,8 @@ if(PARMETIS_INCLUDE_DIR AND METIS_INCLUDE_DIR AND int main( int argc, char* argv[] ) { // FIXME: Find a simple but sensible test for ParMETIS - MPI_Init( &argc, &argv ); - MPI_Finalize(); + // MPI_Init( &argc, &argv ); + // MPI_Finalize(); return 0; } " PARMETIS_TEST_RUNS)