Skip to content

Commit

Permalink
trying to deal with MPIEXEC in CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Aug 26, 2020
1 parent e802925 commit b2820c2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmake/LibMPI.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# This provides cmake_print_variables() function for debugging.
include(CMakePrintHelpers)

include (CMakeParseArguments)

# Find Valgrind to perform memory leak check
Expand Down Expand Up @@ -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")

Expand Down

0 comments on commit b2820c2

Please sign in to comment.