From 8429ab5774699f10782b1c8e873b1ecd8adebb7c Mon Sep 17 00:00:00 2001 From: Germann Elsa Sylvia Date: Wed, 9 Aug 2023 10:59:32 +0200 Subject: [PATCH] ADD: arpack-ng module --- MPI/arpack-ng/build | 24 ++++++++++++++++++++++++ MPI/arpack-ng/files/variants | 1 + MPI/arpack-ng/files/variants.rhel6 | 12 ++++++++++++ MPI/arpack-ng/modulefile | 10 ++++++++++ 4 files changed, 47 insertions(+) create mode 100755 MPI/arpack-ng/build create mode 100644 MPI/arpack-ng/files/variants create mode 100644 MPI/arpack-ng/files/variants.rhel6 create mode 100644 MPI/arpack-ng/modulefile diff --git a/MPI/arpack-ng/build b/MPI/arpack-ng/build new file mode 100755 index 0000000..091d3e1 --- /dev/null +++ b/MPI/arpack-ng/build @@ -0,0 +1,24 @@ +#!/usr/bin/env modbuild + +pbuild::set_download_url \ + "https://github.com/opencollab/$P/archive/refs/tags/${V_PKG}.tar.gz" + +pbuild::set_sha256sum \ + "3.9.0.tar.gz:24f2a2b259992d3c797d80f626878aa8e2ed5009d549dad57854bbcfb95e1ed0" + +declare -rx AR=ar + +pbuild::configure() { + cmake \ + -DCMAKE_BUILD_TYPE:STRING=Release \ + -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX \ + -DMPI="ON" \ + -DICB="ON" \ + -DBUILD_SHARED_LIBS="ON" \ + -DCMAKE_POSITION_INDEPENDENT_CODE="ON" \ + "${SRC_DIR}" || exit 1 +} + +pbuild::add_to_group 'MPI' +pbuild::install_docfiles Copyright.txt LICENSE README RELEASE_NOTES + diff --git a/MPI/arpack-ng/files/variants b/MPI/arpack-ng/files/variants new file mode 100644 index 0000000..bc37664 --- /dev/null +++ b/MPI/arpack-ng/files/variants @@ -0,0 +1 @@ +arpack-ng/3.9.0 unstable intel/22.2 impi/22.2 b:cmake/3.25.2 diff --git a/MPI/arpack-ng/files/variants.rhel6 b/MPI/arpack-ng/files/variants.rhel6 new file mode 100644 index 0000000..87ab3d2 --- /dev/null +++ b/MPI/arpack-ng/files/variants.rhel6 @@ -0,0 +1,12 @@ +trilinos/11.10.2 deprecated b:cmake/2.8.12.2 gcc/{4.7.4,4.8.3,4.8.4,4.9.2} openmpi/{1.6.5,1.8.2,1.8.4} OpenBLAS/0.2.9 parmetis/3.2.0 +trilinos/11.12.1 deprecated b:cmake/2.8.12.2 gcc/{4.7.4,4.8.3,4.8.4,4.9.2} openmpi/{1.6.5,1.8.2,1.8.4} OpenBLAS/0.2.9 parmetis/3.2.0 +trilinos/11.14.1 deprecated b:cmake/3.1.3 gcc/{4.7.4,4.8.3,4.8.4,4.9.2} openmpi/{1.6.5,1.8.2,1.8.4} OpenBLAS/0.2.9 parmetis/3.2.0 + +trilinos/11.14.3 deprecated b:cmake/3.4.1 gcc/4.8.5 openmpi/1.10.2 b:OpenBLAS/0.2.9 b:parmetis/3.2.0 +trilinos/11.14.3 deprecated b:cmake/3.4.1 gcc/6.2.0 openmpi/{1.10.2,1.10.4,2.0.1} b:OpenBLAS/0.2.9 b:parmetis/3.2.0 +trilinos/11.14.3 deprecated intel/15.3 openmpi/1.8.4 + +trilinos/12.8.1 deprecated gcc/{4.8.5,4.9.4,5.4.0,6.2.0} openmpi/1.10.4 b:cmake/3.6.3 b:OpenBLAS/0.2.19 b:parmetis/4.0.3 +trilinos/12.10.1 deprecated gcc/{4.8.5,4.9.4,5.4.0,6.2.0} openmpi/1.10.4 b:cmake/3.6.3 b:OpenBLAS/0.2.19 b:parmetis/4.0.3 + +trilinos/12.12.1 stable gcc/7.3.0 mpich/3.3 hdf5/1.10.4 b:cmake/3.9.6 b:OpenBLAS/0.2.20 b:parmetis/4.0.3 diff --git a/MPI/arpack-ng/modulefile b/MPI/arpack-ng/modulefile new file mode 100644 index 0000000..591a070 --- /dev/null +++ b/MPI/arpack-ng/modulefile @@ -0,0 +1,10 @@ +#%Module1.0 + +module-whatis "ARPACK-NG is a collection of Fortran77 subroutines designed to solve large scale eigenvalue problems" +module-url "https://github.com/opencollab/arpack-ng/tree/master" +module-license "BSD Software License" +module-maintainer "Elsa Germann " + +module-help " +This project started as a joint project between Debian, Octave and Scilab in order to provide a common and maintained version of arpack. This is now a community project maintained by a few volunteers. Indeed, no single release has been published by Rice university for the last few years and since many software (Octave, Scilab, R, Matlab...) forked it and implemented their own modifications, arpack-ng aims to tackle this by providing a common repository, maintained versions with a testsuite. arpack-ng is replacing arpack almost everywhere. +"