diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2007-03-22 16:24:55 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2007-03-22 16:24:55 +0000 |
commit | a89eed45f251b41893148ed6e4d1757156530d71 (patch) | |
tree | 621eea1ce7fdfcfd89ec0bf1a74cb9f81e5065e5 /sci-libs/arpack | |
parent | Use category with best_version (diff) | |
download | gentoo-2-a89eed45f251b41893148ed6e4d1757156530d71.tar.gz gentoo-2-a89eed45f251b41893148ed6e4d1757156530d71.tar.bz2 gentoo-2-a89eed45f251b41893148ed6e4d1757156530d71.zip |
Initial import of arpack, closing bug #69241.
(Portage version: 2.1.2.2)
Diffstat (limited to 'sci-libs/arpack')
-rw-r--r-- | sci-libs/arpack/ChangeLog | 11 | ||||
-rw-r--r-- | sci-libs/arpack/Manifest | 25 | ||||
-rw-r--r-- | sci-libs/arpack/arpack-96.ebuild | 89 | ||||
-rw-r--r-- | sci-libs/arpack/files/arpack-autotools.patch | 246 | ||||
-rw-r--r-- | sci-libs/arpack/files/digest-arpack-96 | 18 | ||||
-rw-r--r-- | sci-libs/arpack/metadata.xml | 16 |
6 files changed, 405 insertions, 0 deletions
diff --git a/sci-libs/arpack/ChangeLog b/sci-libs/arpack/ChangeLog new file mode 100644 index 000000000000..d7ba7e69f71e --- /dev/null +++ b/sci-libs/arpack/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sci-libs/arpack +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/arpack/ChangeLog,v 1.1 2007/03/22 16:24:55 bicatali Exp $ + +*arpack-96 (22 Mar 2007) + + 22 Mar 2007; Sébastien Fabbro <bicatali@gentoo.org> + +files/arpack-autotools.patch, +metadata.xml, +arpack-96.ebuild: + Initial import, closing bug #69241. Thanks David Grant + <david.grant@telus.net> for the initial ebuild. + diff --git a/sci-libs/arpack/Manifest b/sci-libs/arpack/Manifest new file mode 100644 index 000000000000..9515e999c1a9 --- /dev/null +++ b/sci-libs/arpack/Manifest @@ -0,0 +1,25 @@ +AUX arpack-autotools.patch 9250 RMD160 c7cddd949dcde963ff825a276160edb5dde70ad2 SHA1 fde3a89bed5ca0d80a71a64a2df8c91ce7e29938 SHA256 bdcc1ebd5e339704ac35f208a51b184f5d37bee577b18f14fc937374d8a29289 +MD5 ddb1496cbf4c282e24f0549acab0b155 files/arpack-autotools.patch 9250 +RMD160 c7cddd949dcde963ff825a276160edb5dde70ad2 files/arpack-autotools.patch 9250 +SHA256 bdcc1ebd5e339704ac35f208a51b184f5d37bee577b18f14fc937374d8a29289 files/arpack-autotools.patch 9250 +DIST arpack96.tar.gz 636865 RMD160 3d1c1c307223961506066f895b7ab291861e73fe SHA1 3f91de2b39b484bc8365f8048c9eb109e0306e1c SHA256 c6a47eca30a256cbae60e69c606251b84b6a0f352ba527b2dcbd4789ce85ecfc +DIST parpack96.tar.gz 509316 RMD160 224d61ef7ff9eec5f59b747d669f3deb74eb2ba5 SHA1 ebcb4de09639a2faa929bb1a46ba7350d1aa58da SHA256 3b6a1ceec06f14e2a06c323721baa908c2f7823d1da79cdfd3f91961f8b6b926 +DIST patch.tar.gz 226473 RMD160 4ccda2de8dc04c9ecb0ea722f230f5dd5c981154 SHA1 9fc6db4180d516d834d959a5f079e63f174f98fa SHA256 af8914d60af47e49fbad55812d0a5d0a7040fba90c93e5ef1a8d88d32027d3ad +DIST ppatch.tar.gz 253097 RMD160 d1d42293fa98864060189410e9619484682bb176 SHA1 da11e982c359576722ae3f6fd17f15d36a0ac76a SHA256 3422c0916ff74a1c980ac4b79552357af56cd84e81102ac67928b80e913a580f +DIST tutorial.ps.gz 105599 RMD160 aaba42a6d5ce212e56f312d6187ba932d3b674b7 SHA1 70961d4e3463d012b33a1bbe25b5761d2a25a4d0 SHA256 2f745fe80b0a4fcdf1c273995ed67bc6cf03684ccbaa44442ad1187ea41b81c0 +DIST ug.ps.gz 248543 RMD160 29911161dbc7f496ee16db3c98047dae0be51da2 SHA1 6ad34e7ddee64a340e756d55690a2f4e4f46e767 SHA256 ff1faac74bfc42442955906132756ecd7f0034803898d507dbd1bc960f6f4ab0 +EBUILD arpack-96.ebuild 2329 RMD160 e71dc6026526819f1db25780ea536b7b575f7643 SHA1 0dca2f978a12968040a47d127211a0d6d096cb82 SHA256 19867d19d29ddf733d90eee73fd98265471e3091c818a85caa475ca2774c08c0 +MD5 2730ad5092c9a8ca26fc385486e2c659 arpack-96.ebuild 2329 +RMD160 e71dc6026526819f1db25780ea536b7b575f7643 arpack-96.ebuild 2329 +SHA256 19867d19d29ddf733d90eee73fd98265471e3091c818a85caa475ca2774c08c0 arpack-96.ebuild 2329 +MISC ChangeLog 372 RMD160 e45bc879e6e96d09b5d4805cb5e9e09a131ad811 SHA1 c83ce2ed38c07019decb637b9f8a93e38be7a90b SHA256 afb55a2852ecf1eec7fe822d7574ea6cae15c23c6572f4f22ebcc4805e1b3207 +MD5 fd5bc87606bebbdac7fb8bc777145570 ChangeLog 372 +RMD160 e45bc879e6e96d09b5d4805cb5e9e09a131ad811 ChangeLog 372 +SHA256 afb55a2852ecf1eec7fe822d7574ea6cae15c23c6572f4f22ebcc4805e1b3207 ChangeLog 372 +MISC metadata.xml 783 RMD160 32b72a8ead2943359dc32f1a26792bb30c1204ae SHA1 0b2d3050b2b9381aaf0802b9e2766c6a904225d4 SHA256 f2242db1d9196d1c81aee49b2db5db3d7e77f369671bf8c49fe2d09c56ec1673 +MD5 1b6ce3df65ed45c0a8d8c5b1b70e2702 metadata.xml 783 +RMD160 32b72a8ead2943359dc32f1a26792bb30c1204ae metadata.xml 783 +SHA256 f2242db1d9196d1c81aee49b2db5db3d7e77f369671bf8c49fe2d09c56ec1673 metadata.xml 783 +MD5 35f0ceb0e081833a9e319ce91b06a3a8 files/digest-arpack-96 1320 +RMD160 34fd0a5c999db47d20df58992b08c07a35d9e3f2 files/digest-arpack-96 1320 +SHA256 808e451aaf667943f559972bf12f0eec89a42f6501cc538ed15fc490cdbda9ea files/digest-arpack-96 1320 diff --git a/sci-libs/arpack/arpack-96.ebuild b/sci-libs/arpack/arpack-96.ebuild new file mode 100644 index 000000000000..774c7e968819 --- /dev/null +++ b/sci-libs/arpack/arpack-96.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/arpack/arpack-96.ebuild,v 1.1 2007/03/22 16:24:55 bicatali Exp $ + +inherit eutils autotools fortran + +DESCRIPTION="Arnoldi package library to solve large scale eigenvalue problems." +HOMEPAGE="http://www.caam.rice.edu/software/ARPACK" +SRC_URI="http://www.caam.rice.edu/software/ARPACK/SRC/${PN}${PV}.tar.gz + http://www.caam.rice.edu/software/ARPACK/SRC/patch.tar.gz + http://www.caam.rice.edu/software/ARPACK/SRC/p${PN}${PV}.tar.gz + http://www.caam.rice.edu/software/ARPACK/SRC/ppatch.tar.gz + doc? ( http://www.caam.rice.edu/software/ARPACK/SRC/ug.ps.gz + http://www.caam.rice.edu/software/ARPACK/DOCS/tutorial.ps.gz )" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="mpi doc examples" + +DEPEND="mpi? ( virtual/mpi )" +RDEPEND="${DEPEND} virtual/lapack" + +S=${WORKDIR}/ARPACK +RESTRICT="mirror" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-autotools.patch + + # fix examples library paths + sed -i \ + -e '/^include/d' \ + -e 's/$(ALIBS)/-larpack -lblas -llapack/g' \ + -e 's/$(FFLAGS)/$(LDFLAGS)/g' \ + EXAMPLES/*/makefile || die "sed failed" + + sed -i \ + -e '/^include/d' \ + -e 's/$(PLIBS)/-larpack -lparpack -lblas -llapack -lmpi/g' \ + -e 's/_$(PLAT)//g' \ + -e 's/$(PFC)/mpif77/g' \ + -e 's/$(PFFLAGS)/$(LDFLAGS)/g' \ + PARPACK/EXAMPLES/MPI/makefile || die "sed failed" + + eautoreconf +} + +src_compile() { + econf $(use_enable mpi) || "econf failed" + emake || "emake failed" +} + +src_test() { + cd "${S}"/EXAMPLES/SIMPLE + make simple FC="${FORTRANC}" LDFLAGS="-L${S}/.libs" + for p in ss ds sn dn cn zn; do + prog=${p}simp + LD_LIBRARY_PATH="${S}/.libs" ./${prog} || die "${prog} test failed" + rm -f ${prog} + done + if use mpi; then + cd "${S}"/PARPACK/EXAMPLES/MPI + make pdndrv FC=mpif77 LDFLAGS="-L${S}/.libs -L${S}/PARPACK/.libs" + for p in 1 3; do + prog=pdndrv${p} + LD_LIBRARY_PATH="${S}/.libs:${S}/PARPACK/.libs" ./${prog} || die "${prog} test failed" + rm -f ${prog} + done + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + dodoc README DOCUMENTS/*.doc + newdoc DOCUMENTS/README README.doc + use doc && dodoc "${WORKDIR}"/*.ps + + if use examples; then + insinto /usr/share/doc/${PF} + doins -r EXAMPLES + if use mpi; then + insinto /usr/share/doc/${PF}/EXAMPLES/PARPACK + doins -r PARPACK/EXAMPLES/MPI + fi + fi +} diff --git a/sci-libs/arpack/files/arpack-autotools.patch b/sci-libs/arpack/files/arpack-autotools.patch new file mode 100644 index 000000000000..d76eeec8f2dd --- /dev/null +++ b/sci-libs/arpack/files/arpack-autotools.patch @@ -0,0 +1,246 @@ +diff -Nur ../ARPACK.orig/Makefile.am ./Makefile.am +--- ../ARPACK.orig/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ ./Makefile.am 2007-03-22 15:18:07.579698500 +0000 +@@ -0,0 +1,7 @@ ++SUBDIRS = UTIL SRC @MPIDIR@ ++SUBLIBS = SRC/libarpacksrc.la UTIL/libarpackutil.la ++lib_LTLIBRARIES = libarpack.la ++libarpack_la_SOURCES = ++libarpack_la_LDFLAGS = -version-info 0:0 ++libarpack_la_LIBADD = $(SUBLIBS) ++EXTRA_DIST = README +diff -Nur ../ARPACK.orig/PARPACK/Makefile.am ./PARPACK/Makefile.am +--- ../ARPACK.orig/PARPACK/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ ./PARPACK/Makefile.am 2007-03-22 15:17:54.390874250 +0000 +@@ -0,0 +1,6 @@ ++SUBDIRS = UTIL SRC ++SUBLIBS = SRC/MPI/libparpacksrcmpi.la UTIL/MPI/libparpackutilmpi.la ++lib_LTLIBRARIES = libparpack.la ++libparpack_la_SOURCES = ++libarpack_la_LDFLAGS = -version-info 0:0 ++libparpack_la_LIBADD = $(SUBLIBS) @MPILIBS@ +diff -Nur ../ARPACK.orig/PARPACK/SRC/MPI/Makefile.am ./PARPACK/SRC/MPI/Makefile.am +--- ../ARPACK.orig/PARPACK/SRC/MPI/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ ./PARPACK/SRC/MPI/Makefile.am 2007-03-21 21:20:19.771953500 +0000 +@@ -0,0 +1,14 @@ ++noinst_LTLIBRARIES = libparpacksrcmpi.la ++libparpacksrcmpi_la_SOURCES = \ ++ psgetv0.f \ ++ psnaitr.f psnapps.f psnaup2.f psnaupd.f psneigh.f psngets.f \ ++ pssaitr.f pssapps.f pssaup2.f pssaupd.f psseigt.f pssgets.f \ ++ psneupd.f psseupd.f pslarnv.f pslamch.f psnorm2.f \ ++ pdgetv0.f \ ++ pdnaitr.f pdnapps.f pdnaup2.f pdnaupd.f pdneigh.f pdngets.f \ ++ pdsaitr.f pdsapps.f pdsaup2.f pdsaupd.f pdseigt.f pdsgets.f \ ++ pdneupd.f pdseupd.f pdlarnv.f pdlamch.f pdnorm2.f \ ++ pcnaitr.f pcnapps.f pcnaup2.f pcnaupd.f pcneigh.f \ ++ pcneupd.f pcngets.f pcgetv0.f pscnorm2.f pclarnv.f \ ++ pznaitr.f pznapps.f pznaup2.f pznaupd.f pzneigh.f \ ++ pzneupd.f pzngets.f pzgetv0.f pdznorm2.f pzlarnv.f +diff -Nur ../ARPACK.orig/PARPACK/SRC/Makefile.am ./PARPACK/SRC/Makefile.am +--- ../ARPACK.orig/PARPACK/SRC/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ ./PARPACK/SRC/Makefile.am 2007-03-21 21:20:19.771953500 +0000 +@@ -0,0 +1 @@ ++SUBDIRS = MPI +diff -Nur ../ARPACK.orig/PARPACK/UTIL/MPI/Makefile.am ./PARPACK/UTIL/MPI/Makefile.am +--- ../ARPACK.orig/PARPACK/UTIL/MPI/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ ./PARPACK/UTIL/MPI/Makefile.am 2007-03-21 21:20:19.771953500 +0000 +@@ -0,0 +1,5 @@ ++noinst_LTLIBRARIES = libparpackutilmpi.la ++libparpackutilmpi_la_SOURCES = \ ++ pivout.f psvout.f psmout.f pdvout.f \ ++ pdmout.f pcvout.f pcmout.f pzvout.f pzmout.f ++ +diff -Nur ../ARPACK.orig/PARPACK/UTIL/Makefile.am ./PARPACK/UTIL/Makefile.am +--- ../ARPACK.orig/PARPACK/UTIL/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ ./PARPACK/UTIL/Makefile.am 2007-03-21 21:20:19.771953500 +0000 +@@ -0,0 +1 @@ ++SUBDIRS = MPI +\ No newline at end of file +diff -Nur ../ARPACK.orig/SRC/Makefile.am ./SRC/Makefile.am +--- ../ARPACK.orig/SRC/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ ./SRC/Makefile.am 2007-03-21 21:20:19.771953500 +0000 +@@ -0,0 +1,14 @@ ++noinst_LTLIBRARIES = libarpacksrc.la ++libarpacksrc_la_SOURCES = \ ++ sgetv0.f slaqrb.f sstqrb.f ssortc.f ssortr.f sstatn.f sstats.f \ ++ snaitr.f snapps.f snaup2.f snaupd.f snconv.f sneigh.f sngets.f \ ++ ssaitr.f ssapps.f ssaup2.f ssaupd.f ssconv.f sseigt.f ssgets.f \ ++ sneupd.f sseupd.f ssesrt.f \ ++ dgetv0.f dlaqrb.f dstqrb.f dsortc.f dsortr.f dstatn.f dstats.f \ ++ dnaitr.f dnapps.f dnaup2.f dnaupd.f dnconv.f dneigh.f dngets.f \ ++ dsaitr.f dsapps.f dsaup2.f dsaupd.f dsconv.f dseigt.f dsgets.f \ ++ dneupd.f dseupd.f dsesrt.f \ ++ cnaitr.f cnapps.f cnaup2.f cnaupd.f cneigh.f cneupd.f cngets.f \ ++ cgetv0.f csortc.f cstatn.f \ ++ znaitr.f znapps.f znaup2.f znaupd.f zneigh.f zneupd.f zngets.f \ ++ zgetv0.f zsortc.f zstatn.f +diff -Nur ../ARPACK.orig/UTIL/Makefile.am ./UTIL/Makefile.am +--- ../ARPACK.orig/UTIL/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ ./UTIL/Makefile.am 2007-03-21 21:20:19.775953750 +0000 +@@ -0,0 +1,5 @@ ++noinst_LTLIBRARIES = libarpackutil.la ++libarpackutil_la_SOURCES = \ ++ icnteq.f icopy.f iset.f iswap.f ivout.f second.f \ ++ svout.f smout.f dvout.f dmout.f cvout.f cmout.f \ ++ zvout.f zmout.f +diff -Nur ../ARPACK.orig/acx_mpi.m4 ./acx_mpi.m4 +--- ../ARPACK.orig/acx_mpi.m4 1970-01-01 01:00:00.000000000 +0100 ++++ ./acx_mpi.m4 2007-03-21 21:20:19.775953750 +0000 +@@ -0,0 +1,107 @@ ++dnl @synopsis ACX_MPI([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) ++dnl ++dnl @summary figure out how to compile/link code with MPI ++dnl ++dnl This macro tries to find out how to compile programs that use MPI ++dnl (Message Passing Interface), a standard API for parallel process ++dnl communication (see http://www-unix.mcs.anl.gov/mpi/) ++dnl ++dnl On success, it sets the MPICC, MPICXX, or MPIF77 output variable to ++dnl the name of the MPI compiler, depending upon the current language. ++dnl (This may just be $CC/$CXX/$F77, but is more often something like ++dnl mpicc/mpiCC/mpif77.) It also sets MPILIBS to any libraries that are ++dnl needed for linking MPI (e.g. -lmpi, if a special ++dnl MPICC/MPICXX/MPIF77 was not found). ++dnl ++dnl If you want to compile everything with MPI, you should set: ++dnl ++dnl CC="$MPICC" #OR# CXX="$MPICXX" #OR# F77="$MPIF77" ++dnl LIBS="$MPILIBS $LIBS" ++dnl ++dnl NOTE: The above assumes that you will use $CC (or whatever) for ++dnl linking as well as for compiling. (This is the default for automake ++dnl and most Makefiles.) ++dnl ++dnl The user can force a particular library/compiler by setting the ++dnl MPICC/MPICXX/MPIF77 and/or MPILIBS environment variables. ++dnl ++dnl ACTION-IF-FOUND is a list of shell commands to run if an MPI ++dnl library is found, and ACTION-IF-NOT-FOUND is a list of commands to ++dnl run it if it is not found. If ACTION-IF-FOUND is not specified, the ++dnl default action will define HAVE_MPI. ++dnl ++dnl @category InstalledPackages ++dnl @author Steven G. Johnson <stevenj@alum.mit.edu> ++dnl @version 2005-09-02 ++dnl @license GPLWithACException ++ ++AC_DEFUN([ACX_MPI], [ ++AC_PREREQ(2.50) dnl for AC_LANG_CASE ++ ++AC_LANG_CASE([C], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_ARG_VAR(MPICC,[MPI C compiler command]) ++ AC_CHECK_PROGS(MPICC, mpicc hcc mpcc mpcc_r mpxlc cmpicc, $CC) ++ acx_mpi_save_CC="$CC" ++ CC="$MPICC" ++ AC_SUBST(MPICC) ++], ++[C++], [ ++ AC_REQUIRE([AC_PROG_CXX]) ++ AC_ARG_VAR(MPICXX,[MPI C++ compiler command]) ++ AC_CHECK_PROGS(MPICXX, mpic++ mpiCC mpicxx mpCC hcp mpxlC mpxlC_r cmpic++, $CXX) ++ acx_mpi_save_CXX="$CXX" ++ CXX="$MPICXX" ++ AC_SUBST(MPICXX) ++], ++[Fortran 77], [ ++ AC_REQUIRE([AC_PROG_F77]) ++ AC_ARG_VAR(MPIF77,[MPI Fortran compiler command]) ++ AC_CHECK_PROGS(MPIF77, mpif77 hf77 mpxlf mpf77 mpif90 mpf90 mpxlf90 mpxlf95 mpxlf_r cmpifc cmpif90c, $F77) ++ acx_mpi_save_F77="$F77" ++ F77="$MPIF77" ++ AC_SUBST(MPIF77) ++]) ++ ++if test x = x"$MPILIBS"; then ++ AC_LANG_CASE([C], [AC_CHECK_FUNC(MPI_Init, [MPILIBS=" "])], ++ [C++], [AC_CHECK_FUNC(MPI_Init, [MPILIBS=" "])], ++ [Fortran 77], [AC_MSG_CHECKING([for MPI_Init]) ++ AC_TRY_LINK([],[ call MPI_Init], [MPILIBS=" " ++ AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no)])]) ++fi ++if test x = x"$MPILIBS"; then ++ AC_CHECK_LIB(mpi, MPI_Init, [MPILIBS="-lmpi"]) ++fi ++if test x = x"$MPILIBS"; then ++ AC_CHECK_LIB(mpich, MPI_Init, [MPILIBS="-lmpich"]) ++fi ++ ++dnl We have to use AC_TRY_COMPILE and not AC_CHECK_HEADER because the ++dnl latter uses $CPP, not $CC (which may be mpicc). ++AC_LANG_CASE([C], [if test x != x"$MPILIBS"; then ++ AC_MSG_CHECKING([for mpi.h]) ++ AC_TRY_COMPILE([#include <mpi.h>],[],[AC_MSG_RESULT(yes)], [MPILIBS="" ++ AC_MSG_RESULT(no)]) ++fi], ++[C++], [if test x != x"$MPILIBS"; then ++ AC_MSG_CHECKING([for mpi.h]) ++ AC_TRY_COMPILE([#include <mpi.h>],[],[AC_MSG_RESULT(yes)], [MPILIBS="" ++ AC_MSG_RESULT(no)]) ++fi]) ++ ++AC_LANG_CASE([C], [CC="$acx_mpi_save_CC"], ++ [C++], [CXX="$acx_mpi_save_CXX"], ++ [Fortran 77], [F77="$acx_mpi_save_F77"]) ++ ++AC_SUBST(MPILIBS) ++ ++# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: ++if test x = x"$MPILIBS"; then ++ $2 ++ : ++else ++ ifelse([$1],,[AC_DEFINE(HAVE_MPI,1,[Define if you have the MPI library.])],[$1]) ++ : ++fi ++])dnl ACX_MPI +diff -Nur ../ARPACK.orig/configure.ac ./configure.ac +--- ../ARPACK.orig/configure.ac 1970-01-01 01:00:00.000000000 +0100 ++++ ./configure.ac 2007-03-22 11:17:43.207027250 +0000 +@@ -0,0 +1,45 @@ ++# -*- Autoconf -*- ++# Process this file with autoconf to produce a configure script. ++ ++AC_PREREQ(2.59) ++AC_INIT(arpack, 96, http://www.caam.rice.edu/software/ARPACK/) ++AM_INIT_AUTOMAKE([foreign]) ++ ++# Checks for standard programs. ++AC_PROG_F77 ++AC_PROG_LIBTOOL ++ ++# parpack stuff ++# Provide special option for the MPI version ++AC_MSG_CHECKING([for MPI mode]) ++AC_ARG_ENABLE(mpi, ++ [AC_HELP_STRING([--enable-mpi], ++ [Enable MPI parallel processing (off by default)])], ++ use_mpi="yes" ++ AC_MSG_RESULT([yes]), ++ use_mpi="no" ++ AC_MSG_RESULT([no]), ++ use_mpi="no" ++ AC_MSG_RESULT([no])) ++ ++sinclude(acx_mpi.m4) ++if test "$use_mpi" = "yes"; then ++ACX_MPI([AC_DEFINE(HAVE_MPI,1,[use MPI library.])] ++ [FC="$MPIF77" && CC="$MPICC" ], ++ use_mpi="no") ++MPIDIR="PARPACK" ++fi ++ ++AC_SUBST(MPIDIR) ++ ++AC_CONFIG_FILES([ ++ UTIL/Makefile ++ SRC/Makefile ++ PARPACK/SRC/MPI/Makefile ++ PARPACK/SRC/Makefile ++ PARPACK/UTIL/MPI/Makefile ++ PARPACK/UTIL/Makefile ++ PARPACK/Makefile ++ Makefile ++ ]) ++AC_OUTPUT diff --git a/sci-libs/arpack/files/digest-arpack-96 b/sci-libs/arpack/files/digest-arpack-96 new file mode 100644 index 000000000000..847206ad803b --- /dev/null +++ b/sci-libs/arpack/files/digest-arpack-96 @@ -0,0 +1,18 @@ +MD5 fffaa970198b285676f4156cebc8626e arpack96.tar.gz 636865 +RMD160 3d1c1c307223961506066f895b7ab291861e73fe arpack96.tar.gz 636865 +SHA256 c6a47eca30a256cbae60e69c606251b84b6a0f352ba527b2dcbd4789ce85ecfc arpack96.tar.gz 636865 +MD5 598d0453b938ccd99a078246be5927f3 parpack96.tar.gz 509316 +RMD160 224d61ef7ff9eec5f59b747d669f3deb74eb2ba5 parpack96.tar.gz 509316 +SHA256 3b6a1ceec06f14e2a06c323721baa908c2f7823d1da79cdfd3f91961f8b6b926 parpack96.tar.gz 509316 +MD5 14830d758f195f272b8594a493501fa2 patch.tar.gz 226473 +RMD160 4ccda2de8dc04c9ecb0ea722f230f5dd5c981154 patch.tar.gz 226473 +SHA256 af8914d60af47e49fbad55812d0a5d0a7040fba90c93e5ef1a8d88d32027d3ad patch.tar.gz 226473 +MD5 e6f0d70dd99f719c0efee351d0875c96 ppatch.tar.gz 253097 +RMD160 d1d42293fa98864060189410e9619484682bb176 ppatch.tar.gz 253097 +SHA256 3422c0916ff74a1c980ac4b79552357af56cd84e81102ac67928b80e913a580f ppatch.tar.gz 253097 +MD5 f401506c24e1bdf86fc69aef488c6311 tutorial.ps.gz 105599 +RMD160 aaba42a6d5ce212e56f312d6187ba932d3b674b7 tutorial.ps.gz 105599 +SHA256 2f745fe80b0a4fcdf1c273995ed67bc6cf03684ccbaa44442ad1187ea41b81c0 tutorial.ps.gz 105599 +MD5 79cc51e4812c75873adafcad2185842e ug.ps.gz 248543 +RMD160 29911161dbc7f496ee16db3c98047dae0be51da2 ug.ps.gz 248543 +SHA256 ff1faac74bfc42442955906132756ecd7f0034803898d507dbd1bc960f6f4ab0 ug.ps.gz 248543 diff --git a/sci-libs/arpack/metadata.xml b/sci-libs/arpack/metadata.xml new file mode 100644 index 000000000000..29fdad56d8f3 --- /dev/null +++ b/sci-libs/arpack/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<longdescription lang="en"> +The Arnoldi Package Library is capable of solving large scale symmetric, +nonsymmetric, and generalized eigenproblems from significant +application areas. The software is designed to compute a few +eigenvalues with user specified features such as those of largest real +part or largest magnitude. Storage requirements are on the order of +n*k locations. No auxiliary storage is required. A set of Schur basis +vectors for the desired k-dimensional eigen-space is computed which is +numerically orthogonal to working precision. Numerically accurate +eigenvectors are available on request. +</longdescription> +</pkgmetadata> |