Framework: Does ATDM testing set MPI_EXEC correctly?
Created by: kddevin
Bug Report
@trilinos/framework @bartlettroscoe
Description
I am trying to use ATDM testing as instructed in #4904 (closed) The compilation works fine, but the tests all fail. I suspect the problem is that ctest is using an incompatible version of mpiexec. Should the atdm scripts set MPI_EXEC as they set the CMAKE_*_COMPILER flags?
-- MPI_USE_COMPILER_WRAPPERS='ON'
-- Leaving current CMAKE_C_COMPILER=/projects/sems/install/rhel6-x86_64/sems/compiler/gcc/7.2.0/openmpi/1.10.1/bin/mpicc since it is already set!
-- Leaving current CMAKE_CXX_COMPILER=/projects/sems/install/rhel6-x86_64/sems/compiler/gcc/7.2.0/openmpi/1.10.1/bin/mpicxx since it is already set!
-- MPI_EXEC='mpiexec'
-- MPI_EXEC='/usr/local/bin/mpiexec'
Steps to Reproduce
[vesper Obj_atdm]$ source ../cmake/std/atdm/load-env.sh gnu-7.2.0-openmp-release-debug
Hostname 'vesper.sandia.gov' matches known ATDM host 'sems-rhel6' and system 'sems-rhel6'
Setting compiler and build options for buld name 'gnu-7.2.0-openmp-release-debug'
Using SEMS RHEL6 compiler stack GNU-7.2.0 to build RELEASE-DEBUG code with Kokkos node type OPENMP
[vesper Obj_atdm]$ which mpiexec
/projects/sems/install/rhel6-x86_64/sems/compiler/gcc/7.2.0/openmpi/1.10.1/bin/mpiexec
[vesper Obj_atdm]$ cmake \
> -GNinja \
> -DTrilinos_CONFIGURE_OPTIONS_FILE:STRING=cmake/std/atdm/ATDMDevEnv.cmake \
> -DTrilinos_ENABLE_TESTS=ON -DTrilinos_ENABLE_Piro=ON \
> .. >& output.txt
[vesper Obj_atdm]$ grep -i mpiexec output.txt
-- MPI_EXEC='mpiexec'
-- MPI_EXEC='/usr/local/bin/mpiexec