Package: src:scalapack
Severity: serious
Tags: patch

Hi Muammar,

I'm afraid scalapack FTBFS again on three platforms.  On all three the
failure mechanism is the same: libmpich2.so is not linked to libmpl.so .

The workaround is in the attached patch: if you explicitly link -lmpich
-lmpl it should work.

I'm also filing a bug against mpich2 which should have libmpich.so link
to libmpl.so .

-Adam
-- 
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Engineering consulting with open source tools
http://www.opennovation.com/
--- scalapack-1.8.0/debian/rules~	2011-12-28 17:17:32.000000000 -0500
+++ scalapack-1.8.0/debian/rules	2011-12-29 14:09:39.000000000 -0500
@@ -184,7 +184,7 @@
 	  ar x ../$${i}_mpich2.a ;\
 	  cd .. ;\
 	  gcc -shared -Wl,-soname=lib$$i-mpich2.so.$(version_major) -o \
-	    lib$$i-mpich2.so.$(version) tmp/*.o -lblas -llapack -lblacsCinit-mpich2 -lblacs-mpich2 -lmpich -lgfortran;\
+	    lib$$i-mpich2.so.$(version) tmp/*.o -lblas -llapack -lblacsCinit-mpich2 -lblacs-mpich2 -lmpich -lmpl -lgfortran;\
 	  ln -snf lib$$i-mpich2.so.$(version) lib$$i-mpich2.so.$(version_major) ;\
 	  ln -snf lib$$i-mpich2.so.$(version_major) lib$$i-mpich2.so ;\
 	  rm tmp/* ;\

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to