Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • T Trilinos
  • Project information
    • Project information
    • Activity
    • Labels
    • 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
  • #3755

Closed
Open
Created Oct 29, 2018 by James Willenbring@jmwilleMaintainer

"mpi.h" not found

Created by: teamblubee

I saw the discussions about using <mpi.h> instead of "mpih."

I am having a build failure because this file: Trilinos-d0a8f5e2/packages/teuchos/core/src/Teuchos_GlobalMPISession.cpp

is including "mpi.h"

There's a reference to a particular bugzilla that I do not have access to: https://software.sandia.gov/bugzilla/show_bug.cgi?id=5631

Is there any possible way to fix this upstream?

This is the configure argument that I am running; ${LOCALBASE} = /usr/local

CMAKE_ARGS+=	-GNinja								\
		-DCMAKE_INSTALL_RPATH="${PREFIX}/lib"				\
		-DBUILD_SHARED_LIBS=ON						\
		-DTrilinos_ENABLE_ALL_OPTIONAL_PACKAGES=OFF			\
		-DTrilinos_ENABLE_Epetra=ON					\
		-DTrilinos_ENABLE_EpetraExt=ON					\
    		-DTrilinos_ENABLE_Amesos=ON                     		\
    		-DTrilinos_ENABLE_Epetra=ON                     		\
    		-DTrilinos_ENABLE_Ifpack=ON                     		\
    		-DTrilinos_ENABLE_AztecOO=ON                    		\
    		-DTrilinos_ENABLE_Sacado=ON                     		\
    		-DTrilinos_ENABLE_Teuchos=ON                    		\
    		-DTrilinos_ENABLE_MueLu=ON                      		\
    		-DTrilinos_ENABLE_ML=ON                         		\
    		-DTrilinos_ENABLE_ROL=ON                        		\
		-DTrilinos_ENABLE_Fortran=OFF					\
    		-DTrilinos_ENABLE_Zoltan=ON                     		\
		-DTPL_ENABLE_DLlib=OFF						\
    		-DTPL_ENABLE_MPI=ON						\
		-DMPI_USE_COMPILER_WRAPPERS=ON		   			\
		-DMPI_C_COMPILER:FILEPATH="${LOCALBASE}/bin/mpicc"			\
		-DMPI_CXX_COMPILER:FILEPATH="${LOCALBASE}/bin/mpic++"			\
		-DMPI_Fortran_COMPILER:FILEPATH="${LOCALBASE}/bin/mpif77"		\
		-DCMAKE_C_COMPILER:FILEPATH="${LOCALBASE}/bin/mpicc"			\
		-DCMAKE_CXX_COMPILER:FILEPATH="${LOCALBASE}/bin/mpic++"			\
		-DCMAKE_Fortran_COMPILER:FILEPATH="${LOCALBASE}/bin/mpif77"		\
		-DMPI_BASE_DIR="${LOCALBASE}"

best

Assignee
Assign to
Time tracking