Package: src:mpich,src:petsc Severity: serious Tags: sid stretch patch
the petsc configury expects both /usr/lib/<mpi>/include and /usr/lib/<mpi>/lib, or else it fails. openmpi provides these, while mpich is missing this symlink.
with this patch, and the additional patch in #811229, petsc should build on mpich based archs.
I think this should be fixed in mpich, not in petsc.
diff -Nru mpich-3.2/debian/changelog mpich-3.2/debian/changelog --- mpich-3.2/debian/changelog 2016-01-16 22:01:11.000000000 +0100 +++ mpich-3.2/debian/changelog 2016-01-17 00:01:49.000000000 +0100 @@ -1,3 +1,9 @@ +mpich (3.2-4ubuntu3) xenial; urgency=medium + + * libmpich-dev: Install a /usr/lib/mpich/lib symlink. + + -- Matthias Klose <d...@ubuntu.com> Sat, 16 Jan 2016 23:49:34 +0100 + mpich (3.2-4ubuntu2) xenial; urgency=medium * Limit the GCC version check to the major version. diff -Nru mpich-3.2/debian/rules mpich-3.2/debian/rules --- mpich-3.2/debian/rules 2016-01-16 23:04:28.000000000 +0100 +++ mpich-3.2/debian/rules 2016-01-17 00:01:38.000000000 +0100 @@ -79,6 +79,11 @@ sed -i 's:$(CURDIR)/debian/tmp/::g' $$fn ;\ done +override_dh_install: + dh_install + mkdir -p debian/libmpich-dev/usr/lib/mpich + ln -sf ../$(DEB_HOST_MULTIARCH) debian/libmpich-dev/usr/lib/mpich/lib + override_dh_installchangelogs: dh_installchangelogs README