[petsc] 04/07: specify MPI compilers mpicc, mpicxx, mpif90 explicitly

Drew Parsons dparsons at moszumanska.debian.org
Wed Nov 1 18:34:30 UTC 2017


This is an automated email from the git hooks/post-receive script.

dparsons pushed a commit to branch experimental
in repository petsc.

commit e8933bdcb6d3f69f1a09ca845156b29e0bfd3897
Author: Drew Parsons <dparsons at debian.org>
Date:   Thu Nov 2 01:46:39 2017 +0800

    specify MPI compilers mpicc,mpicxx,mpif90 explicitly
    
    Configure
      --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90
    
    Strongly recommended by upstream, to avoid any misunderstandings about
    the appropriate compiler (gets registered in PETSc.pc and other
    configuration files), especially if we don't specify --with-mpi-dir.
---
 debian/changelog | 4 ++--
 debian/rules     | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index add4ed6..8ae1f36 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,8 @@ petsc (3.8.0+dfsg1-1exp1) UNRELEASED; urgency=medium
   * Team upload.
   * New upstream version.
     - updated API, fortran interfaces are simplified.
-    - configure option --with-mpi-dir not required (MPI compilers
-      mpicc, etc. are found automatically).
+    - configure option --with-mpi-dir not required
+      (specify MPI compilers mpicc,mpicxx,mpif90 explicitly)
   * Remove deprecated debian patches:
     - applied upstream:
         build-ssl1.1.patch
diff --git a/debian/rules b/debian/rules
index b1e6770..53b627c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -95,6 +95,7 @@ PACKAGE_COMPLEX_DEBUG_INSTALL_BASEDIR=debian/tmp/$(PETSC_NAME)-complex-debug
 PACKAGE_COMPLEX_DEBUG_INSTALL_DIR=$(PACKAGE_COMPLEX_DEBUG_INSTALL_BASEDIR)/$(PETSC_COMPLEX_DEBUG_DIR_PREFIX)
 
 CONFIGURATION_OPTIONS=--with-shared-libraries --with-pic=1 \
+	  --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90 \
 	  --useThreads=0 \
 	  --with-fortran-interfaces=1 \
 	  --with-blas-lib=-lblas --with-lapack-lib=-llapack \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/petsc.git



More information about the debian-science-commits mailing list