Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • T Trilinos
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 936
    • Issues 936
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • James Willenbring
  • Trilinos
  • Issues
  • #4952

Closed
Open
Created Apr 18, 2019 by James Willenbring@jmwilleMaintainer

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
Assignee
Assign to
Time tracking