Source: petsc
Severity: important
Tags: patch

Hello,

It would be nice if you could apply the attached patch.
It disables the search of mpicc as hcp.
For an unclear reason, it fixes the bug #624671.
slepc fails to build under sparc if hcp is used (while mpiCC will work).

Thanks
S

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (600, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Index: petsc-3.2.dfsg/config/BuildSystem/config/setCompilers.py
===================================================================
--- petsc-3.2.dfsg.orig/config/BuildSystem/config/setCompilers.py	2012-01-17 11:54:09.000000000 +0100
+++ petsc-3.2.dfsg/config/BuildSystem/config/setCompilers.py	2012-01-17 12:00:19.000000000 +0100
@@ -647,12 +647,11 @@
     elif self.useMPICompilers() and 'with-mpi-dir' in self.argDB and os.path.isdir(os.path.join(self.argDB['with-mpi-dir'], 'bin')):
       self.usedMPICompilers = 1
       yield os.path.join(self.framework.argDB['with-mpi-dir'], 'bin', 'mpicxx')
-      yield os.path.join(self.framework.argDB['with-mpi-dir'], 'bin', 'hcp')
       yield os.path.join(self.framework.argDB['with-mpi-dir'], 'bin', 'mpic++')
       yield os.path.join(self.framework.argDB['with-mpi-dir'], 'bin', 'mpiCC')
       yield os.path.join(self.framework.argDB['with-mpi-dir'], 'bin', 'mpCC_r')
       self.usedMPICompilers = 0
-      raise RuntimeError('bin/<mpiCC,mpicxx,hcp,mpCC_r> you provided with -with-mpi-dir='+self.framework.argDB['with-mpi-dir']+' does not work')
+      raise RuntimeError('bin/<mpiCC,mpicxx,mpCC_r> you provided with -with-mpi-dir='+self.framework.argDB['with-mpi-dir']+' does not work')
     else:
       if self.useMPICompilers():
         self.usedMPICompilers = 1
Index: petsc-3.2.dfsg/config/BuildSystem/config/setCompilers.py
===================================================================
--- petsc-3.2.dfsg.orig/config/BuildSystem/config/setCompilers.py	2012-01-17 11:54:09.000000000 +0100
+++ petsc-3.2.dfsg/config/BuildSystem/config/setCompilers.py	2012-01-17 12:00:19.000000000 +0100
@@ -647,12 +647,11 @@
     elif self.useMPICompilers() and 'with-mpi-dir' in self.argDB and os.path.isdir(os.path.join(self.argDB['with-mpi-dir'], 'bin')):
       self.usedMPICompilers = 1
       yield os.path.join(self.framework.argDB['with-mpi-dir'], 'bin', 'mpicxx')
-      yield os.path.join(self.framework.argDB['with-mpi-dir'], 'bin', 'hcp')
       yield os.path.join(self.framework.argDB['with-mpi-dir'], 'bin', 'mpic++')
       yield os.path.join(self.framework.argDB['with-mpi-dir'], 'bin', 'mpiCC')
       yield os.path.join(self.framework.argDB['with-mpi-dir'], 'bin', 'mpCC_r')
       self.usedMPICompilers = 0
-      raise RuntimeError('bin/<mpiCC,mpicxx,hcp,mpCC_r> you provided with -with-mpi-dir='+self.framework.argDB['with-mpi-dir']+' does not work')
+      raise RuntimeError('bin/<mpiCC,mpicxx,mpCC_r> you provided with -with-mpi-dir='+self.framework.argDB['with-mpi-dir']+' does not work')
     else:
       if self.useMPICompilers():
         self.usedMPICompilers = 1

Reply via email to