Source: mumps
Severity: important
Tags: patch

mumps FTBFS with openmpi1.10. Please find a patch attached required.
Note that this fix also depends on:
(1) #813357. blacs-mpi fix.
(2) #813498. scalapack fix.
(3) #813494. mpi-default-dev fix.

best regards
Alastair


-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_IE.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -urN mumps-4.10.0.dfsg/debian/changelog mumps-4.10.0.dfsg.new/debian/changelog
--- mumps-4.10.0.dfsg/debian/changelog	2011-12-30 18:24:00.000000000 +0000
+++ mumps-4.10.0.dfsg.new/debian/changelog	2016-02-03 11:50:39.479877909 +0000
@@ -1,3 +1,10 @@
+mumps (4.10.0.dfsg-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Use pkg-config to get mpif libs
+
+ -- Alastair McKinstry <mckins...@debian.org>  Wed, 03 Feb 2016 11:50:16 +0000
+
 mumps (4.10.0.dfsg-3) unstable; urgency=low
 
   * Added quilt to Build-Depends, seems to be necessary after all.
diff -urN mumps-4.10.0.dfsg/debian/Makefile.par.inc mumps-4.10.0.dfsg.new/debian/Makefile.par.inc
--- mumps-4.10.0.dfsg/debian/Makefile.par.inc	2011-12-22 11:40:34.000000000 +0000
+++ mumps-4.10.0.dfsg.new/debian/Makefile.par.inc	2016-02-03 11:50:12.022625417 +0000
@@ -76,7 +76,7 @@
 #INCPAR = -I/usr/local/include
 INCPAR = -I/usr/include/mpi
 # LIBPAR = $(SCALAP)  -L/usr/local/lib/ -llammpio -llamf77mpi -lmpi -llam -lutil -ldl -lpthread
-MPIFLIB = -lmpif77
+MPIFLIB = $$(pkg-config mpi-fort --libs)
 MPICLIB = -lmpi
 LIBPAR = $(SCALAP) $(MPIFLIB)
 # See point 17 in the FAQ to have more details on the compilation of mpich with gfortran
diff -urN mumps-4.10.0.dfsg/debian/Makefile.ptscotch.inc mumps-4.10.0.dfsg.new/debian/Makefile.ptscotch.inc
--- mumps-4.10.0.dfsg/debian/Makefile.ptscotch.inc	2011-12-22 11:40:43.000000000 +0000
+++ mumps-4.10.0.dfsg.new/debian/Makefile.ptscotch.inc	2016-02-03 11:51:27.682076659 +0000
@@ -76,7 +76,7 @@
 #INCPAR = -I/usr/local/include
 INCPAR = -I/usr/include/mpi
 # LIBPAR = $(SCALAP)  -L/usr/local/lib/ -llammpio -llamf77mpi -lmpi -llam -lutil -ldl -lpthread
-MPIFLIB = -lmpif77
+MPIFLIB = $$(pkg-config mpi-fort --libs)
 MPICLIB = -lmpi
 LIBPAR = $(SCALAP) $(MPIFLIB)
 # See point 17 in the FAQ to have more details on the compilation of mpich with gfortran
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to