From b2820c2c6465c08d253afea8c0b7a10537b716db Mon Sep 17 00:00:00 2001 From: Edward Hartnett Date: Wed, 26 Aug 2020 05:26:14 -0600 Subject: [PATCH] trying to deal with MPIEXEC in CMake --- cmake/LibMPI.cmake | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmake/LibMPI.cmake b/cmake/LibMPI.cmake index f1116724831..3178d7b8d78 100644 --- a/cmake/LibMPI.cmake +++ b/cmake/LibMPI.cmake @@ -1,3 +1,6 @@ +# This provides cmake_print_variables() function for debugging. +include(CMakePrintHelpers) + include (CMakeParseArguments) # Find Valgrind to perform memory leak check @@ -90,6 +93,8 @@ function (add_mpi_test TESTNAME) # Get the platform name platform_name (PLATFORM) + cmake_print_variables(MPIEXEC exec_file num_procs) + # Default ("unknown" platform) execution if (PLATFORM STREQUAL "unknown")