From f694f9d19f1225284b7dbeebd64bfe5a40c3bb75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ruth=20Sch=C3=B6bel?= <r.schoebel@fz-juelich.de> Date: Mon, 6 Mar 2023 15:57:55 +0100 Subject: [PATCH] add petsc4py and SLEPc --- ...sc4py-3.18.5-gspmkl-2022a-Python-3.10.4.eb | 28 +++++++++++++++++++ .../s/SLEPc/SLEPc-3.18.2-gpsmkl-2022a.eb | 28 +++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 Golden_Repo/p/PETSc/petsc4py-3.18.5-gspmkl-2022a-Python-3.10.4.eb create mode 100644 Golden_Repo/s/SLEPc/SLEPc-3.18.2-gpsmkl-2022a.eb diff --git a/Golden_Repo/p/PETSc/petsc4py-3.18.5-gspmkl-2022a-Python-3.10.4.eb b/Golden_Repo/p/PETSc/petsc4py-3.18.5-gspmkl-2022a-Python-3.10.4.eb new file mode 100644 index 000000000..8d5615b6b --- /dev/null +++ b/Golden_Repo/p/PETSc/petsc4py-3.18.5-gspmkl-2022a-Python-3.10.4.eb @@ -0,0 +1,28 @@ +easyblock = 'PythonPackage' + +name = 'petsc4py' +version = '3.18.5' +versionsuffix = '-Python-%(pyver)s' + +homepage = 'https://bitbucket.org/petsc/petsc4py' +description = "petsc4py are Python bindings for PETSc, the Portable, Extensible Toolchain for Scientific Computation." + +toolchain = {'name': 'gpsmkl', 'version': '2022a'} + +source_urls = [PYPI_SOURCE] +sources = [SOURCE_TAR_GZ] + +dependencies = [ + ('Python', '3.10.4'), + ('SciPy-Stack', '2022a', '', ('gcccoremkl', '11.3.0-2022.1.0')), + ('PETSc', '3.18.5'), +] + +download_dep_fail = True + +sanity_check_paths = { + 'files': [], + 'dirs': ['lib/python%(pyshortver)s/site-packages'], +} + +moduleclass = 'tools' diff --git a/Golden_Repo/s/SLEPc/SLEPc-3.18.2-gpsmkl-2022a.eb b/Golden_Repo/s/SLEPc/SLEPc-3.18.2-gpsmkl-2022a.eb new file mode 100644 index 000000000..f9fc0d6ca --- /dev/null +++ b/Golden_Repo/s/SLEPc/SLEPc-3.18.2-gpsmkl-2022a.eb @@ -0,0 +1,28 @@ +name = 'SLEPc' + +version = '3.18.2' + +homepage = 'http://slepc.upv.es/' + +description = """SLEPc (Scalable Library for Eigenvalue Problem Computations) is a software library for the solution +of large scale sparse eigenvalue problems on parallel computers. It is an extension of PETSc and can be used for +either standard or generalized eigenproblems, with real or complex arithmetic. It can also be used for computing a +partial SVD of a large, sparse, rectangular matrix, and to solve quadratic eigenvalue problems.""" +examples = 'Examples can be found in $EBROOTSLEPC/share/slepc/examples/' + +toolchain = {'name': 'gpsmkl', 'version': '2022a'} +toolchainopts = {'usempi': True, 'openmp': True} +source_urls = ['http://slepc.upv.es/download/distrib'] +sources = [SOURCELOWER_TAR_GZ] + +dependencies = [('PETSc', '3.18.5')] +petsc_arch = 'installed-arch-linux2-c-opt' + +modextravars = { + 'SLEPc_ROOT': '%(installdir)s', + 'SLEPcROOT': '%(installdir)s', + 'SLEPc_INCLUDE': '%(installdir)s/include/', + 'SLEPc_LIB': '%(installdir)s/lib', +} + +moduleclass = 'numlib' -- GitLab