From 365b1647c3ef669ac023845e0e59b6ac467e739a Mon Sep 17 00:00:00 2001 From: blue-devil Date: Mon, 25 May 2020 02:37:47 +0300 Subject: [PATCH] arpack:first rel --- science/misc/arpack/actions.py | 34 +++++++++++++++ science/misc/arpack/pspec.xml | 63 ++++++++++++++++++++++++++++ science/misc/arpack/translations.xml | 14 +++++++ 3 files changed, 111 insertions(+) create mode 100644 science/misc/arpack/actions.py create mode 100644 science/misc/arpack/pspec.xml create mode 100644 science/misc/arpack/translations.xml diff --git a/science/misc/arpack/actions.py b/science/misc/arpack/actions.py new file mode 100644 index 0000000000..ac1fb6f88c --- /dev/null +++ b/science/misc/arpack/actions.py @@ -0,0 +1,34 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import get +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools + +#shelltools.export("OMPI_ALLOW_RUN_AS_ROOT", "1") +shelltools.export("PKG_CONFIG_PATH", "/usr/lib/openmpi/pkgconfig") + +def setup(): + autotools.autoreconf("-vif") + shelltools.export("LDFLAGS", "-L/usr/lib/openmpi") + autotools.configure("--enable-mpi --enable-icb") + + # fix unused direct dependency analysis + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + +def build(): + autotools.make("F77='mpif77' \ + CFLAGS+=' `pkg-config --cflags ompi-f77` ' \ + LIBS+=' `pkg-config --libs ompi-f77`' ") + +# run as root failure +#def check(): +# autotools.make("check") + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + pisitools.dodoc("COPYING", "README*") \ No newline at end of file diff --git a/science/misc/arpack/pspec.xml b/science/misc/arpack/pspec.xml new file mode 100644 index 0000000000..c4aa22adf9 --- /dev/null +++ b/science/misc/arpack/pspec.xml @@ -0,0 +1,63 @@ + + + + + arpack + https://github.com/opencollab/arpack-ng + + Blue Devil + bluedevil@sctzine.com + + science.misc + BSD + library + Collection of Fortran77 subroutines designed to solve large scale eigenvalue problems. + ARPACK-NG is a collection of Fortran77 subroutines designed to solve large scale eigenvalue problems. + https://github.com/opencollab/arpack-ng/archive/3.7.0.tar.gz + + blas-devel + libquadmath + libgfortran + lapack-devel + openmpi-devel + + + + + arpack + Collection of Fortran77 subroutines designed to solve large scale eigenvalue problems. + + blas + lapack + openmpi + libgfortran + libquadmath + + + /usr/lib + /usr/share/doc/arpack + + + + + arpack-devel + Development files for arpack + + arpack + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2020-05-24 + 3.7.0 + First pisi release. + Blue Devil + bluedevil@sctzine.com + + + \ No newline at end of file diff --git a/science/misc/arpack/translations.xml b/science/misc/arpack/translations.xml new file mode 100644 index 0000000000..11d2690391 --- /dev/null +++ b/science/misc/arpack/translations.xml @@ -0,0 +1,14 @@ + + + + arpack + Büyük ölçekli özdeğer problemleri çözmek için tasarlanmış Fortran77 alt programları. + arpack, büyük ölçekli özdeğer problemleri çözmek için tasarlanmış Fortran77 alt programları sunar. + + + + arpack-devel + arpack için geliştirme dosyaları + arpack-devel, arpack için geliştirme dosyalarını içerir. + + \ No newline at end of file