diff options
author | Andrew Savchenko <bircoph@gentoo.org> | 2017-10-03 15:57:03 +0300 |
---|---|---|
committer | Andrew Savchenko <bircoph@gentoo.org> | 2017-10-03 15:57:03 +0300 |
commit | 259e26e9a8fcb27f9ecd4a026b1edbdb00cd29c1 (patch) | |
tree | 64484202e62089b98b9dab681e690ad3a7968f62 | |
parent | sci-mathematics/petsc: fix superlu version requirement (diff) | |
download | sci-259e26e9a8fcb27f9ecd4a026b1edbdb00cd29c1.tar.gz sci-259e26e9a8fcb27f9ecd4a026b1edbdb00cd29c1.tar.bz2 sci-259e26e9a8fcb27f9ecd4a026b1edbdb00cd29c1.zip |
sci-mathematics/petsc: fix build on knem setups
If host MPI is configured to use knem, petsc needs to access /dev/knem as well.
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
-rw-r--r-- | sci-mathematics/petsc/petsc-3.7.6.ebuild | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sci-mathematics/petsc/petsc-3.7.6.ebuild b/sci-mathematics/petsc/petsc-3.7.6.ebuild index c9c04f3e1..37c89710d 100644 --- a/sci-mathematics/petsc/petsc-3.7.6.ebuild +++ b/sci-mathematics/petsc/petsc-3.7.6.ebuild @@ -111,6 +111,8 @@ src_configure() { # mitigate because it happens in libpciaccess.so called by libhwloc.so, # which is used by libmpi.so. addpredict /proc/mtrr + # if mpi is built with knem support it needs /dev/knem too + addpredict /dev/knem # configureMPITypes with openmpi-2* insists on accessing the scaling # governor rw. |