From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S4aVa-0007k2-SE for garchives@archives.gentoo.org; Mon, 05 Mar 2012 16:11:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 75520E064A; Mon, 5 Mar 2012 16:11:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 3526FE064A for ; Mon, 5 Mar 2012 16:11:25 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0E9291B4019 for ; Mon, 5 Mar 2012 16:11:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id AD31EE5428 for ; Mon, 5 Mar 2012 16:11:23 +0000 (UTC) From: "Jens-Malte Gottfried" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jens-Malte Gottfried" Message-ID: <1330963846.a4f4b83914fec669a8c3684551a8a5b2bb721a12.jmg@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/petsc/ X-VCS-Repository: proj/sci X-VCS-Files: sci-mathematics/petsc/metadata.xml sci-mathematics/petsc/petsc-3.2_p6.ebuild X-VCS-Directories: sci-mathematics/petsc/ X-VCS-Committer: jmg X-VCS-Committer-Name: Jens-Malte Gottfried X-VCS-Revision: a4f4b83914fec669a8c3684551a8a5b2bb721a12 X-VCS-Branch: master Date: Mon, 5 Mar 2012 16:11:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 11ab7a41-c106-4d3a-be18-d118501b4901 X-Archives-Hash: c5713466fb44522003c8fe34cd15c82f commit: a4f4b83914fec669a8c3684551a8a5b2bb721a12 Author: Jens-Malte Gottfried web de> AuthorDate: Mon Mar 5 16:10:46 2012 +0000 Commit: Jens-Malte Gottfried godefridus de> CommitDate: Mon Mar 5 16:10:46 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3Da4f4b839 fix missing linking if hypre and superlu enabled this is a workaround, perhaps this problem will be fixed in upstream --- sci-mathematics/petsc/metadata.xml | 3 ++- sci-mathematics/petsc/petsc-3.2_p6.ebuild | 10 +++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/sci-mathematics/petsc/metadata.xml b/sci-mathematics/petsc/m= etadata.xml index 10bb79f..f0f9f18 100644 --- a/sci-mathematics/petsc/metadata.xml +++ b/sci-mathematics/petsc/metadata.xml @@ -4,10 +4,11 @@ sci-mathematics Use Afterstep image library (media-libs/liba= fterimage) - Use HYPRE (sci-mathematics/hypre) and superlu (sc= i-libs/superlu) for preconditioning + Use HYPRE (sci-mathematics/hypre) and for precond= itioning Use METIS (sci-libs/parmetis) for partitioning Make scalars complex Use suitesparse (sci-libs/suitesparse) including= cholmod (sci-libs/cholmod) for sparse factorization + Use superlu (sci-libs/superlu) for precondition= ing diff --git a/sci-mathematics/petsc/petsc-3.2_p6.ebuild b/sci-mathematics/= petsc/petsc-3.2_p6.ebuild index 23dc7ca..5426f69 100644 --- a/sci-mathematics/petsc/petsc-3.2_p6.ebuild +++ b/sci-mathematics/petsc/petsc-3.2_p6.ebuild @@ -16,13 +16,16 @@ LICENSE=3D"petsc" SLOT=3D"0" KEYWORDS=3D"~x86 ~amd64" IUSE=3D"afterimage complex-scalars cxx debug doc \ - fortran hdf5 hypre metis mpi sparse threads X" + fortran hdf5 hypre metis mpi sparse superlu threads X" # Failed: boost imagemagick =20 +# hypre and superlu curretly exclude each other due to missing linking t= o hypre +# if both are enabled REQUIRED_USE=3D" hypre? ( cxx mpi ) hdf5? ( mpi ) afterimage? ( X ) + ^^ ( hypre superlu ) " # imagemagick? ( X ) =20 @@ -30,11 +33,12 @@ RDEPEND=3D"mpi? ( virtual/mpi[cxx?,fortran?] ) X? ( x11-libs/libX11 ) virtual/lapack virtual/blas - hypre? ( sci-libs/hypre sci-libs/superlu ) + hypre? ( sci-libs/hypre ) metis? ( sci-libs/parmetis ) hdf5? ( sci-libs/hdf5 ) afterimage? ( media-libs/libafterimage ) sparse? ( sci-libs/suitesparse >=3Dsci-libs/cholmod-1.7.0 ) + superlu? ( sci-libs/superlu ) " # boost? ( dev-libs/boost ) # imagemagick? ( media-gfx/imagemagick ) @@ -128,9 +132,9 @@ src_configure(){ /usr/$(get_libdir)/libAfterImage.so /usr/include/libAfterImage) \ $(petsc_with hdf5) \ $(petsc_with hypre hypre /usr/$(get_libdir)/libHYPRE.so /usr/include/h= ypre) \ - $(petsc_with hypre superlu /usr/$(get_libdir)/libsuperlu.so /usr/inclu= de/superlu) \ $(petsc_with metis parmetis) \ $(petsc_with sparse cholmod) \ + $(petsc_with superlu superlu /usr/$(get_libdir)/libsuperlu.so /usr/inc= lude/superlu) \ $(petsc_with X x) \ $(petsc_with X x11) \ --with-scotch=3D0