#2130: use directory containing mpi.h for --with-mpi-include when building PETSc -----------------------------------+---------------------------------------- Reporter: rhaas | Owner: Type: defect | Status: new Priority: minor | Milestone: Component: EinsteinToolkit thorn | Version: development version Keywords: PETSc | -----------------------------------+---------------------------------------- Apparently --with-mpi-include takes only a single directory as an argument so when building the included PETSc tarball one has to pick one directory out of the list of directories in PETSC_EXTRA_MPI_INC_DIRS and MPI_INC_DIRS .
Currently we just pick the first one. The attached patch picks the first one that contains mpi.h which works better in case the first include dir is contains only MPI internal header files (in my OpenMPI case this was /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi which contains files like orte_config.h and the like).
#2130: use directory containing mpi.h for --with-mpi-include when building PETSc ------------------------------------+--------------------------------------- Reporter: rhaas | Owner: Type: defect | Status: review Priority: minor | Milestone: Component: EinsteinToolkit thorn | Version: development version Resolution: | Keywords: PETSc ------------------------------------+--------------------------------------- Changes (by rhaas):
* status: new => review
#2130: use directory containing mpi.h for --with-mpi-include when building PETSc ------------------------------------+--------------------------------- Reporter: Roland Haas | Owner: (none) Type: defect | Status: review Priority: minor | Milestone: Component: EinsteinToolkit thorn | Version: development version Resolution: | Keywords: PETSc ------------------------------------+---------------------------------
Comment (by Roland Haas):
Unless objections are raised I will commit this by Tuesday July 24th.
#2130: use directory containing mpi.h for --with-mpi-include when building PETSc ------------------------------------+--------------------------------- Reporter: Roland Haas | Owner: (none) Type: defect | Status: closed Priority: minor | Milestone: Component: EinsteinToolkit thorn | Version: development version Resolution: fixed | Keywords: PETSc ------------------------------------+--------------------------------- Changes (by Roland Haas):
* status: review => closed * resolution: => fixed
Comment:
Applied as revision 64 "PETSc: use directory containing mpi.h as MPI_INC_DIRS" of PETSc
trac@lists.einsteintoolkit.org