Commit 8e433420 by Michael Turner

Merge branch 'fix/petsc-noMPI' into 'master'

fix petsc compile without MPI (fixes #77)

Closes #77

See merge request !873
parents a2f35488 b6056347
......@@ -75,6 +75,7 @@ v4.4.2
- Fix evaluation of points (e.g. HistoryPoints, Interpolation to pts) close to
the interface of two elements (!836)
- Fix deadlock in Hdf5 with homogeneous expansions (!858)
- Fix petsc compile without MPI (!873)
**NekMesh**
- Fix missing periodic boundary meshing and boundary layer mesh adjustment
......
......@@ -42,8 +42,8 @@ IF (NEKTAR_USE_PETSC)
SET(PETSC_NO_MPI "--with-mpi=0")
ENDIF (NEKTAR_USE_MPI)
IF(CMAKE_Fortran_COMPILER)
IF(NEKTAR_USE_MPI AND NOT MPI_Fortran_COMPILER)
IF(CMAKE_Fortran_COMPILER AND NEKTAR_USE_MPI)
IF(NOT MPI_Fortran_COMPILER)
MESSAGE(ERROR "MPI_Fortran_COMPILER not set")
ENDIF()
# we use a MUMPS build in ordering here, in the future it might make
......@@ -71,7 +71,7 @@ IF (NEKTAR_USE_PETSC)
ENDIF()
ELSE()
MESSAGE(WARNING "No Fortran support. Building PETSc without MUMPS support")
MESSAGE(WARNING "No MPI and/or Fortran support. Building PETSc without MUMPS support")
SET(PETSC_Fortran_COMPILER "0")
ENDIF()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment