From 8429ab5774699f10782b1c8e873b1ecd8adebb7c Mon Sep 17 00:00:00 2001 From: Germann Elsa Sylvia Date: Wed, 9 Aug 2023 10:59:32 +0200 Subject: [PATCH 1/4] 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. +" From a4cf70ea711bfd477d8a78899c36373e1aa867f9 Mon Sep 17 00:00:00 2001 From: Germann Elsa Sylvia Date: Wed, 9 Aug 2023 11:01:50 +0200 Subject: [PATCH 2/4] FIX: remove files/variants.rhel6 --- MPI/arpack-ng/files/variants.rhel6 | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 MPI/arpack-ng/files/variants.rhel6 diff --git a/MPI/arpack-ng/files/variants.rhel6 b/MPI/arpack-ng/files/variants.rhel6 deleted file mode 100644 index 87ab3d2..0000000 --- a/MPI/arpack-ng/files/variants.rhel6 +++ /dev/null @@ -1,12 +0,0 @@ -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 From aa07746d88303158f44aeb2da10abe5b9f6f72d4 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Mon, 26 May 2025 15:18:05 +0200 Subject: [PATCH 3/4] arpack-ng: YAML config and rel.stage changed to stable --- Compiler/impi/files/config.yaml | 23 +++++++++++++++++++ Compiler/impi/files/variants.rhel6 | 16 ------------- MPI/arpack-ng/files/config.yaml | 37 ++++++++++++++++++++++++++++++ 3 files changed, 60 insertions(+), 16 deletions(-) create mode 100644 Compiler/impi/files/config.yaml delete mode 100644 Compiler/impi/files/variants.rhel6 create mode 100644 MPI/arpack-ng/files/config.yaml diff --git a/Compiler/impi/files/config.yaml b/Compiler/impi/files/config.yaml new file mode 100644 index 0000000..5fb6057 --- /dev/null +++ b/Compiler/impi/files/config.yaml @@ -0,0 +1,23 @@ +--- +# yamllint disable rule:line-length +format: 1 +impi: + defaults: + group: Compiler + overlay: base + relstage: stable + build_functions: + prep: [] + configure: [] + compile: [] + install: [] + + versions: + 22.2: + variants: + - systems: [merlin-.*\.psi.ch] + relstage: stable + group_deps: + compiler: + intel: [22.2] + diff --git a/Compiler/impi/files/variants.rhel6 b/Compiler/impi/files/variants.rhel6 deleted file mode 100644 index 01ef3a6..0000000 --- a/Compiler/impi/files/variants.rhel6 +++ /dev/null @@ -1,16 +0,0 @@ -impi/5.0 deprecated intel/15.2 -impi/5.0 deprecated intel/15.3 -impi/5.1 deprecated intel/16.1 -impi/5.1 deprecated intel/16.2 -impi/5.1 deprecated intel/16.3 -impi/5.1 deprecated intel/17.1 -impi/17.8 deprecated intel/17.8 -impi/18.2 deprecated intel/18.2 -impi/18.3 deprecated intel/18.3 -impi/18.4 deprecated intel/18.4 -impi/19.3 deprecated intel/19.3 -impi/19.4 deprecated intel/19.4 -impi/20.4 stable intel/20.4 -impi/21.4 stable intel/21.4 -impi/22.1 stable intel/22.1 -impi/22.2 unstable intel/22.2 diff --git a/MPI/arpack-ng/files/config.yaml b/MPI/arpack-ng/files/config.yaml new file mode 100644 index 0000000..3c44850 --- /dev/null +++ b/MPI/arpack-ng/files/config.yaml @@ -0,0 +1,37 @@ +--- +# yamllint disable rule:line-length +format: 1 +arpack-ng: + defaults: + group: MPI + overlay: base + relstage: stable + systems: [.*] + docfiles: + - Copyright.txt + - LICENSE + - README + - RELEASE_NOTES + urls: + - url: https://github.com/opencollab/$P/archive/refs/tags/${V_PKG}.tar.gz + name: $P-${V_PKG}.tar.gz + + shasums: + arpack-ng-3.9.0.tar.gz: 24f2a2b259992d3c797d80f626878aa8e2ed5009d549dad57854bbcfb95e1ed0 + + versions: + 3.9.0: + variants: + - group_deps: + compiler: + intel: [22.2] + mpi: + impi: [22.2] + configure_args: + - -DCMAKE_BUILD_TYPE:STRING=Release + - -DMPI="ON" + - -DICB="ON" + - -DBUILD_SHARED_LIBS="ON" + - -DCMAKE_POSITION_INDEPENDENT_CODE="ON" + build_requires: [cmake/3.25.2] + From 54dc3ff0672bd8ec5c20dc415d8e45d112a80110 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Mon, 26 May 2025 15:29:45 +0200 Subject: [PATCH 4/4] arpack-ng: YAML config and rel.stage changed to stable --- Compiler/impi/build | 18 ------- Compiler/impi/files/config.yaml | 84 ++++++++++++++++++++++++++++++++- MPI/arpack-ng/build | 22 --------- MPI/arpack-ng/files/variants | 1 - MPI/arpack-ng/modulefile | 11 ++++- 5 files changed, 92 insertions(+), 44 deletions(-) delete mode 100644 MPI/arpack-ng/files/variants diff --git a/Compiler/impi/build b/Compiler/impi/build index 84a2e40..6e021f3 100755 --- a/Compiler/impi/build +++ b/Compiler/impi/build @@ -1,20 +1,2 @@ #!/usr/bin/env modbuild -pbuild::add_to_group 'Compiler' - -pbuild::prep() { - : -} - -pbuild::configure() { - : -} - -pbuild::compile() { - : -} - -pbuild::install() { - : -} - diff --git a/Compiler/impi/files/config.yaml b/Compiler/impi/files/config.yaml index 5fb6057..df534a9 100644 --- a/Compiler/impi/files/config.yaml +++ b/Compiler/impi/files/config.yaml @@ -16,8 +16,90 @@ impi: 22.2: variants: - systems: [merlin-.*\.psi.ch] - relstage: stable group_deps: compiler: intel: [22.2] + 22.1: + variants: + - systems: [merlin-.*\.psi.ch] + group_deps: + compiler: + intel: [22.1] + + 21.4: + variants: + - systems: [merlin-.*\.psi.ch] + group_deps: + compiler: + intel: [21.4] + + 20.4: + variants: + - systems: [merlin-.*\.psi.ch] + group_deps: + compiler: + intel: [20.4] + + 19.4: + variants: + - systems: [merlin-.*\.psi.ch] + relstage: deprecated + group_deps: + compiler: + intel: [19.4] + + 19.3: + variants: + - systems: [merlin-.*\.psi.ch] + relstage: deprecated + group_deps: + compiler: + intel: [19.3] + + 18.4: + variants: + - systems: [merlin-.*\.psi.ch] + relstage: deprecated + group_deps: + compiler: + intel: [18.4] + 18.3: + variants: + - systems: [merlin-.*\.psi.ch] + relstage: deprecated + group_deps: + compiler: + intel: [18.3] + + 18.2: + variants: + - systems: [merlin-.*\.psi.ch] + relstage: deprecated + group_deps: + compiler: + intel: [18.2] + + 17.8: + variants: + - systems: [merlin-.*\.psi.ch] + relstage: deprecated + group_deps: + compiler: + intel: [17.8] + + 5.1: + variants: + - systems: [merlin-.*\.psi.ch] + relstage: deprecated + group_deps: + compiler: + intel: [16.1, 16.2, 16.3, 17.1] + 5.0: + variants: + - systems: [merlin-.*\.psi.ch] + relstage: deprecated + group_deps: + compiler: + intel: [15.2, 15.3] + diff --git a/MPI/arpack-ng/build b/MPI/arpack-ng/build index 091d3e1..6e021f3 100755 --- a/MPI/arpack-ng/build +++ b/MPI/arpack-ng/build @@ -1,24 +1,2 @@ #!/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 deleted file mode 100644 index bc37664..0000000 --- a/MPI/arpack-ng/files/variants +++ /dev/null @@ -1 +0,0 @@ -arpack-ng/3.9.0 unstable intel/22.2 impi/22.2 b:cmake/3.25.2 diff --git a/MPI/arpack-ng/modulefile b/MPI/arpack-ng/modulefile index 591a070..e802488 100644 --- a/MPI/arpack-ng/modulefile +++ b/MPI/arpack-ng/modulefile @@ -1,10 +1,17 @@ #%Module1.0 -module-whatis "ARPACK-NG is a collection of Fortran77 subroutines designed to solve large scale eigenvalue problems" +module-whatis "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. +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. "