diff --git a/Golden_Repo/a/ACTC/ACTC-1.1-GCCcore-11.3.0.eb b/Golden_Repo/a/ACTC/ACTC-1.1-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..12bca02e2a66855033fd206a20568247765746a4 --- /dev/null +++ b/Golden_Repo/a/ACTC/ACTC-1.1-GCCcore-11.3.0.eb @@ -0,0 +1,35 @@ +easyblock = 'MakeCp' + +name = 'ACTC' +version = '1.1' + +homepage = 'https://sourceforge.net/projects/actc' +description = "ACTC converts independent triangles into triangle strips or fans." + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} +toolchainopts = {'pic': True} + +source_urls = [SOURCEFORGE_SOURCE] +sources = [SOURCELOWER_TAR_GZ] +checksums = ['3a1303291629b9de6008c3c9d7b020a4b854802408fb3f8222ec492808c8b44d'] + +builddependencies = [('binutils', '2.38')] + +buildopts = 'CC="$CC" CFLAGS="$CFLAGS"' + +files_to_copy = [ + (['tcsample', 'tctest', 'tctest2'], 'bin'), + (['tc.h'], 'include/ac'), + (['libactc.a'], 'lib'), + 'COPYRIGHT', 'manual.html', 'prims.gif', 'README', +] + +sanity_check_paths = { + 'files': ['bin/tctest', 'bin/tctest2', 'bin/tcsample', 'include/ac/tc.h', 'lib/libactc.a', + 'COPYRIGHT', 'manual.html', 'prims.gif', 'README'], + 'dirs': [], +} + +modextrapaths = {'CPATH': 'include/ac'} + +moduleclass = 'lib' diff --git a/Golden_Repo/a/ant/ant-1.10.13-Java-11.eb b/Golden_Repo/a/ant/ant-1.10.13-Java-11.eb new file mode 100644 index 0000000000000000000000000000000000000000..dee56183ce012ce98dc6e7bdd6f91da7b710860e --- /dev/null +++ b/Golden_Repo/a/ant/ant-1.10.13-Java-11.eb @@ -0,0 +1,27 @@ +easyblock = 'PackedBinary' + +name = 'ant' +version = '1.10.13' +versionsuffix = '-Java-%(javaver)s' + +homepage = 'https://ant.apache.org/' +description = """Apache Ant is a Java library and command-line tool whose mission is to drive processes described in + build files as targets and extension points dependent upon each other. The main known usage of Ant is the build of + Java applications.""" + +toolchain = SYSTEM + +source_urls = ['https://archive.apache.org/dist/ant/binaries/'] +sources = ['apache-%(name)s-%(version)s-bin.tar.gz'] +checksums = ['776be4a5704158f00ef3f23c0327546e38159389bc8f39abbfe114913f88bab1'] + +dependencies = [('Java', '11')] + +sanity_check_paths = { + 'files': ['bin/ant', 'lib/ant.jar'], + 'dirs': [], +} + +modextravars = {'ANT_HOME': '%(installdir)s'} + +moduleclass = 'devel' diff --git a/Golden_Repo/b/Blender/Blender-3.4.1-GCCcore-11.3.0-binary.eb b/Golden_Repo/b/Blender/Blender-3.4.1-GCCcore-11.3.0-binary.eb new file mode 100644 index 0000000000000000000000000000000000000000..1d1c5bdbdc9b78259ce42c4fd9b3cce1ee7c663c --- /dev/null +++ b/Golden_Repo/b/Blender/Blender-3.4.1-GCCcore-11.3.0-binary.eb @@ -0,0 +1,40 @@ +easyblock = 'PackedBinary' + +name = 'Blender' +version = '3.4.1' +versionsuffix = '-binary' + +homepage = 'https://www.blender.org' +description = """ +Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline, +modeling, rigging, animation, simulation, rendering, compositing and motion tracking, even video +editing and game creation. +""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +source_urls = ['http://ftp.nluug.nl/pub/graphics/%(namelower)s/release/%(name)s%(version_major_minor)s/'] +sources = ['%(namelower)s-%(version)s-linux-x64.tar.xz'] +checksums = ['1497f83f93e9bbbde745422c795ed10fe15f92f5622b4421768f149fbe776981'] + +dependencies = [ + ('X11', '20220504'), + ('OpenGL', '2022a'), + ('CUDA', '11.7', '', SYSTEM), +] + +postinstallcmds = [ + # remove Blenders OpenGL libs + 'rm -rf %(installdir)s/lib/mesa', +] + +sanity_check_paths = { + 'files': ['%(namelower)s'], + 'dirs': ['%(version_major_minor)s'], +} + +modaliases = { + 'blender': 'blender -- --cycles-device CUDA', +} + +moduleclass = 'vis' diff --git a/Golden_Repo/b/Blosc/Blosc-1.21.3-GCCcore-11.3.0.eb b/Golden_Repo/b/Blosc/Blosc-1.21.3-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..115e49c59acda6f273c99e4cf774fd60ef392bdf --- /dev/null +++ b/Golden_Repo/b/Blosc/Blosc-1.21.3-GCCcore-11.3.0.eb @@ -0,0 +1,28 @@ +easyblock = 'CMakeMake' + +name = 'Blosc' +version = '1.21.3' + +homepage = 'https://www.blosc.org/' + +description = "Blosc, an extremely fast, multi-threaded, meta-compressor library" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} +toolchainopts = {'pic': True, 'cstd': 'c++11'} + +source_urls = ['https://github.com/Blosc/c-blosc/archive/'] +sources = ['v%(version)s.tar.gz'] +checksums = ['941016c4564bca662080bb01aea74f06630bd665e598c6f6967fd91b2e2e0bb6'] + +builddependencies = [ + ('binutils', '2.38'), + ('CMake', '3.23.1'), +] + +sanity_check_paths = { + 'files': ['include/blosc-export.h', 'include/blosc.h', 'lib/libblosc.a', + 'lib/libblosc.%s' % SHLIB_EXT], + 'dirs': [], +} + +moduleclass = 'lib' diff --git a/Golden_Repo/c/CVXOPT/CVXOPT-1.2.1-fix-setup-py.patch b/Golden_Repo/c/CVXOPT/CVXOPT-1.2.1-fix-setup-py.patch new file mode 100644 index 0000000000000000000000000000000000000000..5975c4bb3289692195062ef9c552f1b6d2373f75 --- /dev/null +++ b/Golden_Repo/c/CVXOPT/CVXOPT-1.2.1-fix-setup-py.patch @@ -0,0 +1,128 @@ +# Patches the setup.py to use EB settings for BLAS/LAPACK, FFTW, etc +# original by wpoely86@gmail.com, ported to v1.2.1 by Kenneth Hoste (HPC-UGent) +--- cvxopt-1.2.1/setup.py.orig 2018-08-30 19:54:12.000000000 +0200 ++++ cvxopt-1.2.1/setup.py 2018-10-02 16:28:57.252340779 +0200 +@@ -91,9 +91,11 @@ + LAPACK_LIB = os.environ.get("CVXOPT_LAPACK_LIB",LAPACK_LIB) + BLAS_LIB_DIR = os.environ.get("CVXOPT_BLAS_LIB_DIR",BLAS_LIB_DIR) + BLAS_EXTRA_LINK_ARGS = os.environ.get("CVXOPT_BLAS_EXTRA_LINK_ARGS",BLAS_EXTRA_LINK_ARGS) ++FFTW_EXTRA_LINK_ARGS = os.environ.get("CVXOPT_FFTW_EXTRA_LINK_ARGS",'') + if type(BLAS_LIB) is str: BLAS_LIB = BLAS_LIB.strip().split(';') + if type(LAPACK_LIB) is str: LAPACK_LIB = LAPACK_LIB.strip().split(';') +-if type(BLAS_EXTRA_LINK_ARGS) is str: BLAS_EXTRA_LINK_ARGS = BLAS_EXTRA_LINK_ARGS.strip().split(';') ++if type(BLAS_EXTRA_LINK_ARGS) is str: BLAS_EXTRA_LINK_ARGS = BLAS_EXTRA_LINK_ARGS.strip().split(' ') ++if type(FFTW_EXTRA_LINK_ARGS) is str: FFTW_EXTRA_LINK_ARGS = FFTW_EXTRA_LINK_ARGS.strip().split(' ') + BUILD_GSL = int(os.environ.get("CVXOPT_BUILD_GSL",BUILD_GSL)) + GSL_LIB_DIR = os.environ.get("CVXOPT_GSL_LIB_DIR",GSL_LIB_DIR) + GSL_INC_DIR = os.environ.get("CVXOPT_GSL_INC_DIR",GSL_INC_DIR) +@@ -126,7 +128,7 @@ + # optional modules + + if BUILD_GSL: +- gsl = Extension('gsl', libraries = M_LIB + ['gsl'] + BLAS_LIB, ++ gsl = Extension('gsl', libraries = M_LIB + ['gsl'], + include_dirs = [ GSL_INC_DIR ], + library_dirs = [ GSL_LIB_DIR, BLAS_LIB_DIR ], + define_macros = GSL_MACROS, +@@ -135,11 +137,11 @@ + extmods += [gsl]; + + if BUILD_FFTW: +- fftw = Extension('fftw', libraries = ['fftw3'] + BLAS_LIB, ++ fftw = Extension('fftw', + include_dirs = [ FFTW_INC_DIR ], + library_dirs = [ FFTW_LIB_DIR, BLAS_LIB_DIR ], + define_macros = FFTW_MACROS, +- extra_link_args = BLAS_EXTRA_LINK_ARGS, ++ extra_link_args = BLAS_EXTRA_LINK_ARGS + FFTW_EXTRA_LINK_ARGS, + sources = ['src/C/fftw.c'] ) + extmods += [fftw]; + +@@ -151,7 +153,7 @@ + extmods += [glpk]; + + if BUILD_DSDP: +- dsdp = Extension('dsdp', libraries = ['dsdp'] + LAPACK_LIB + BLAS_LIB, ++ dsdp = Extension('dsdp', libraries = ['dsdp'], + include_dirs = [ DSDP_INC_DIR ], + library_dirs = [ DSDP_LIB_DIR, BLAS_LIB_DIR ], + extra_link_args = BLAS_EXTRA_LINK_ARGS, +@@ -160,19 +162,19 @@ + + # Required modules + +-base = Extension('base', libraries = M_LIB + LAPACK_LIB + BLAS_LIB, ++base = Extension('base', + library_dirs = [ BLAS_LIB_DIR ], + define_macros = MACROS, + extra_link_args = BLAS_EXTRA_LINK_ARGS, + sources = ['src/C/base.c','src/C/dense.c','src/C/sparse.c']) + +-blas = Extension('blas', libraries = BLAS_LIB, ++blas = Extension('blas', + library_dirs = [ BLAS_LIB_DIR ], + define_macros = MACROS, + extra_link_args = BLAS_EXTRA_LINK_ARGS, + sources = ['src/C/blas.c'] ) + +-lapack = Extension('lapack', libraries = LAPACK_LIB + BLAS_LIB, ++lapack = Extension('lapack', + library_dirs = [ BLAS_LIB_DIR ], + define_macros = MACROS, + extra_link_args = BLAS_EXTRA_LINK_ARGS, +@@ -180,9 +182,10 @@ + + if not SUITESPARSE_SRC_DIR: + umfpack = Extension('umfpack', +- libraries = ['umfpack','cholmod','amd','colamd','suitesparseconfig'] + LAPACK_LIB + BLAS_LIB + RT_LIB, ++ libraries = ['umfpack','cholmod','amd','colamd','suitesparseconfig'] + RT_LIB, + include_dirs = [SUITESPARSE_INC_DIR], + library_dirs = [SUITESPARSE_LIB_DIR, BLAS_LIB_DIR], ++ extra_link_args = BLAS_EXTRA_LINK_ARGS, + sources = ['src/C/umfpack.c']) + else: + umfpack = Extension('umfpack', +@@ -193,7 +196,6 @@ + SUITESPARSE_SRC_DIR + '/SuiteSparse_config' ], + library_dirs = [ BLAS_LIB_DIR ], + define_macros = MACROS + [('NTIMER', '1'), ('NCHOLMOD', '1')], +- libraries = LAPACK_LIB + BLAS_LIB, + extra_compile_args = UMFPACK_EXTRA_COMPILE_ARGS, + extra_link_args = BLAS_EXTRA_LINK_ARGS, + sources = [ 'src/C/umfpack.c', +@@ -206,14 +208,13 @@ + + if not SUITESPARSE_SRC_DIR: + cholmod = Extension('cholmod', +- libraries = ['cholmod','colamd','amd','suitesparseconfig'] + LAPACK_LIB + BLAS_LIB + RT_LIB, ++ libraries = ['cholmod','colamd','amd','suitesparseconfig'] + RT_LIB, + include_dirs = [SUITESPARSE_INC_DIR], + library_dirs = [SUITESPARSE_LIB_DIR, BLAS_LIB_DIR], + sources = [ 'src/C/cholmod.c' ]) + else: + cholmod = Extension('cholmod', + library_dirs = [ BLAS_LIB_DIR ], +- libraries = LAPACK_LIB + BLAS_LIB, + include_dirs = [ SUITESPARSE_SRC_DIR + '/CHOLMOD/Include', + SUITESPARSE_SRC_DIR + '/COLAMD', + SUITESPARSE_SRC_DIR + '/AMD/Include', +@@ -235,17 +236,18 @@ + libraries = ['amd','suitesparseconfig'] + RT_LIB, + include_dirs = [SUITESPARSE_INC_DIR], + library_dirs = [SUITESPARSE_LIB_DIR], ++ extra_link_args = BLAS_EXTRA_LINK_ARGS, + sources = ['src/C/amd.c']) + else: + amd = Extension('amd', + include_dirs = [SUITESPARSE_SRC_DIR + '/AMD/Include', + SUITESPARSE_SRC_DIR + '/SuiteSparse_config' ], + define_macros = MACROS + [('NTIMER', '1')], ++ extra_link_args = BLAS_EXTRA_LINK_ARGS, + sources = [ 'src/C/amd.c', SUITESPARSE_SRC_DIR + '/SuiteSparse_config/SuiteSparse_config.c'] + + glob(SUITESPARSE_SRC_DIR + '/AMD/Source/*.c') ) + + misc_solvers = Extension('misc_solvers', +- libraries = LAPACK_LIB + BLAS_LIB, + library_dirs = [ BLAS_LIB_DIR ], + define_macros = MACROS, + extra_link_args = BLAS_EXTRA_LINK_ARGS, diff --git a/Golden_Repo/c/CVXOPT/CVXOPT-1.3.0-gpsmkl-2022a.eb b/Golden_Repo/c/CVXOPT/CVXOPT-1.3.0-gpsmkl-2022a.eb new file mode 100644 index 0000000000000000000000000000000000000000..58d9b1b972d528cf24a5063ec1a92e067a5b8d30 --- /dev/null +++ b/Golden_Repo/c/CVXOPT/CVXOPT-1.3.0-gpsmkl-2022a.eb @@ -0,0 +1,39 @@ +easyblock = 'PythonPackage' + +name = 'CVXOPT' +version = '1.3.0' + +homepage = 'http://cvxopt.org' +description = """CVXOPT is a free software package for convex optimization based on the Python programming language. + Its main purpose is to make the development of software for convex optimization applications straightforward by + building on Python's extensive standard library and on the strengths of Python as a high-level programming language. +""" + +toolchain = {'name': 'gpsmkl', 'version': '2022a'} +toolchainopts = {'pic': True, 'usempi': True} + +source_urls = [PYPI_LOWER_SOURCE] +sources = [SOURCELOWER_TAR_GZ] +patches = ['CVXOPT-1.2.1-fix-setup-py.patch'] +checksums = [ + '00b1b232f9d1f902d578a9d75814b67fa020758d5ae422e28ca8cef6269fa5c6', # cvxopt-1.3.0.tar.gz + '85d8475098895e9af45f330489a712b5b944489c5fb4a6c67f59bef8fed4303d', # CVXOPT-1.2.1-fix-setup-py.patch +] + +builddependencies = [ + ('binutils', '2.38'), +] + +dependencies = [ + ('Python', '3.10.4'), + ('SuiteSparse', '5.13.0'), + ('GSL', '2.7'), +] + +download_dep_fail = True +use_pip = True + +preinstallopts = 'CVXOPT_BUILD_FFTW=1 CVXOPT_BUILD_GSL=1 CVXOPT_BLAS_EXTRA_LINK_ARGS="$LIBLAPACK" ' +preinstallopts += 'CVXOPT_FFTW_EXTRA_LINK_ARGS="$LIBFFT" CVXOPT_SUITESPARSE_SRC_DIR=$EBROOTSUITESPARSE' + +moduleclass = 'math' diff --git a/Golden_Repo/c/Cling/Cling-20230205-GCCcore-11.3.0.eb b/Golden_Repo/c/Cling/Cling-20230205-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..80bb6bf1f7fda7e559b43efe3d245560ae6ee5dd --- /dev/null +++ b/Golden_Repo/c/Cling/Cling-20230205-GCCcore-11.3.0.eb @@ -0,0 +1,77 @@ +easyblock = 'CMakeMake' + +name = 'Cling' +version = '20230205' + +local_commit = '1d93ee8d5855a82bbff2aab31515760630e8c1a4' + +homepage = "https://root.cern/cling/" +description = """Cling is an interactive C++ interpreter, built on the top of LLVM and Clang libraries. +Its advantages over the standard interpreters are that it has command line prompt +and uses just-in-time (JIT) compiler for compilation. +""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://github.com/root-project/cling/archive/'] +sources = ['%s.tar.gz' % local_commit] +patches = [ + ('disable_demo.patch'), +] +checksums = [ + {'1d93ee8d5855a82bbff2aab31515760630e8c1a4.tar.gz': + '5cbdac0a8a5229dd2613d3f83af7e38d9e44fba1e5c1e801a4d4349fa277688a'}, + {'disable_demo.patch': '44c74ffd74f0c1d308c68001fa87d9a95d5274a07ea797a284b3b21e6da1c712'}, +] + +builddependencies = [ + ('CMake', '3.23.1'), + ('binutils', '2.38',), +] + +separate_build_dir = True +srcdir = "%(builddir)s/src" + +# get source +preconfigopts = ( + + # get compatible LLVM version id + 'pushd %%(builddir)s/cling-%s && ' + 'LLVM_RELEASE=$(cat LastKnownGoodLLVMSVNRevision.txt) && ' + + # clone compatible LLVM branch + 'cd .. && ' + 'git clone http://root.cern.ch/git/llvm.git src && ' + 'cd src && ' + 'git checkout cling-patches-r${LLVM_RELEASE} && ' + + # clone compatible Clang branch to the correct position in LLVM src + 'cd tools && ' + 'git clone http://root.cern.ch/git/clang.git && ' + 'cd clang && ' + 'git checkout cling-patches-r${LLVM_RELEASE} && ' + + # add cling src to the correct position LLVM src + 'cd .. && ' + 'ln -s ../../cling-%s cling && ' + + # cd to easybuild standard build directory + 'popd && ' + +) % (local_commit, local_commit) + +# copy jupyter kernel files +postinstallcmds = [ + # copy Jupyter kernel install files + # https://cdn.rawgit.com/root-project/cling/master/www/jupyter.html + 'mkdir -p %(installdir)s/share/cling/ ', + 'cp -a %%(builddir)s/cling-%s/tools/Jupyter %%(installdir)s/share/cling ' % local_commit, +] + +sanity_check_paths = { + 'files': ['bin/cling'], + 'dirs': ['bin', 'include', 'lib', 'share'], +} + +moduleclass = 'tools' diff --git a/Golden_Repo/c/Cling/disable_demo.patch b/Golden_Repo/c/Cling/disable_demo.patch new file mode 100644 index 0000000000000000000000000000000000000000..041f894becf403c7807f11ede625668f75a3dafd --- /dev/null +++ b/Golden_Repo/c/Cling/disable_demo.patch @@ -0,0 +1,11 @@ +diff -Naur cling-1d93ee8d5855a82bbff2aab31515760630e8c1a4.orig/tools/CMakeLists.txt cling-1d93ee8d5855a82bbff2aab31515760630e8c1a4/tools/CMakeLists.txt +--- cling-1d93ee8d5855a82bbff2aab31515760630e8c1a4.orig/tools/CMakeLists.txt 2023-02-05 16:02:08.108301585 +0100 ++++ cling-1d93ee8d5855a82bbff2aab31515760630e8c1a4/tools/CMakeLists.txt 2023-02-05 15:59:53.711904401 +0100 +@@ -11,7 +11,6 @@ + add_subdirectory(driver) + add_subdirectory(Jupyter) + add_subdirectory(libcling) +- add_subdirectory(demo) + endif() + + add_subdirectory(plugins) diff --git a/Golden_Repo/c/ceres-solver/ceres-solver-2.1.0-gcccoremkl-11.3.0-2022.1.0.eb b/Golden_Repo/c/ceres-solver/ceres-solver-2.1.0-gcccoremkl-11.3.0-2022.1.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..927d32c82838e9b88b9d09a8707f8c44dcf2bf70 --- /dev/null +++ b/Golden_Repo/c/ceres-solver/ceres-solver-2.1.0-gcccoremkl-11.3.0-2022.1.0.eb @@ -0,0 +1,38 @@ +easyblock = 'CMakeMake' + +name = 'ceres-solver' +version = '2.1.0' + +homepage = 'http://ceres-solver.org' +description = """ +Ceres Solver is an open source C++ library for modeling and solving large, complicated optimization problems. +""" + +toolchain = {'name': 'gcccoremkl', 'version': '11.3.0-2022.1.0'} +toolchainopts = {'pic': True} + +source_urls = ['http://ceres-solver.org/'] +sources = ['%(name)s-%(version)s.tar.gz'] +checksums = ['f7d74eecde0aed75bfc51ec48c91d01fe16a6bf16bce1987a7073286701e2fc6'] + +builddependencies = [ + ('binutils', '2.38'), + ('CMake', '3.23.1') +] + +dependencies = [ + ('Eigen', '3.4.0'), + ('SuiteSparse', '5.13.0', '-nompi'), # ('gcccoremkl', '11.3.0-2022.1.0')), + ('gflags', '2.2.2'), + ('glog', '0.6.0'), +] + +configopts = '-DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF ' +configopts += '-DBUILD_SHARED_LIBS=on ' + +sanity_check_paths = { + 'files': ['lib/libceres.so', 'include/ceres/ceres.h'], + 'dirs': [], +} + +moduleclass = 'tools' diff --git a/Golden_Repo/e/Exiv2/Exiv2-0.27.5-GCCcore-11.3.0.eb b/Golden_Repo/e/Exiv2/Exiv2-0.27.5-GCCcore-11.3.0.eb deleted file mode 100644 index 764780cfb0f701c40c67a937721cd007538270ce..0000000000000000000000000000000000000000 --- a/Golden_Repo/e/Exiv2/Exiv2-0.27.5-GCCcore-11.3.0.eb +++ /dev/null @@ -1,34 +0,0 @@ -easyblock = 'CMakeMake' - -name = 'Exiv2' -version = '0.27.5' - -homepage = 'http://www.exiv2.org' -description = """ - Exiv2 is a C++ library and a command line utility to manage image metadata. It provides fast and easy read and write - access to the Exif, IPTC and XMP metadata of digital images in various formats. Exiv2 is available as free software and - with a commercial license, and is used in many projects. -""" - - -toolchain = {'name': 'GCCcore', 'version': '11.3.0'} - -source_urls = ['http://www.exiv2.org'] -sources = ['https://github.com/Exiv2/exiv2/releases/download/v%(version)s/%(namelower)s-%(version)s-Source.tar.gz'] -checksums = ['35a58618ab236a901ca4928b0ad8b31007ebdc0386d904409d825024e45ea6e2'] - -builddependencies = [ - ('binutils', '2.38'), - ('CMake', '3.23.1'), -] - -dependencies = [ - ('expat', '2.4.8'), -] - -sanity_check_paths = { - 'files': ['bin/exiv2', 'lib/libexiv2.%s' % SHLIB_EXT], - 'dirs': [] -} - -moduleclass = 'vis' diff --git a/Golden_Repo/e/eudev/eudev-3.2.11-GCCcore-11.3.0.eb b/Golden_Repo/e/eudev/eudev-3.2.11-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..5710764ae9d5d3c56f33b82e2b7e347ed1aee803 --- /dev/null +++ b/Golden_Repo/e/eudev/eudev-3.2.11-GCCcore-11.3.0.eb @@ -0,0 +1,46 @@ +easyblock = 'ConfigureMake' + +name = 'eudev' +version = '3.2.11' + +homepage = 'https://wiki.gentoo.org/wiki/Project:Eudev' + +description = """ + eudev is a fork of systemd-udev with the goal of obtaining better + compatibility with existing software such as OpenRC and Upstart, + older kernels, various toolchains and anything else required by + users and various distributions. +""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +source_urls = [('https://github.com/eudev-project/eudev/archive')] +sources = ['v%(version)s.tar.gz'] +patches = ['%(name)s-%(version)s_python3.patch'] +checksums = [ + {'v3.2.11.tar.gz': 'dcfc482099f3fdfcfdb9aeabbc4d609877cf4d2d0407f50ab0c59d43fff44f92'}, + {'eudev-3.2.11_python3.patch': '846b1e72e12853c4146d3a4e312301001bbfb13110ce76de2afdf860f4d085a8'}, +] + +builddependencies = [ + ('binutils', '2.38'), + ('gperf', '3.1'), + ('Python', '3.10.4'), + ('Autotools', '20220317'), + ('pkgconf', '1.8.0'), +] + +osdependencies = [('kernel-headers', 'linux-libc-dev')] + +preconfigopts = "./autogen.sh && " +configopts = '--disable-blkid --disable-selinux --disable-manpages ' + +runtest = 'check' + +sanity_check_paths = { + 'files': ['bin/udevadm', 'include/libudev.h', 'include/udev.h', + 'lib/libudev.so.1'], + 'dirs': [], +} + +moduleclass = 'system' diff --git a/Golden_Repo/e/eudev/eudev-3.2.11_python3.patch b/Golden_Repo/e/eudev/eudev-3.2.11_python3.patch new file mode 100644 index 0000000000000000000000000000000000000000..6730aacf06124cfaf282723c931418dce9665ad0 --- /dev/null +++ b/Golden_Repo/e/eudev/eudev-3.2.11_python3.patch @@ -0,0 +1,9 @@ +diff -ruN eudev-3.2.9.orig/test/rule-syntax-check.py eudev-3.2.9/test/rule-syntax-check.py +--- eudev-3.2.9.orig/test/rule-syntax-check.py 2016-11-17 22:14:19.000000000 +0100 ++++ eudev-3.2.9/test/rule-syntax-check.py 2020-11-06 15:22:12.238868994 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/env python3 + # Simple udev rules syntax checker + # + # (C) 2010 Canonical Ltd. diff --git a/Golden_Repo/f/FFTW/FFTW-3.3.10-GCCcore-11.3.0.eb b/Golden_Repo/f/FFTW/FFTW-3.3.10-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..99cfafe375bccc7db74d2fc9ed0af8526a66af86 --- /dev/null +++ b/Golden_Repo/f/FFTW/FFTW-3.3.10-GCCcore-11.3.0.eb @@ -0,0 +1,22 @@ +name = 'FFTW' +version = '3.3.10' + +homepage = 'https://www.fftw.org' +description = """FFTW is a C subroutine library for computing the discrete Fourier transform (DFT) +in one or more dimensions, of arbitrary input size, and of both real and complex data.""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} +toolchainopts = {'pic': True} + +source_urls = [homepage] +sources = [SOURCELOWER_TAR_GZ] +checksums = ['56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467'] + +builddependencies = [('binutils', '2.38')] + +# We hide it here since this should be used just for Jupyter and the MPI version should be preferred for normal cases +hidden = True + +runtest = 'check' + +moduleclass = 'numlib' diff --git a/Golden_Repo/f/FFTW/FFTW-3.3.10-ipsmpi-2022a.eb b/Golden_Repo/f/FFTW/FFTW-3.3.10-ipsmpi-2022a.eb new file mode 100644 index 0000000000000000000000000000000000000000..621ed5e8eac61040a8cf5ee6e5269f7b35fb76a0 --- /dev/null +++ b/Golden_Repo/f/FFTW/FFTW-3.3.10-ipsmpi-2022a.eb @@ -0,0 +1,38 @@ +name = 'FFTW' + +version = '3.3.10' + +homepage = 'http://www.fftw.org' +description = """FFTW is a C subroutine library for computing the discrete +Fourier transform (DFT) in one or more dimensions, of arbitrary input size, +and of both real and complex data.""" + +toolchain = {'name': 'ipsmpi', 'version': '2022a'} +toolchainopts = {'pic': True} + +source_urls = [homepage] +sources = ['fftw-3.3.10.tar.gz'] + +checksums = ['56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467'] + +# no quad precision, requires GCC v4.6 or higher +# see also +# http://www.fftw.org/doc/Extended-and-quadruple-precision-in-Fortran.html + +with_quad_prec = False + +# compilation fails on AMD systems when configuring with --enable-avx-128-fma, +# because Intel compilers do not support FMA4 instructions + +use_fma4 = False + +# can't find mpirun/mpiexec and fails +# runtest = 'check' + +modextravars = { + 'FFTW_ROOT': '%(installdir)s', + 'FFTW_INCLUDE': '%(installdir)s/include', + 'FFTW_LIB': '%(installdir)s/lib', +} + +moduleclass = 'numlib' diff --git a/Golden_Repo/f/FreeImage/FreeImage-3.18.0-GCCcore-11.3.0.eb b/Golden_Repo/f/FreeImage/FreeImage-3.18.0-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..20585c6304edd12533bb6bd4d7b14a220da87cd9 --- /dev/null +++ b/Golden_Repo/f/FreeImage/FreeImage-3.18.0-GCCcore-11.3.0.eb @@ -0,0 +1,40 @@ +easyblock = 'ConfigureMake' + +name = 'FreeImage' +version = '3.18.0' + +homepage = 'http://freeimage.sourceforge.net' +description = """FreeImage is an Open Source library project for developers who would like to support popular graphics +image formats like PNG, BMP, JPEG, TIFF and others as needed by today's multimedia applications. FreeImage is easy to +use, fast, multithreading safe.""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} +toolchainopts = {'pic': True, 'cstd': 'c++11'} + +source_urls = [SOURCEFORGE_SOURCE] +sources = ['%%(name)s%s.zip' % ''.join(version.split('.'))] +patches = ['%(name)s-%(version)s-fix-makefile.patch'] +checksums = [ + 'f41379682f9ada94ea7b34fe86bf9ee00935a3147be41b6569c9605a53e438fd', # FreeImage3180.zip + '3eaa1eb9562ccfd0cb95a37879bb7e3e8c745166596d75af529478181ef006a0', # FreeImage-3.18.0-fix-makefile.patch +] + +builddependencies = [('binutils', '2.38')] + +skipsteps = ['configure'] + +buildopts = ['', '-f Makefile.fip'] +installopts = [ + 'INCDIR=%(installdir)s/include INSTALLDIR=%(installdir)s/lib', + '-f Makefile.fip INCDIR=%(installdir)s/include INSTALLDIR=%(installdir)s/lib' +] + +dependencies = [('zlib', '1.2.12')] + +sanity_check_paths = { + 'files': ['include/FreeImage.h', 'include/FreeImagePlus.h', 'lib/libfreeimage.a', 'lib/libfreeimage.%s' % SHLIB_EXT, + 'lib/libfreeimageplus.a', 'lib/libfreeimageplus.%s' % SHLIB_EXT], + 'dirs': [] +} + +moduleclass = 'vis' diff --git a/Golden_Repo/f/FreeImage/FreeImage-3.18.0-fix-makefile.patch b/Golden_Repo/f/FreeImage/FreeImage-3.18.0-fix-makefile.patch new file mode 100644 index 0000000000000000000000000000000000000000..ac35040d4d637adaf48ca909d3988ead0e628f07 --- /dev/null +++ b/Golden_Repo/f/FreeImage/FreeImage-3.18.0-fix-makefile.patch @@ -0,0 +1,54 @@ +# Do not install files to root user +# wpoely86@gmail.com +diff -ur FreeImage.orig/Makefile.fip FreeImage/Makefile.fip +--- FreeImage.orig/Makefile.fip 2015-03-10 09:03:56.000000000 +0100 ++++ FreeImage/Makefile.fip 2019-04-09 10:32:42.052332853 +0200 +@@ -11,7 +11,7 @@ + # Converts cr/lf to just lf + DOS2UNIX = dos2unix + +-LIBRARIES = -lstdc++ ++LIBRARIES = -lstdc++ $(LIBS) + + MODULES = $(SRCS:.c=.o) + MODULES := $(MODULES:.cpp=.o) +@@ -72,10 +72,10 @@ + + install: + install -d $(INCDIR) $(INSTALLDIR) +- install -m 644 -o root -g root $(HEADER) $(INCDIR) +- install -m 644 -o root -g root $(HEADERFIP) $(INCDIR) +- install -m 644 -o root -g root $(STATICLIB) $(INSTALLDIR) +- install -m 755 -o root -g root $(SHAREDLIB) $(INSTALLDIR) ++ install -m 644 $(HEADER) $(INCDIR) ++ install -m 644 $(HEADERFIP) $(INCDIR) ++ install -m 644 $(STATICLIB) $(INSTALLDIR) ++ install -m 755 $(SHAREDLIB) $(INSTALLDIR) + ln -sf $(SHAREDLIB) $(INSTALLDIR)/$(VERLIBNAME) + ln -sf $(VERLIBNAME) $(INSTALLDIR)/$(LIBNAME) + +diff -ur FreeImage.orig/Makefile.gnu FreeImage/Makefile.gnu +--- FreeImage.orig/Makefile.gnu 2015-03-10 09:04:00.000000000 +0100 ++++ FreeImage/Makefile.gnu 2019-04-09 10:31:59.066052732 +0200 +@@ -11,7 +11,7 @@ + # Converts cr/lf to just lf + DOS2UNIX = dos2unix + +-LIBRARIES = -lstdc++ ++LIBRARIES = -lstdc++ $(LIBS) + + MODULES = $(SRCS:.c=.o) + MODULES := $(MODULES:.cpp=.o) +@@ -71,9 +71,9 @@ + + install: + install -d $(INCDIR) $(INSTALLDIR) +- install -m 644 -o root -g root $(HEADER) $(INCDIR) +- install -m 644 -o root -g root $(STATICLIB) $(INSTALLDIR) +- install -m 755 -o root -g root $(SHAREDLIB) $(INSTALLDIR) ++ install -m 644 $(HEADER) $(INCDIR) ++ install -m 644 $(STATICLIB) $(INSTALLDIR) ++ install -m 755 $(SHAREDLIB) $(INSTALLDIR) + ln -sf $(SHAREDLIB) $(INSTALLDIR)/$(VERLIBNAME) + ln -sf $(VERLIBNAME) $(INSTALLDIR)/$(LIBNAME) + # ldconfig diff --git a/Golden_Repo/g/GPicView/GPicView-0.2.5-GCCcore-11.3.0.eb b/Golden_Repo/g/GPicView/GPicView-0.2.5-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..f58c27473bc2f883e191ab1dbd352ec314c09078 --- /dev/null +++ b/Golden_Repo/g/GPicView/GPicView-0.2.5-GCCcore-11.3.0.eb @@ -0,0 +1,35 @@ +easyblock = 'ConfigureMake' + +name = 'GPicView' +version = '0.2.5' + +homepage = 'http://lxde.sourceforge.net/gpicview' +description = """GPicView - A Simple and Fast Image Viewer for X""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +source_urls = [ + 'https://sourceforge.net/projects/lxde/files/GPicView%20%28image%20Viewer%29/0.2.x/'] +sources = [SOURCELOWER_TAR_XZ] +checksums = ['38466058e53702450e5899193c4b264339959b563dd5cd81f6f690de32d82942'] + +builddependencies = [ + ('binutils', '2.38'), + ('pkgconf', '1.8.0'), + ('Perl', '5.34.1'), +] + +dependencies = [ + ('X11', '20220504'), + ('GTK+', '3.24.34'), + ('libjpeg-turbo', '2.1.3'), +] + +configopts = '--enable-gtk3 ' + +sanity_check_paths = { + 'files': ['bin/gpicview'], + 'dirs': [], +} + +moduleclass = 'vis' diff --git a/Golden_Repo/g/GStreamer/GStreamer-1.18_fix_bad_suid.patch b/Golden_Repo/g/GStreamer/GStreamer-1.18_fix_bad_suid.patch new file mode 100644 index 0000000000000000000000000000000000000000..4fff14d8b7af95e16f3ec8e948e7b39e3c6addc6 --- /dev/null +++ b/Golden_Repo/g/GStreamer/GStreamer-1.18_fix_bad_suid.patch @@ -0,0 +1,22 @@ +Do NOT make files setuid or try to do setcap. +That's a recipe for disaster. + +Åke Sandgren, 20221031 +diff -ru gstreamer-1.20.2.orig/libs/gst/helpers/ptp_helper_post_install.sh gstreamer-1.20.2/libs/gst/helpers/ptp_helper_post_install.sh +--- gstreamer-1.20.2.orig/libs/gst/helpers/ptp_helper_post_install.sh 2022-05-03 00:29:29.000000000 +0200 ++++ gstreamer-1.20.2/libs/gst/helpers/ptp_helper_post_install.sh 2022-10-31 16:39:11.959435316 +0100 +@@ -11,14 +11,10 @@ + setuid-root) + echo "$0: permissions before: " + ls -l "$ptp_helper" +- chown root "$ptp_helper" || true +- chmod u+s "$ptp_helper" || true + echo "$0: permissions after: " + ls -l "$ptp_helper" + ;; + capabilities) +- echo "Calling $setcap cap_net_bind_service,cap_net_admin+ep $ptp_helper" +- $setcap cap_net_bind_service,cap_net_admin+ep "$ptp_helper" || true + ;; + none) + echo "No perms/caps to set for $ptp_helper" diff --git a/Golden_Repo/g/GStreamer/GStreamer-1.20.2-GCCcore-11.3.0.eb b/Golden_Repo/g/GStreamer/GStreamer-1.20.2-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..bddcf2ab2ce466328d244e9611d64519b3d99a50 --- /dev/null +++ b/Golden_Repo/g/GStreamer/GStreamer-1.20.2-GCCcore-11.3.0.eb @@ -0,0 +1,81 @@ +easyblock = 'Bundle' + +name = 'GStreamer' +version = '1.20.2' + +homepage = 'https://gstreamer.freedesktop.org/' +description = """GStreamer is a library for constructing graphs of media-handling + components. The applications it supports range from simple + Ogg/Vorbis playback, audio/video streaming to complex audio + (mixing) and video (non-linear editing) processing.""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +builddependencies = [ + ('binutils', '2.38'), + ('Meson', '0.62.1'), + ('Ninja', '1.10.2'), + ('Bison', '3.8.2'), + ('flex', '2.6.4'), + ('GObject-Introspection', '1.72.0'), + ('gettext', '0.21'), + ('pkgconf', '1.8.0'), + ('CMake', '3.23.1'), + ('git', '2.36.0', '-nodocs'), +] + +dependencies = [ + ('Python', '3.10.4'), + ('zlib', '1.2.12'), + ('GMP', '6.2.1'), + ('GSL', '2.7'), + ('GLib', '2.72.1'), + ('GTK+', '3.24.34'), + ('libunwind', '1.6.2'), + ('double-conversion', '3.2.0'), + ('elfutils', '0.187'), +] + +default_easyblock = 'MesonNinja' + +default_component_specs = { + 'sources': [SOURCELOWER_TAR_XZ], + 'start_dir': '%(namelower)s-%(version)s', +} + +components = [ + (name, version, { + 'source_urls': ['https://gstreamer.freedesktop.org/src/%(namelower)s'], + 'patches': ['GStreamer-1.18_fix_bad_suid.patch'], + 'checksums': [ + 'df24e8792691a02dfe003b3833a51f1dbc6c3331ae625d143b17da939ceb5e0a', + '3d963ffdaf157ed92f46a071c4ef46f548c0b19186427e8404cb066705bbb61a', + ], + 'configopts': "-Dlibdw=disabled ", + }), + ('GST-plugins-base', version, { + 'source_urls': ['https://gstreamer.freedesktop.org/src/%(namelower)s'], + 'checksums': ['ab0656f2ad4d38292a803e0cb4ca090943a9b43c8063f650b4d3e3606c317f17'], + 'preconfigopts': 'export PKG_CONFIG_PATH="%(installdir)s/lib/pkgconfig:${PKG_CONFIG_PATH}" && ', + }), + ('GST-plugins-good', version, { + 'source_urls': ['https://gstreamer.freedesktop.org/src/%(namelower)s'], + 'checksums': ['83589007bf002b8f9ef627718f308c16d83351905f0db8e85c3060f304143aae'], + 'preconfigopts': 'export PKG_CONFIG_PATH="%(installdir)s/lib/pkgconfig:${PKG_CONFIG_PATH}" && ', + }), + ('GST-plugins-bad', version, { + 'source_urls': ['https://gstreamer.freedesktop.org/src/%(namelower)s'], + 'checksums': ['4adc4c05f41051f8136b80cda99b0d049a34e777832f9fea7c5a70347658745b'], + 'preconfigopts': 'export PKG_CONFIG_PATH="%(installdir)s/lib/pkgconfig:${PKG_CONFIG_PATH}" && ', + }), +] + +modextrapaths = {'PKG_CONFIG_PATH': 'lib/pkgconfig'} # required! + +sanity_check_paths = { + 'files': ['bin/gst-%s-1.0' % x for x in ['discoverer', 'play', 'device-monitor']] + + ['lib/libgst%s-1.0.%s' % (x, SHLIB_EXT) for x in ['app', 'audio', 'video']], + 'dirs': ['include', 'share'] +} + +moduleclass = 'vis' diff --git a/Golden_Repo/g/glog/glog-0.6.0-GCCcore-11.3.0.eb b/Golden_Repo/g/glog/glog-0.6.0-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..f8d1bdb9f181437999a5742744e0f2fe265b0920 --- /dev/null +++ b/Golden_Repo/g/glog/glog-0.6.0-GCCcore-11.3.0.eb @@ -0,0 +1,33 @@ +easyblock = 'CMakeMake' + +name = 'glog' +version = '0.6.0' + +homepage = 'https://github.com/google/glog' +description = "A C++ implementation of the Google logging module." + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} +toolchainopts = {'cstd': 'c++11'} + +source_urls = ['https://github.com/google/glog/archive/'] +sources = ['v%(version)s.tar.gz'] +checksums = ['8a83bf982f37bb70825df71a9709fa90ea9f4447fb3c099e1d720a439d88bad6'] + +builddependencies = [ + ('binutils', '2.38'), + ('CMake', '3.23.1') +] + +dependencies = [ + ('gflags', '2.2.2'), + ('libunwind', '1.6.2'), +] + +configopts = '-DBUILD_SHARED_LIBS=ON ' + +sanity_check_paths = { + 'files': ['include/glog/logging.h', 'include/glog/raw_logging.h', 'lib/libglog.%s' % SHLIB_EXT], + 'dirs': [], +} + +moduleclass = 'devel' diff --git a/Golden_Repo/h/h5py/h5py-3.7.0-GCCcore-11.3.0-serial.eb b/Golden_Repo/h/h5py/h5py-3.7.0-GCCcore-11.3.0-serial.eb new file mode 100644 index 0000000000000000000000000000000000000000..c6ca6ba4b092d0c9b6117a74c4171b4f5b796b54 --- /dev/null +++ b/Golden_Repo/h/h5py/h5py-3.7.0-GCCcore-11.3.0-serial.eb @@ -0,0 +1,37 @@ +easyblock = "PythonPackage" + +name = 'h5py' +version = '3.7.0' +versionsuffix = '-serial' + +homepage = 'http://www.h5py.org/' +description = """HDF5 for Python (h5py) is a general-purpose Python interface to the Hierarchical Data Format library, + version 5. HDF5 is a versatile, mature scientific software library designed for the fast, flexible storage of enormous + amounts of data. +""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +sources = [SOURCE_TAR_GZ] +checksums = ['3fcf37884383c5da64846ab510190720027dca0768def34dd8dcb659dbe5cbf3'] + +builddependencies = [ + ('binutils', '2.38'), + ('pkgconfig', '1.5.5', '-python')] + +dependencies = [ + ('Python', '3.10.4'), + ('SciPy-bundle', '2022.05', '', ('gcccoremkl', '11.3.0-2022.1.0')), + ('HDF5', '1.12.2', '-serial'), +] + +use_pip = True +sanity_pip_check = True +download_dep_fail = True + +# h5py's setup.py will disable setup_requires if H5PY_SETUP_REQUIRES is set to 0 +# without this environment variable, pip will fetch the minimum numpy version h5py supports during install, +# even though SciPy-bundle provides a newer version that satisfies h5py's install_requires dependency. +preinstallopts = 'HDF5_MPI=OFF HDF5_DIR="$EBROOTHDF5" H5PY_SETUP_REQUIRES=0 ' + +moduleclass = 'data' diff --git a/Golden_Repo/i/ispc/ispc-1.18.1.eb b/Golden_Repo/i/ispc/ispc-1.18.1.eb new file mode 100644 index 0000000000000000000000000000000000000000..44e37c459e24c18a82e53ccd76c865319f2c7a9f --- /dev/null +++ b/Golden_Repo/i/ispc/ispc-1.18.1.eb @@ -0,0 +1,26 @@ +easyblock = 'Tarball' + +name = 'ispc' +version = '1.18.1' + +homepage = 'http://ispc.github.io/ , https://github.com/ispc/ispc/' +description = """Intel SPMD Program Compilers; An open-source compiler for high-performance + SIMD programming on the CPU. ispc is a compiler for a variant of the C programming language, + with extensions for 'single program, multiple data' (SPMD) programming. + Under the SPMD model, the programmer writes a program that generally appears + to be a regular serial program, though the execution model is actually that + a number of program instances execute in parallel on the hardware. +""" + +toolchain = SYSTEM + +source_urls = [('https://github.com/ispc/ispc/releases/download/v%(version)s')] +sources = ['ispc-v%(version)s-linux.tar.gz'] +checksums = ['7faf59f26c09ceffe6165805d9e40b6582ddc1417c12786a214f4536e3388b47'] + +sanity_check_paths = { + 'files': ["bin/ispc"], + 'dirs': [] +} + +moduleclass = 'system' diff --git a/Golden_Repo/j/jax/TensorFlow-2.7.0_cuda-noncanonical-include-paths.patch b/Golden_Repo/j/jax/TensorFlow-2.7.0_cuda-noncanonical-include-paths.patch new file mode 100644 index 0000000000000000000000000000000000000000..93157c49ad0bd14ed295da30e46692a0b562e74e --- /dev/null +++ b/Golden_Repo/j/jax/TensorFlow-2.7.0_cuda-noncanonical-include-paths.patch @@ -0,0 +1,20 @@ +Use non-canonical paths to populate the include paths in the toolchain in Bazel. +Otherwise, build will fail due to mismatch in include paths. +author: Alex Domingo (Vrije Universiteit Brussel) +--- third_party/gpus/cuda_configure.bzl.orig 2021-10-25 11:48:32.896463000 +0200 ++++ third_party/gpus/cuda_configure.bzl 2021-10-25 11:51:56.719009257 +0200 +@@ -274,8 +274,12 @@ + sysroot = [] + if tf_sysroot: + sysroot += ["--sysroot", tf_sysroot] +- result = raw_exec(repository_ctx, [cc, "-E", "-x" + lang, "-", "-v"] + +- sysroot) ++ ++ result = raw_exec( ++ repository_ctx, ++ [cc, "-no-canonical-prefixes", "-E", "-x" + lang, "-", "-v"] + sysroot ++ ) ++ + stderr = err_out(result) + index1 = stderr.find(_INC_DIR_MARKER_BEGIN) + if index1 == -1: diff --git a/Golden_Repo/j/jax/jax-0.3.23-foss-2022a-CUDA-11.7.eb b/Golden_Repo/j/jax/jax-0.3.23-foss-2022a-CUDA-11.7.eb new file mode 100644 index 0000000000000000000000000000000000000000..90db04dc3e2bafc29f61fb542c931b0b1f8ef521 --- /dev/null +++ b/Golden_Repo/j/jax/jax-0.3.23-foss-2022a-CUDA-11.7.eb @@ -0,0 +1,122 @@ +# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild +# Author: Denis Kristak +# Updated by: Alex Domingo (Vrije Universiteit Brussel) +easyblock = 'PythonBundle' + +name = 'jax' +version = '0.3.23' +versionsuffix = '-CUDA-%(cudaver)s' + +homepage = 'https://pypi.python.org/pypi/jax' +description = """Composable transformations of Python+NumPy programs: +differentiate, vectorize, JIT to GPU/TPU, and more""" + +toolchain = {'name': 'foss', 'version': '2022a'} + +builddependencies = [ + ('Bazel', '5.1.1'), + ('pytest-xdist', '2.5.0'), + # git 2.x required to fetch repository 'io_bazel_rules_docker' + ('git', '2.36.0', '-nodocs'), + ('matplotlib', '3.5.2', '', ('gcccoremkl', '11.3.0-2022.1.0')), +] + +dependencies = [ + ('CUDA', '11.7', '', SYSTEM), + ('cuDNN', '8.6.0.163', '-CUDA-%(cudaver)s', SYSTEM), + ('NCCL', 'default', '-CUDA-%(cudaver)s'), + ('Python', '3.10.4'), + ('SciPy-bundle', '2022.05', '', ('gcccoremkl', '11.3.0-2022.1.0')), + ('flatbuffers-python', '2.0'), +] + +# downloading TensorFlow tarball to avoid that Bazel downloads it during the build +# note: this *must* be the exact same commit as used in WORKSPACE +local_tf_commit = 'cb946f223b9b3fa04efdbb7a0e6a9dabb22a7057' +local_tf_dir = 'tensorflow-%s' % local_tf_commit +local_tf_builddir = '%(builddir)s/' + local_tf_dir + +# replace remote TensorFlow repository with the local one from EB +local_jax_prebuildopts = "sed -i -f jaxlib_local-tensorflow-repo.sed WORKSPACE && " +local_jax_prebuildopts += "sed -i 's|EB_TF_REPOPATH|%s|' WORKSPACE && " % local_tf_builddir + +use_pip = True + +default_easyblock = 'PythonPackage' +default_component_specs = { + 'sources': [SOURCE_TAR_GZ], + 'source_urls': [PYPI_SOURCE], + 'start_dir': '%(name)s-%(version)s', + 'use_pip': True, + 'sanity_pip_check': True, + 'download_dep_fail': True, +} + +components = [ + ('absl-py', '1.3.0', { + 'options': {'modulename': 'absl'}, + 'checksums': ['463c38a08d2e4cef6c498b76ba5bd4858e4c6ef51da1a5a1f27139a022e20248'], + }), + ('jaxlib', '0.3.22', { + 'sources': [ + '%(name)s-v%(version)s.tar.gz', + { + 'download_filename': '%s.tar.gz' % local_tf_commit, + 'filename': 'tensorflow-%s.tar.gz' % local_tf_commit, + } + ], + 'source_urls': [ + 'https://github.com/google/jax/archive/', + 'https://github.com/tensorflow/tensorflow/archive/' + ], + 'patches': [ + ('jaxlib_local-tensorflow-repo.sed', '.'), + ('TensorFlow-2.7.0_cuda-noncanonical-include-paths.patch', '../' + local_tf_dir), + ], + 'checksums': [ + # jaxlib-v0.3.22.tar.gz + '680a6f5265ba26d5515617a95ae47244005366f879a5c321782fde60f34e6d0d', + # tensorflow-cb946f223b9b3fa04efdbb7a0e6a9dabb22a7057.tar.gz + '9a7a7a87356bdeef5874fae135de380466482b593469035be3609a9cd2c153c4', + # jaxlib_local-tensorflow-repo.sed + 'abb5c3b97f4e317bce9f22ed3eeea3b9715365818d8b50720d937e2d41d5c4e5', + # TensorFlow-2.7.0_cuda-noncanonical-include-paths.patch + '0a759010c253d49755955cd5f028e75de4a4c447dcc8f5a0d9f47cce6881a9db', + ], + 'start_dir': 'jax-jaxlib-v%(version)s', + 'prebuildopts': local_jax_prebuildopts, + }), +] + +exts_list = [ + ('opt_einsum', '3.3.0', { + 'checksums': ['59f6475f77bbc37dcf7cd748519c0ec60722e91e63ca114e68821c0c54a46549'], + }), + ('etils', '0.8.0', { + 'checksums': ['d1d5af7bd9c784a273c4e1eccfaa8feaca5e0481a08717b5313fa231da22a903'], + }), + (name, version, { + 'patches': [ + 'jax-0.3.9_relax-test-tolerance.patch', + 'jax-0.3.23_correctly-skip-from_dlpack-tests.patch', + 'jax-0.3.23_relax-testPoly5-tolerance.patch', + ], + 'runtest': "NVIDIA_TF32_OVERRIDE=0 CUDA_VISIBLE_DEVICES=0 \ + XLA_PYTHON_CLIENT_ALLOCATOR=platform JAX_ENABLE_X64=true pytest -vv tests", + 'source_tmpl': '%(name)s-v%(version)s.tar.gz', + 'source_urls': ['https://github.com/google/jax/archive/'], + 'checksums': [ + {'jax-v0.3.23.tar.gz': 'fa8c68a82fa2fcf3d272bf239c77e7028bb6077466a53349ce85f6e85ed623db'}, + {'jax-0.3.9_relax-test-tolerance.patch': + 'b50c4d23a5d51dba720c8aebdae8d15a0ddfc2e9719f48049a8220655ac20254'}, + {'jax-0.3.23_correctly-skip-from_dlpack-tests.patch': + 'a69ce7280ca8bb42e671217f00d9147f8c64b4b7ba65dea7f05f2c6de757b279'}, + {'jax-0.3.23_relax-testPoly5-tolerance.patch': + 'be64bf36dde4884a97b6c8bb22c6b14ab5b24033cd40bfe7ce18363c55c30e87'}, + ], + }), +] + +sanity_pip_check = True + +moduleclass = 'tools' diff --git a/Golden_Repo/j/jax/jax-0.3.23_correctly-skip-from_dlpack-tests.patch b/Golden_Repo/j/jax/jax-0.3.23_correctly-skip-from_dlpack-tests.patch new file mode 100644 index 0000000000000000000000000000000000000000..7354e39c8e3e3b3fce8f28bd67d933667aadbd49 --- /dev/null +++ b/Golden_Repo/j/jax/jax-0.3.23_correctly-skip-from_dlpack-tests.patch @@ -0,0 +1,15 @@ +np.from_dlpack was not added until numpy 1.23 +Patch based off https://github.com/google/jax/pull/12900 and added by Simon Branford (University of Birmingham) +diff --git a/tests/array_interoperability_test.py b/tests/array_interoperability_test.py +index cc2f3a6c08d..ac04ee637c8 100644 +--- a/tests/array_interoperability_test.py ++++ b/tests/array_interoperability_test.py +@@ -200,7 +200,7 @@ def testNumpyToJax(self, shape, dtype): + "shape": shape, "dtype": dtype} + for shape in all_shapes + for dtype in torch_dtypes)) +- @unittest.skipIf(numpy_version < (1, 22, 0), "Requires numpy 1.22 or newer") ++ @unittest.skipIf(numpy_version < (1, 23, 0), "Requires numpy 1.23 or newer") + @jtu.skip_on_devices("gpu") + def testJaxToNumpy(self, shape, dtype): + rng = jtu.rand_default(self.rng()) diff --git a/Golden_Repo/j/jax/jax-0.3.23_relax-testPoly5-tolerance.patch b/Golden_Repo/j/jax/jax-0.3.23_relax-testPoly5-tolerance.patch new file mode 100644 index 0000000000000000000000000000000000000000..38729edac87cc0687e6c7603acee25b0dc5dd3c9 --- /dev/null +++ b/Golden_Repo/j/jax/jax-0.3.23_relax-testPoly5-tolerance.patch @@ -0,0 +1,14 @@ +Relax the tolerance for the testPoly5 test +Patch by Simon Branford (University of Birmingham) +--- tests/lax_numpy_test.py 2022-10-12 16:23:43.000000000 +0100 ++++ tests/lax_numpy_test.py 2022-10-21 13:33:59.871417000 +0100 +@@ -1277,6 +1277,9 @@ + if jtu.device_under_test() == "tpu": + tol[np.int32] = tol[np.float32] = 1e-1 + tol = jtu.tolerance(dtype, tol) ++ if rank == 2 and dtype == np.int8 and a_shape == (12,): ++ # relax tolerance (from 1e-3) for testPoly5 ++ tol = 2e-3 + args_maker = lambda: [rng(a_shape * rank, dtype)] + self._CheckAgainstNumpy(np.poly, jnp.poly, args_maker, check_dtypes=False, tol=tol) + self._CompileAndCheck(jnp.poly, args_maker, check_dtypes=True, rtol=tol, atol=tol) diff --git a/Golden_Repo/j/jax/jax-0.3.9_relax-test-tolerance.patch b/Golden_Repo/j/jax/jax-0.3.9_relax-test-tolerance.patch new file mode 100644 index 0000000000000000000000000000000000000000..a8275d46e2fe8f41802498dd34f5ecf1c74e6523 --- /dev/null +++ b/Golden_Repo/j/jax/jax-0.3.9_relax-test-tolerance.patch @@ -0,0 +1,29 @@ +Relax tolerance for tests/linalg_test.py::NumpyLinalgTest::testQr0 +Which gives norm=152.9272003173828 (out of 140) on AMD Epyc 7402 +Patch by Alexandre Strube (Helmholtz AI/Juelich Supercomputing Centre) +Relax tolerance for tests/linalg_test.py::ScipyLinalgTest::testLu_shape=float64[50,50] +which failes by a small amount on AMD Rome +Patch by Simon Branford (University of Birmingham) +--- tests/linalg_test.py.orig 2022-10-12 17:23:43.000000000 +0200 ++++ tests/linalg_test.py 2023-01-12 18:24:58.706838703 +0100 +@@ -667,7 +667,7 @@ + phases = np.divide(sum_of_ratios, np.abs(sum_of_ratios)) + q1 *= phases + nm = norm(q1 - q2) +- self.assertTrue(np.all(nm < 140), msg=f"norm={np.amax(nm)}") ++ self.assertTrue(np.all(nm < 160), msg=f"norm={np.amax(nm)}") + + # Check a ~= qr + self.assertTrue(np.all(norm(a - np.matmul(lq, lr)) < 40)) +@@ -984,8 +984,9 @@ + x, = args_maker() + p, l, u = jsp.linalg.lu(x) + self.assertAllClose(x, np.matmul(p, np.matmul(l, u)), +- rtol={np.float32: 1e-3, np.float64: 1e-12, +- np.complex64: 1e-3, np.complex128: 1e-12}) ++ rtol={np.float32: 1e-3, np.float64: 1e-11, ++ np.complex64: 1e-3, np.complex128: 1e-12}, ++ atol={np.float64: 1e-14}) + self._CompileAndCheck(jsp.linalg.lu, args_maker) + + def testLuOfSingularMatrix(self): \ No newline at end of file diff --git a/Golden_Repo/j/jax/jaxlib_local-tensorflow-repo.sed b/Golden_Repo/j/jax/jaxlib_local-tensorflow-repo.sed new file mode 100644 index 0000000000000000000000000000000000000000..1116ca24ca92a1f42b6329570adab879ed8d1739 --- /dev/null +++ b/Golden_Repo/j/jax/jaxlib_local-tensorflow-repo.sed @@ -0,0 +1,12 @@ +/^http_archive(/{ + :a;N;/\n)/!ba; + /org_tensorflow/{ + s/^/# /; + s/\n/\n# /g; + s|$|\ +local_repository(\ + name = "org_tensorflow",\ + path = "EB_TF_REPOPATH",\ +)|; + } +} diff --git a/Golden_Repo/l/libspng/libspng-0.7.1-GCCcore-11.3.0.eb b/Golden_Repo/l/libspng/libspng-0.7.1-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..df0545446f2db9857f1b7b61a36e5f8296257c8b --- /dev/null +++ b/Golden_Repo/l/libspng/libspng-0.7.1-GCCcore-11.3.0.eb @@ -0,0 +1,43 @@ +easyblock = 'CMakeMake' + +name = 'libspng' +version = '0.7.3' + +homepage = 'https://libspng.org' +description = "Simple, modern libpng alternative " + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} +toolchainopts = {'pic': True} + +github_account = 'randy408' +source_urls = [GITHUB_SOURCE] +sources = ['v%(version)s.tar.gz'] +checksums = ['a50cadbe808ffda1a7fab17d145f52a23b163f34b3eb3696c7ecb5a52340fc1d'] + +builddependencies = [ + ('binutils', '2.38'), + ('CMake', '3.23.1'), + ('pkgconf', '1.8.0'), +] +dependencies = [('zlib', '1.2.12')] + +separate_build_dir = True +configopts = "-DCMAKE_VERBOSE_MAKEFILE=ON " + +postinstallcmds = [ + ( + 'pushd %(installdir)s/lib64/pkgconfig/ && ' + 'cp libspng.pc spng.pc && ' + 'popd' + ) +] + +sanity_check_paths = { + 'files': [ + 'include/spng.h', + 'lib/libspng_static.a', 'lib/libspng.%s' % SHLIB_EXT, + ], + 'dirs': ['include', 'lib'], +} + +moduleclass = 'lib' diff --git a/Golden_Repo/l/libyuv/libyuv-20210428-GCCcore-11.3.0.eb b/Golden_Repo/l/libyuv/libyuv-20210428-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..4a5f7a360cd885ec91d0b3c45b63e00214a87218 --- /dev/null +++ b/Golden_Repo/l/libyuv/libyuv-20210428-GCCcore-11.3.0.eb @@ -0,0 +1,60 @@ +easyblock = 'CMakeMake' + +name = 'libyuv' +version = '20210428' + +homepage = 'https://chromium.googlesource.com/libyuv/libyuv/' +description = """ +libyuv for colorspace conversion. libyuv is Optimized for SSE2/SSSE3/AVX2 on x86/x64. +""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} +toolchainopts = {'pic': True} + +sources = [ + { + 'source_urls': ['https://chromium.googlesource.com/libyuv/libyuv/+archive/'], + 'filename': '%(name)s-eb6e7bb63738e29efd82ea3cf2a115238a89fa51.tar.gz', + 'download_filename': 'eb6e7bb63738e29efd82ea3cf2a115238a89fa51.tar.gz', + } +] +# checksum changes with every download +checksums = ['d84d716d81d0b4a43bd1b3efc2ed62b148ee8d473754c37fcde479a2793a0c46'] + +builddependencies = [ + ('binutils', '2.38'), + ('CMake', '3.23.1') +] + +separate_build_dir = True +start_dir = './' + +configopts = '-DCMAKE_VERBOSE_MAKEFILE=ON ' + +postinstallcmds = [ + ( + '{ cat >> %(installdir)s/libyuv.pc; } << \'EOF\'\n' + 'prefix=%(installdir)s\n' + 'exec_prefix=${prefix}\n' + 'libdir=${prefix}/lib\n' + 'includedir=${prefix}/include\n' + '\n' + 'Name: libyuv\n' + 'Description: YUV conversion and scaling functionality library\n' + 'Version: 0\n' + 'Cflags: -I${includedir}\n' + 'Libs: -L${libdir} -lyuv\n' + 'EOF' + ), +] + +sanity_check_paths = { + 'files': ['lib/libyuv.a', 'include/libyuv.h'], + 'dirs': [], +} + +modextrapaths = { + 'PKG_CONFIG_PATH': '' +} + +moduleclass = 'vis' diff --git a/Golden_Repo/m/MUST/MUST-1.8.0-gompi-2022a.eb b/Golden_Repo/m/MUST/MUST-1.8.0-gompi-2022a.eb new file mode 100644 index 0000000000000000000000000000000000000000..b4e26720b96d5ba8ed05e3d20673e90fab543552 --- /dev/null +++ b/Golden_Repo/m/MUST/MUST-1.8.0-gompi-2022a.eb @@ -0,0 +1,53 @@ +# This is an easyconfig file for EasyBuild, see https://github.com/easybuilders/easybuild +# Copyright:: Copyright 2013-2023 Juelich Supercomputing Centre, Germany +# Authors:: Bernd Mohr <b.mohr@fz-juelich.de> +# Authors:: Damian Alvarez <d.alvarez@fz-juelich.de> +# Authors:: Benedikt Steinbusch <b.steinbusch@fz-juelich.de> +# License:: New BSD +# +# This work is based from experiences from the UNITE project +# http://apps.fz-juelich.de/unite/ +## +easyblock = 'CMakeMake' + +name = "MUST" +version = "1.8.0" + +homepage = 'https://hpc.rwth-aachen.de/must/' +description = """MUST detects usage errors of the Message Passing Interface (MPI) and reports them +to the user. As MPI calls are complex and usage errors common, this functionality is extremely helpful +for application developers that want to develop correct MPI applications. This includes errors that +already manifest --segmentation faults or incorrect results -- as well as many errors that are not +visible to the application developer or do not manifest on a certain system or MPI implementation. +""" + +toolchain = {'name': 'gompi', 'version': '2022a'} + +source_urls = ['https://hpc.rwth-aachen.de/must/files/'] +sources = ['%(name)s-v%(version)s.tar.gz'] +patches = [ + 'wrap-config.cmake.in.patch', +] +checksums = [ + '9754fefd2e4c8cba812f8b56a5dd929bc84aa599b2509305e1eb8518be0a8a39', # MUST-v1.8.0.tar.gz + 'a7adba726fb68f928556dc6e16ad9b624c528a2c807b73e1a61e79a2b2431681', # wrap-config.cmake.in.patch +] + +builddependencies = [ + ('CMake', '3.23.1'), +] + +dependencies = [ + ('Graphviz', '5.0.0'), + ('libxml2', '2.9.13'), + ('Python', '3.10.4'), +] + +configopts = ' -DCMAKE_BUILD_TYPE=Release -DPython_ROOT_DIR="$EBROOTPYTHON" ' + +sanity_check_paths = { + 'files': ["bin/mustrun", "include/mustConfig.h"], + 'dirs': [], +} + +moduleclass = 'perf' diff --git a/Golden_Repo/m/MUST/MUST-1.8.0-gpsmpi-2022a.eb b/Golden_Repo/m/MUST/MUST-1.8.0-gpsmpi-2022a.eb new file mode 100644 index 0000000000000000000000000000000000000000..f8cba8685d6adfd2a9575bfff9e2c70befe4aee2 --- /dev/null +++ b/Golden_Repo/m/MUST/MUST-1.8.0-gpsmpi-2022a.eb @@ -0,0 +1,53 @@ +# This is an easyconfig file for EasyBuild, see https://github.com/easybuilders/easybuild +# Copyright:: Copyright 2013-2023 Juelich Supercomputing Centre, Germany +# Authors:: Bernd Mohr <b.mohr@fz-juelich.de> +# Authors:: Damian Alvarez <d.alvarez@fz-juelich.de> +# Authors:: Benedikt Steinbusch <b.steinbusch@fz-juelich.de> +# License:: New BSD +# +# This work is based from experiences from the UNITE project +# http://apps.fz-juelich.de/unite/ +## +easyblock = 'CMakeMake' + +name = "MUST" +version = "1.8.0" + +homepage = 'https://hpc.rwth-aachen.de/must/' +description = """MUST detects usage errors of the Message Passing Interface (MPI) and reports them +to the user. As MPI calls are complex and usage errors common, this functionality is extremely helpful +for application developers that want to develop correct MPI applications. This includes errors that +already manifest --segmentation faults or incorrect results -- as well as many errors that are not +visible to the application developer or do not manifest on a certain system or MPI implementation. +""" + +toolchain = {'name': 'gpsmpi', 'version': '2022a'} + +source_urls = ['https://hpc.rwth-aachen.de/must/files/'] +sources = ['%(name)s-v%(version)s.tar.gz'] +patches = [ + 'wrap-config.cmake.in.patch', +] +checksums = [ + '9754fefd2e4c8cba812f8b56a5dd929bc84aa599b2509305e1eb8518be0a8a39', # MUST-v1.8.0.tar.gz + 'a7adba726fb68f928556dc6e16ad9b624c528a2c807b73e1a61e79a2b2431681', # wrap-config.cmake.in.patch +] + +builddependencies = [ + ('CMake', '3.23.1'), +] + +dependencies = [ + ('Graphviz', '5.0.0'), + ('libxml2', '2.9.13'), + ('Python', '3.10.4'), +] + +configopts = ' -DCMAKE_BUILD_TYPE=Release -DPython_ROOT_DIR="$EBROOTPYTHON" ' + +sanity_check_paths = { + 'files': ["bin/mustrun", "include/mustConfig.h"], + 'dirs': [], +} + +moduleclass = 'perf' diff --git a/Golden_Repo/m/MUST/MUST-1.8.0-ipsmpi-2022a.eb b/Golden_Repo/m/MUST/MUST-1.8.0-ipsmpi-2022a.eb new file mode 100644 index 0000000000000000000000000000000000000000..9c457ed2c0f7ffa40cdcc8a1e914149e4369e405 --- /dev/null +++ b/Golden_Repo/m/MUST/MUST-1.8.0-ipsmpi-2022a.eb @@ -0,0 +1,53 @@ +# This is an easyconfig file for EasyBuild, see https://github.com/easybuilders/easybuild +# Copyright:: Copyright 2013-2023 Juelich Supercomputing Centre, Germany +# Authors:: Bernd Mohr <b.mohr@fz-juelich.de> +# Authors:: Damian Alvarez <d.alvarez@fz-juelich.de> +# Authors:: Benedikt Steinbusch <b.steinbusch@fz-juelich.de> +# License:: New BSD +# +# This work is based from experiences from the UNITE project +# http://apps.fz-juelich.de/unite/ +## +easyblock = 'CMakeMake' + +name = "MUST" +version = "1.8.0" + +homepage = 'https://hpc.rwth-aachen.de/must/' +description = """MUST detects usage errors of the Message Passing Interface (MPI) and reports them +to the user. As MPI calls are complex and usage errors common, this functionality is extremely helpful +for application developers that want to develop correct MPI applications. This includes errors that +already manifest --segmentation faults or incorrect results -- as well as many errors that are not +visible to the application developer or do not manifest on a certain system or MPI implementation. +""" + +toolchain = {'name': 'ipsmpi', 'version': '2022a'} + +source_urls = ['https://hpc.rwth-aachen.de/must/files/'] +sources = ['%(name)s-v%(version)s.tar.gz'] +patches = [ + 'wrap-config.cmake.in.patch', +] +checksums = [ + '9754fefd2e4c8cba812f8b56a5dd929bc84aa599b2509305e1eb8518be0a8a39', # MUST-v1.8.0.tar.gz + 'a7adba726fb68f928556dc6e16ad9b624c528a2c807b73e1a61e79a2b2431681', # wrap-config.cmake.in.patch +] + +builddependencies = [ + ('CMake', '3.23.1'), +] + +dependencies = [ + ('Graphviz', '5.0.0'), + ('libxml2', '2.9.13'), + ('Python', '3.10.4'), +] + +configopts = ' -DCMAKE_BUILD_TYPE=Release -DPython_ROOT_DIR="$EBROOTPYTHON" ' + +sanity_check_paths = { + 'files': ["bin/mustrun", "include/mustConfig.h"], + 'dirs': [], +} + +moduleclass = 'perf' diff --git a/Golden_Repo/m/MUST/wrap-config.cmake.in.patch b/Golden_Repo/m/MUST/wrap-config.cmake.in.patch new file mode 100644 index 0000000000000000000000000000000000000000..5240d39fd4df30ca52548defd727f9a7bece8c47 --- /dev/null +++ b/Golden_Repo/m/MUST/wrap-config.cmake.in.patch @@ -0,0 +1,90 @@ +--- externals/wrap/wrap-config.cmake.in.orig 2020-08-26 21:13:57.739359000 +0200 ++++ externals/wrap/wrap-config.cmake.in 2020-08-26 21:05:11.535717000 +0200 +@@ -39,9 +39,9 @@ + + # Play nice with FindPythonInterp -- use the interpreter if it was found, + # otherwise use the script directly. +- find_package(PythonInterp 2.6) +- if (PYTHON_EXECUTABLE) +- set(command ${PYTHON_EXECUTABLE}) ++ find_package(Python) ++ if (Python_EXECUTABLE) ++ set(command ${Python_EXECUTABLE}) + set(script_arg ${Wrap_EXECUTABLE}) + else() + set(command ${Wrap_EXECUTABLE}) +--- externals/GTI/externals/wrap/wrap-config.cmake.in.orig 2020-08-26 21:12:21.579754000 +0200 ++++ externals/GTI/externals/wrap/wrap-config.cmake.in 2020-08-26 21:14:34.723726000 +0200 +@@ -39,9 +39,9 @@ + + # Play nice with FindPythonInterp -- use the interpreter if it was found, + # otherwise use the script directly. +- find_package(PythonInterp 2.6) +- if (PYTHON_EXECUTABLE) +- set(command ${PYTHON_EXECUTABLE}) ++ find_package(Python) ++ if (Python_EXECUTABLE) ++ set(command ${Python_EXECUTABLE}) + set(script_arg ${Wrap_EXECUTABLE}) + else() + set(command ${Wrap_EXECUTABLE}) +--- externals/GTI/externals/PnMPI/externals/wrap/wrap-config.cmake.in.orig 2020-08-26 21:13:22.408675000 +0200 ++++ externals/GTI/externals/PnMPI/externals/wrap/wrap-config.cmake.in 2020-08-26 21:00:55.200196000 +0200 +@@ -39,9 +39,9 @@ + + # Play nice with FindPythonInterp -- use the interpreter if it was found, + # otherwise use the script directly. +- find_package(PythonInterp 2.6) +- if (PYTHON_EXECUTABLE) +- set(command ${PYTHON_EXECUTABLE}) ++ find_package(Python) ++ if (Python_EXECUTABLE) ++ set(command ${Python_EXECUTABLE}) + set(script_arg ${Wrap_EXECUTABLE}) + else() + set(command ${Wrap_EXECUTABLE}) +--- externals/wrap/WrapConfig.cmake.orig 2021-05-27 10:35:39.000000000 +0200 ++++ externals/wrap/WrapConfig.cmake 2021-05-27 10:36:23.000000000 +0200 +@@ -29,9 +29,9 @@ + + # Play nice with FindPythonInterp -- use the interpreter if it was found, + # otherwise use the script directly. +- find_package(PythonInterp 2.6) +- if (PYTHON_EXECUTABLE) +- set(command ${PYTHON_EXECUTABLE}) ++ find_package(Python) ++ if (Python_EXECUTABLE) ++ set(command ${Python_EXECUTABLE}) + set(script_arg ${Wrap_EXECUTABLE}) + else() + set(command ${Wrap_EXECUTABLE}) +--- externals/GTI/externals/wrap/WrapConfig.cmake.orig 2021-05-27 10:35:39.000000000 +0200 ++++ externals/GTI/externals/wrap/WrapConfig.cmake 2021-05-27 10:36:23.000000000 +0200 +@@ -29,9 +29,9 @@ + + # Play nice with FindPythonInterp -- use the interpreter if it was found, + # otherwise use the script directly. +- find_package(PythonInterp 2.6) +- if (PYTHON_EXECUTABLE) +- set(command ${PYTHON_EXECUTABLE}) ++ find_package(Python) ++ if (Python_EXECUTABLE) ++ set(command ${Python_EXECUTABLE}) + set(script_arg ${Wrap_EXECUTABLE}) + else() + set(command ${Wrap_EXECUTABLE}) +--- externals/GTI/externals/PnMPI/externals/wrap/WrapConfig.cmake.orig 2021-05-27 10:35:39.000000000 +0200 ++++ externals/GTI/externals/PnMPI/externals/wrap/WrapConfig.cmake 2021-05-27 10:36:23.000000000 +0200 +@@ -29,9 +29,9 @@ + + # Play nice with FindPythonInterp -- use the interpreter if it was found, + # otherwise use the script directly. +- find_package(PythonInterp 2.6) +- if (PYTHON_EXECUTABLE) +- set(command ${PYTHON_EXECUTABLE}) ++ find_package(Python) ++ if (Python_EXECUTABLE) ++ set(command ${Python_EXECUTABLE}) + set(script_arg ${Wrap_EXECUTABLE}) + else() + set(command ${Wrap_EXECUTABLE}) diff --git a/Golden_Repo/m/muparserx/muparserx-4.0.11-GCCcore-11.3.0.eb b/Golden_Repo/m/muparserx/muparserx-4.0.11-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..4266a0332c3b77c48409e072ba72aa0f1d9903dd --- /dev/null +++ b/Golden_Repo/m/muparserx/muparserx-4.0.11-GCCcore-11.3.0.eb @@ -0,0 +1,27 @@ +easyblock = 'CMakeMake' + +name = 'muparserx' +version = '4.0.11' + +homepage = 'https://beltoforion.de/en/muparserx/' +description = 'A C++ Library for Parsing Expressions with Strings, Complex Numbers, Vectors, Matrices and more.' +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +github_account = 'beltoforion' +source_urls = [GITHUB_SOURCE] +sources = ['v%(version)s.tar.gz'] +checksums = ['8bc2773f174afd8c51cc480a293622c499fd1f46ecfa57296e59d86c75356977'] + +builddependencies = [ + ('binutils', '2.38'), + ('CMake', '3.23.1'), +] + +configopts = ['-DBUILD_SHARED_LIBS=OFF', '-DBUILD_SHARED_LIBS=ON'] + +sanity_check_paths = { + 'files': ['lib64/libmuparserx.a', 'lib64/libmuparserx.%s' % SHLIB_EXT], + 'dirs': ['include/muparserx'], +} + +moduleclass = 'lib' diff --git a/Golden_Repo/n/netCDF/netCDF-4.9.0-gompi-2022a.eb b/Golden_Repo/n/netCDF/netCDF-4.9.0-gompi-2022a.eb index cdf3f1976e1dc377b2e4fb11a9c328509cd2c821..0b6ce479cf42c234fa406348945abf57580959fb 100644 --- a/Golden_Repo/n/netCDF/netCDF-4.9.0-gompi-2022a.eb +++ b/Golden_Repo/n/netCDF/netCDF-4.9.0-gompi-2022a.eb @@ -48,7 +48,7 @@ dependencies = [ # and disable "remote" tests that access a unreliable external test server over internet configopts = [ "-DENABLE_PNETCDF=ON -DENABLE_DAP_REMOTE_TESTS=OFF -DBUILD_SHARED_LIBS=OFF -DMPIEXEC='/usr/bin/srun'", - "-DENABLE_PNETCDF=ON -DBUILD_SHARED_LIBS=ON -DMPIEXEC='/usr/bin/srun'", + "-DENABLE_PNETCDF=ON -DENABLE_DAP_REMOTE_TESTS=OFF -DBUILD_SHARED_LIBS=ON -DMPIEXEC='/usr/bin/srun'", ] # some tests try to start 16 MPI ranks, so we need to allow oversubscription to avoid failing tests diff --git a/Golden_Repo/n/nvidia-Video_Codec_SDK/nvidia-Video_Codec_SDK-11.1.5.eb b/Golden_Repo/n/nvidia-Video_Codec_SDK/nvidia-Video_Codec_SDK-11.1.5.eb new file mode 100644 index 0000000000000000000000000000000000000000..be698f06d312ef76013327db43abe247dfe62932 --- /dev/null +++ b/Golden_Repo/n/nvidia-Video_Codec_SDK/nvidia-Video_Codec_SDK-11.1.5.eb @@ -0,0 +1,47 @@ +easyblock = 'Tarball' + +name = 'nvidia-Video_Codec_SDK' +version = '11.1.5' + +homepage = 'https://developer.nvidia.com/nvidia-video-codec-sdk' +description = """NVDECODE and NVENCODE APIs for low-level granular control over various encode/decode parameters +and if you want to directly tap into the hardware decoder/encoder.""" + +toolchain = SYSTEM + +sources = ['Video_Codec_SDK_%(version)s.tar.gz'] +checksums = ['5facddff252cc15fd93a00f24d60e8bea85515e573ddd0341e84e756e286584a'] + +dependencies = [ + ('nvidia-driver', 'default', '', SYSTEM), +] + +postinstallcmds = [ + ( + '{ cat > %(installdir)s/nvenc.pc; } << EOF\n' + 'prefix=%(installdir)s \n' + 'exec_prefix=\${prefix} \n' + 'includedir=\${prefix}/Interface \n' + 'libdir=${EBROOTNVIDIAMINDRIVER}/lib64 \n' + '\n' + 'Name: nvenc \n' + 'Description: NVENC \n' + 'Version: %(version_major)s \n' + 'Requires: \n' + 'Conflicts: \n' + 'Libs: -L\${libdir} -lnvidia-encode \n' + 'Cflags: -I\${includedir} -Wno-error=deprecated-declarations\n' + 'EOF' + ), +] + +modextrapaths = { + 'PKG_CONFIG_PATH': '' +} + +sanity_check_paths = { + 'files': ['Interface/nvEncodeAPI.h'], + 'dirs': ['Interface', 'Lib'], +} + +moduleclass = 'lib' diff --git a/Golden_Repo/o/OpenFOAM/OpenFOAM-v1906-wmake-ompi.patch b/Golden_Repo/o/OpenFOAM/OpenFOAM-v1906-wmake-ompi.patch new file mode 100644 index 0000000000000000000000000000000000000000..78291300d58feaf61c9847c86a72abffec805986 --- /dev/null +++ b/Golden_Repo/o/OpenFOAM/OpenFOAM-v1906-wmake-ompi.patch @@ -0,0 +1,29 @@ +# - Corrected output of "wmake -show-c" and "wmake -show-c++" with OpenMPI in order to allow compilation of paraFoam +# +# author: Jiri Furst <Jiri.Furst@gmail.com> +--- OpenFOAM-v1906/wmake/makefiles/info.orig 2019-11-07 18:12:53.000000000 +0100 ++++ OpenFOAM-v1906/wmake/makefiles/info 2019-11-23 12:52:50.700688579 +0100 +@@ -73,19 +73,19 @@ + + .PHONY: c + c: +- @echo "$(firstword $(cc))" ++ @echo "$(lastword $(cc))" + + .PHONY: cxx + cxx: +- @echo "$(firstword $(CC))" ++ @echo "$(lastword $(CC))" + + .PHONY: cflags + cflags: +- @echo "$(wordlist 2,$(words $(COMPILE_C)), $(COMPILE_C))" ++ @echo "$(wordlist 3,$(words $(COMPILE_C)), $(COMPILE_C))" + + .PHONY: cxxflags + cxxflags: +- @echo "$(wordlist 2,$(words $(COMPILE_CXX)), $(COMPILE_CXX))" ++ @echo "$(wordlist 3,$(words $(COMPILE_CXX)), $(COMPILE_CXX))" + + .PHONY: cflags-arch + cflags-arch: diff --git a/Golden_Repo/o/OpenFOAM/OpenFOAM-v2012-cleanup.patch b/Golden_Repo/o/OpenFOAM/OpenFOAM-v2012-cleanup.patch new file mode 100644 index 0000000000000000000000000000000000000000..daccb9439617bee6e1d5038794d6678de6cf00d3 --- /dev/null +++ b/Golden_Repo/o/OpenFOAM/OpenFOAM-v2012-cleanup.patch @@ -0,0 +1,150 @@ +# Replaces OpenFOAM third-party libraries with EASYBUILD variants. +# Uses the OpenFOAM prefs mechanism and the FOAM_CONFIG_ETC variable +# to define the preferred settings without patching the original files +# +# Authors: Mark Olesen <Mark.Olesen@esi-group.com> +# ------------------------------------------------------------------------- +--- /dev/null 2020-12-14 09:05:45.272769166 +0100 ++++ OpenFOAM-v2012/etc/prefs.sh 2020-12-14 10:02:26.488430802 +0100 +@@ -0,0 +1,7 @@ ++##Easybuild## settings -*- sh -*- ++ ++export FOAM_CONFIG_ETC="etc/easybuild" ++ ++export WM_MPLIB=EASYBUILDMPI ++ ++##Easybuild## +--- /dev/null 2020-12-14 09:05:45.272769166 +0100 ++++ OpenFOAM-v2012/etc/easybuild/config.sh/CGAL 2020-12-14 10:10:55.991841204 +0100 +@@ -0,0 +1,6 @@ ++##Easybuild## settings -*- sh -*- ++ ++export BOOST_ARCH_PATH="$EBROOTBOOST" ++export CGAL_ARCH_PATH="$EBROOTCGAL" ++ ++##Easybuild## +--- /dev/null 2020-12-14 09:05:45.272769166 +0100 ++++ OpenFOAM-v2012/etc/easybuild/config.sh/FFTW 2020-12-14 10:10:53.735843322 +0100 +@@ -0,0 +1,5 @@ ++##Easybuild## settings -*- sh -*- ++ ++export FFTW_ARCH_PATH="$EBROOTFFTW" ++ ++##EasyBuild## +--- /dev/null 2020-12-14 09:05:45.272769166 +0100 ++++ OpenFOAM-v2012/etc/easybuild/config.sh/metis 2020-12-11 21:23:28.774934024 +0100 +@@ -0,0 +1,6 @@ ++##Easybuild## settings -*- sh -*- ++ ++METIS_VERSION="metis-$EBVERSIONMETIS" ++[ -d "$METIS_ARCH_PATH" ] || METIS_ARCH_PATH="$METIS_ROOT" ++ ++##Easybuild## +--- /dev/null 2020-12-14 09:05:45.272769166 +0100 ++++ OpenFOAM-v2012/etc/easybuild/config.sh/readline 2020-12-11 21:23:22.534951043 +0100 +@@ -0,0 +1,5 @@ ++##Easybuild## settings -*- sh -*- ++ ++export READLINE_ARCH_PATH="$EBROOTLIBREADLINE" ++ ++##Easybuild## +--- /dev/null 2020-12-14 09:05:45.272769166 +0100 ++++ OpenFOAM-v2012/etc/easybuild/config.sh/scotch 2020-12-11 21:23:17.586964539 +0100 +@@ -0,0 +1,7 @@ ++##Easybuild## settings -*- sh -*- ++ ++export SCOTCH_VERSION="scotch_$EBVERSIONSCOTCH" ++export SCOTCH_ARCH_PATH="$EBROOTSCOTCH" ++[ -d "$SCOTCH_ARCH_PATH" ] || SCOTCH_ARCH_PATH="$SCOTCH_ROOT" ++ ++##Easybuild## +--- /dev/null 2020-12-14 09:05:45.272769166 +0100 ++++ OpenFOAM-v2012/etc/easybuild/config.sh/vtk 2020-12-11 21:22:55.463024882 +0100 +@@ -0,0 +1,9 @@ ++##Easybuild## settings -*- sh -*- ++ ++export VTK_DIR="$EBROOTVTK" ++export MESA_ARCH_PATH="$EBROOTMESA" ++ ++# Define paraview-mesa directory as required ++unset ParaView_MESA_DIR ++ ++##Easybuild## +--- /dev/null 2020-12-14 09:05:45.272769166 +0100 ++++ OpenFOAM-v2012/etc/easybuild/config.sh/paraview 2020-12-14 10:13:53.583674383 +0100 +@@ -0,0 +1,75 @@ ++##Easybuild## settings -*- sh -*- ++# ++# Largely a knockoff of the OpenFOAM etc/config.sh/paraview-system ++# readjusted for easybuild ++# ++# Copyright (C) 2020 OpenCFD Ltd. ++# ++#------------------------------------------------------------------------------ ++# Compiler-specific location for ThirdParty installations ++archDir="$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER" ++ ++# Clean path and library path of previous settings ++eval \ ++ "$($WM_PROJECT_DIR/bin/foamCleanPath -sh-env=PATH \ ++ $ParaView_DIR $archDir/ParaView- $archDir/qt-)" ++ ++eval \ ++ "$($WM_PROJECT_DIR/bin/foamCleanPath -sh-env=LD_LIBRARY_PATH \ ++ $ParaView_DIR $archDir/ParaView- $archDir/qt-)" ++ ++ ++#------------------------------------------------------------------------------ ++ ++##Easybuild## settings ++ ++ParaView_VERSION="$EBVERSIONPARAVIEW" ++export ParaView_DIR="$EBROOTPARAVIEW" ++ ++#------------------------------------------------------------------------------ ++ ++unset PV_PLUGIN_PATH ++ ++# Set API to correspond to VERSION ++# pv_api is <digits>.<digits> from ParaView_VERSION ++#- ++# Extract API from VERSION ++pv_api=$(echo "$ParaView_VERSION" | \ ++ sed -ne 's/^[^0-9]*\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/p') ++ ++pv_plugin_dir="$FOAM_LIBBIN/paraview-$pv_api" ++ ++# Set paths if binaries are present ++if [ -r "$ParaView_DIR" ] ++then ++ export PATH="$ParaView_DIR/bin:$PATH" ++ ++ # ParaView libraries ++ # - 5.5 and later: lib/, but could also be lib64/ ++ for libDir in lib64 lib ++ do ++ pvLibDir="$libDir/paraview-$pv_api" ++ if [ -d "$ParaView_DIR/$pvLibDir" ] ++ then ++ export LD_LIBRARY_PATH="$ParaView_DIR/$libDir:$LD_LIBRARY_PATH" ++ break ++ fi ++ done ++ ++ # OpenFOAM plugin directory must be the first in PV_PLUGIN_PATH ++ # and have paraview-major.minor encoded in its name ++ if [ -d "$pv_plugin_dir" ] ++ then ++ export PV_PLUGIN_PATH="$pv_plugin_dir" ++ fi ++fi ++ ++ ++#------------------------------------------------------------------------------ ++ ++unset ParaView_VERSION ++ ++unset archDir libDir ++unset pv_api pv_plugin_dir pvLibDir ++ ++#------------------------------------------------------------------------------ diff --git a/Golden_Repo/o/OpenFOAM/OpenFOAM-v2112-foss-2022a.eb b/Golden_Repo/o/OpenFOAM/OpenFOAM-v2112-foss-2022a.eb new file mode 100644 index 0000000000000000000000000000000000000000..7fadff24f870886fba2d5631d237e2bac733b706 --- /dev/null +++ b/Golden_Repo/o/OpenFOAM/OpenFOAM-v2112-foss-2022a.eb @@ -0,0 +1,41 @@ +name = 'OpenFOAM' +version = 'v2112' + +homepage = 'https://www.openfoam.com/' +description = """OpenFOAM is a free, open source CFD software package. + OpenFOAM has an extensive range of features to solve anything from complex fluid flows + involving chemical reactions, turbulence and heat transfer, + to solid dynamics and electromagnetics.""" + +toolchain = {'name': 'foss', 'version': '2022a'} +toolchainopts = {'opt': True, 'cstd': 'c++17'} + +source_urls = ['https://sourceforge.net/projects/openfoam/files/%(version)s/'] +sources = [SOURCE_TGZ] +patches = [ + ('OpenFOAM-v2012-cleanup.patch', 1), + 'OpenFOAM-v1906-wmake-ompi.patch', +] +checksums = [ + '3e838731e79db1c288acc27aad8cc8a43d9dac1f24e5773e3b9fa91419a8c3f7', # OpenFOAM-v2112.tgz + 'cdd2597a1ac1448e9bd33a364a8dfe17f51cc9ab5a8e0ab67cf92bba3ed9da43', # OpenFOAM-v2012-cleanup.patch + '518e27683c5c41400cfbc17b31effa50b31b25916dccbf85b18b0b955f642505', # OpenFOAM-v1906-wmake-ompi.patch +] + +builddependencies = [ + ('Bison', '3.8.2'), + ('CMake', '3.23.1'), + ('flex', '2.6.4'), +] + +dependencies = [ + ('libreadline', '8.1.2'), + ('ncurses', '6.3'), + # OpenFOAM requires 64 bit METIS using 32 bit indexes (array indexes) + ('METIS', '5.1.0', '-RTW64-IDX32'), # , ('GCCcore', '11.3.0')), + ('SCOTCH', '7.0.1'), + ('CGAL', '5.5.1'), + ('gnuplot', '5.4.4'), +] + +moduleclass = 'cae' diff --git a/Golden_Repo/p/Pandoc/Pandoc-2.19.2.eb b/Golden_Repo/p/Pandoc/Pandoc-2.19.2.eb new file mode 100644 index 0000000000000000000000000000000000000000..018403b1a7927572cf6fa5f4b5b9c5a95220ba38 --- /dev/null +++ b/Golden_Repo/p/Pandoc/Pandoc-2.19.2.eb @@ -0,0 +1,34 @@ +# This file is an EasyBuild reciPY as per https://easybuilders.github.io/easybuild/ +# Author: Pablo Escobar Lopez +# sciCORE - University of Basel +# SIB Swiss Institute of Bioinformatics +# Contribution from the NIHR Biomedical Research Centre +# Guy's and St Thomas' NHS Foundation Trust and King's College London +# uploaded by J. Sassmannshausen + +easyblock = 'Tarball' + +name = 'Pandoc' +version = '2.19.2' + +homepage = 'https://pandoc.org' +description = "If you need to convert files from one markup format into another, pandoc is your swiss-army knife" + +toolchain = SYSTEM + +source_urls = ['https://github.com/jgm/pandoc/releases/download/%(version)s/'] +_archs = {'x86_64': 'amd64', 'aarch64': 'arm64'} +sources = ['%%(namelower)s-%%(version)s-linux-%s.tar.gz' % _archs[ARCH]] +checksums = [{ + 'pandoc-2.19.2-linux-amd64.tar.gz': '9d55c7afb6a244e8a615451ed9cb02e6a6f187ad4d169c6d5a123fa74adb4830', + 'pandoc-2.19.2-linux-arm64.tar.gz': '43f364915b9da64905fc3f6009f5542f224e54fb24f71043ef5154540f1a3983', +}] + +sanity_check_paths = { + 'files': ['bin/pandoc'], + 'dirs': ['share'], +} + +sanity_check_commands = ['pandoc --help'] + +moduleclass = 'tools' diff --git a/Golden_Repo/p/PyCairo/PyCairo-1.23.0-GCCcore-11.3.0.eb b/Golden_Repo/p/PyCairo/PyCairo-1.23.0-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..24de7e7fe6121a8a56b9eceedbbcd2adb52991cf --- /dev/null +++ b/Golden_Repo/p/PyCairo/PyCairo-1.23.0-GCCcore-11.3.0.eb @@ -0,0 +1,45 @@ +# Author: Denis Krišťák (INUITS) + +easyblock = 'PythonPackage' + +name = 'PyCairo' +version = '1.23.0' + +homepage = 'https://pycairo.readthedocs.io/' +description = """Python bindings for the cairo library""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +sources = [SOURCELOWER_TAR_GZ] +checksums = ['9b61ac818723adc04367301317eb2e814a83522f07bbd1f409af0dada463c44c'] + +builddependencies = [ + ('binutils', '2.38'), + ('Coreutils', '9.1'), + ('pkgconf', '1.8.0'), +] + +dependencies = [ + ('Python', '3.10.4'), + ('cairo', '1.17.4'), +] + +# PyGTK needs PyCairo installed by pip +use_pip = True +sanity_pip_check = True +download_dep_fail = True + +# remove pyproject.toml, which causes trouble (header files and .pc file are not installed) +preinstallopts = "rm pyproject.toml && " + +# Don't build a wheel or the pkg-cfg file won't be installed +installopts = '--no-binary=%(namelower)s' + +sanity_check_paths = { + 'files': ['%s/py3cairo.%s' % (p, e) for (p, e) in [('include/pycairo', 'h'), ('lib/pkgconfig', 'pc')]], + 'dirs': ['lib/python%(pyshortver)s/site-packages/cairo'], +} + +options = {'modulename': 'cairo'} + +moduleclass = 'vis' diff --git a/Golden_Repo/p/PyOpenCL/PyOpenCL-2021.2.13-gcccoremkl-11.3.0-2022.1.0.eb b/Golden_Repo/p/PyOpenCL/PyOpenCL-2022.2.4-gcccoremkl-11.3.0-2022.1.0.eb similarity index 100% rename from Golden_Repo/p/PyOpenCL/PyOpenCL-2021.2.13-gcccoremkl-11.3.0-2022.1.0.eb rename to Golden_Repo/p/PyOpenCL/PyOpenCL-2022.2.4-gcccoremkl-11.3.0-2022.1.0.eb diff --git a/Golden_Repo/p/PyQuil/PyQuil-3.3.3-gcccoremkl-11.3.0-2022.1.0.eb b/Golden_Repo/p/PyQuil/PyQuil-3.3.3-gcccoremkl-11.3.0-2022.1.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..cd1a2525d6964372e38a125f7fe2226c1f9a0146 --- /dev/null +++ b/Golden_Repo/p/PyQuil/PyQuil-3.3.3-gcccoremkl-11.3.0-2022.1.0.eb @@ -0,0 +1,101 @@ +easyblock = 'PythonBundle' + +name = 'PyQuil' +version = '3.3.3' + +homepage = 'https://github.com/rigetti/pyquil' +description = """PyQuil is a library for generating and executing Quil programs on the Rigetti Forest platform.""" + +toolchain = {'name': 'gcccoremkl', 'version': '11.3.0-2022.1.0'} +toolchainopts = {'pic': True} + +dependencies = [ + ('Python', '3.10.4'), + ('SciPy-Stack', '2022a'), + ('networkx', '2.8.4'), + +] + +exts_default_options = { + 'source_urls': [PYPI_SOURCE], + 'use_pip': True, + 'use_pip_for_deps': False, + 'download_dep_fail': True, + 'sanity_pip_check': True, +} + +exts_list = [ + ('types-python-dateutil', '2.8.19.6', { + 'checksums': ['4a6f4cc19ce4ba1a08670871e297bf3802f55d4f129e6aa2443f540b6cf803d2'], + 'modulename': False, + }), + ('python-rapidjson', '1.9', { + 'modulename': 'rapidjson', + 'checksums': ['be7d351c7112dac608133a23f60e95395668d0981a07f4037f63e0e88afcf01a'], + }), + ('ruamel.yaml', '0.17.21', { + 'checksums': ['8b7ce697a2f212752a35c1ac414471dc16c424c9573be4926b56ff3f5d23b7af'], + }), + ('ruamel.yaml.clib', '0.2.7', { + 'checksums': ['1f08fd5a2bea9c4180db71678e850b995d2a5f4537be0e94557668cf0f5f9497'], + 'modulename': False, + }), + ('msgpack', '0.6.2', { + 'checksums': ['ea3c2f859346fcd55fc46e96885301d9c2f7a36d453f5d8f2967840efa1e1830'], + }), + ('rpcq', '3.10.0', { + 'checksums': ['bf21780a1cb1e8676b988c44004d49a168d8937ce2a458c00beb37fa41023684'], + }), + ('lark', '0.11.3', { + 'checksums': ['3100d9749b5a85735ec428b83100876a5da664804579e729c23a36341f961e7e'], + }), + ('retry', '0.9.2', { + 'checksums': ['f8bfa8b99b69c4506d6f5bd3b0aabf77f98cdb17f3c9fc3f5ca820033336fba4'], + }), + ('types-retry', '0.9.9.1', { + 'checksums': ['344ead4387e0e98c6d603758c1318ee4e5b04429cecb9a342a1cf873de3b510d'], + 'modulename': False, + }), + ('h11', '0.14.0', { + 'checksums': ['8f19fbbe99e72420ff35c00b27a34cb9937e902a8b810e2c88300c6f0a3b699d'], + }), + ('rfc3986', '1.5.0', { + 'checksums': ['270aaf10d87d0d4e095063c65bf3ddbc6ee3d0b226328ce21e036f946e421835'], + }), + ('sniffio', '1.3.0', { + 'checksums': ['e60305c5e5d314f5389259b7f22aaa33d8f7dee49763119234af3755c55b9101'], + }), + ('httpx', '0.23.3', { + 'checksums': ['9818458eb565bb54898ccb9b8b251a28785dd4a55afbc23d0eb410754fe7d0f9'], + }), + ('iso8601', '1.1.0', { + 'checksums': ['32811e7b81deee2063ea6d2e94f8819a86d1f3811e49d23623a41fa832bef03f'], + }), + ('pydantic', '1.10.4', { + 'checksums': ['b9a3859f24eb4e097502a3be1fb4b2abb79b6103dd9e2e0edb70613a4459a648'], + }), + ('anyio', '3.6.2', { + 'checksums': ['25ea0d673ae30af41a0c442f81cf3b38c7e79fdc7b60335a4c14e05eb0947421'], + }), + ('httpcore', '0.16.3', { + 'checksums': ['c5d6f04e2fc530f39e0c077e6a30caa53f1451096120f1f38b954afd0b17c0cb'], + }), + ('PyJWT', '2.6.0', { + 'checksums': ['69285c7e31fc44f68a1feb309e948e0df53259d579295e6cfe2b1792329f05fd'], + 'modulename': 'jwt', + }), + ('retrying', '1.3.4', { + 'checksums': ['345da8c5765bd982b1d1915deb9102fd3d1f7ad16bd84a9700b85f64d24e8f3e'], + }), + ('rfc3339', '6.2', { + 'checksums': ['d53c3b5eefaef892b7240ba2a91fef012e86faa4d0a0ca782359c490e00ad4d0'], + }), + ('qcs_api_client', '0.21.3', { + 'checksums': ['d219aaef49eb6f515b601467f6c85f20ca52f788d90b3052775e6d12b2f57466'], + }), + ('pyquil', version, { + 'checksums': ['fc78cc0a099ee115f9b9a52e3d56a6a956328aed407030f19636bbae2fae981a'], + }), +] + +moduleclass = 'quantum' diff --git a/Golden_Repo/p/PySCF/PySCF-2.1.1-GCC-11.2.0.eb b/Golden_Repo/p/PySCF/PySCF-2.1.1-GCC-11.2.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..77efb7d4b6b272a0204d2152ef677e2f61b019ef --- /dev/null +++ b/Golden_Repo/p/PySCF/PySCF-2.1.1-GCC-11.2.0.eb @@ -0,0 +1,45 @@ +easyblock = 'CMakeMakeCp' + +name = 'PySCF' +version = '2.1.1' + +homepage = 'http://www.pyscf.org' +description = "PySCF is an open-source collection of electronic structure modules powered by Python." + +toolchain = {'name': 'GCC', 'version': '11.3.0'} + +source_urls = ['https://github.com/pyscf/pyscf/archive/'] +sources = ['v%(version)s.tar.gz'] +checksums = ['814240aa73f57ba96aee8264e3914c09f96ebdce1e42784da4b5e9a474ecb280'] + +builddependencies = [('CMake', '3.23.1')] + +dependencies = [ + ('Python', '3.10.4'), + ('SciPy-bundle', '2022.05', '', ('gcccoremkl', '11.3.0-2022.1.0')), + ('h5py', '3.7.0', '-serial'), + ('libcint', '5.1.6', '', ('gcccoremkl', '11.3.0-2022.1.0')), + ('libxc', '5.2.3'), + ('XCFun', '2.1.1'), +] + +start_dir = 'pyscf/lib' + +separate_build_dir = True + +configopts = "-DBUILD_LIBCINT=OFF -DBUILD_LIBXC=OFF -DBUILD_XCFUN=OFF" + +prebuildopts = "export PYSCF_INC_DIR=$EBROOTQCINT/include:$EBROOTLIBXC/lib && " + +files_to_copy = ['pyscf'] + +sanity_check_paths = { + 'files': ['pyscf/__init__.py'], + 'dirs': ['pyscf/data', 'pyscf/lib'], +} + +sanity_check_commands = ["python -c 'import pyscf'"] + +modextrapaths = {'PYTHONPATH': ''} + +moduleclass = 'chem' diff --git a/Golden_Repo/p/PyTorch/PyTorch-1.12.0-foss-2022a-CUDA-11.7.eb b/Golden_Repo/p/PyTorch/PyTorch-1.12.0-foss-2022a-CUDA-11.7.eb index f0653e8686933a26ae9c914551d803249d4662c6..845338e1eb567634a6112729b18d58926cea2ccd 100644 --- a/Golden_Repo/p/PyTorch/PyTorch-1.12.0-foss-2022a-CUDA-11.7.eb +++ b/Golden_Repo/p/PyTorch/PyTorch-1.12.0-foss-2022a-CUDA-11.7.eb @@ -27,23 +27,26 @@ patches = [ '%(name)s-1.11.0_increase-distributed-test-timeout.patch', '%(name)s-1.11.0_increase_c10d_gloo_timeout.patch', '%(name)s-1.11.0_disable_failing_jit_cuda_fuser_tests.patch', + '%(name)s-1.12.0_nic-hostname.patch', ] checksums = [ - None, # PyTorch-1.12.0.tar.gz - 'b899aa94d9e60f11ee75a706563312ccefa9cf432756c470caa8e623991c8f18', # PyTorch-1.7.0_avoid-nan-in-test-torch.patch - '622cb1eaeadc06e13128a862d9946bcc1f1edd3d02b259c56a9aecc4d5406b8a', # PyTorch-1.7.0_disable-dev-shm-test.patch - '89ac7a8e9e7df2e64cf8404fe3a279f5e9b759fee41c9de3aaff9c22f385c2c6', # PyTorch-1.8.1_dont-use-gpu-ccc-in-test.patch - # PyTorch-1.9.0_limit-world-size-for-zero-redundancy-opt-test.patch - 'ff573660913ce055e24cfd194ce747ba5685091c631cfd443eae2a99d56b57ea', - # PyTorch-1.10.0_fix-test-dataloader-fixed-affinity.patch - '313dca681f45ce3bc7c4557fdcdcbe0b77216d2c708fa30a2ec0e22c44876707', - 'ac05943bb205623f91ef140aa00869efc5fe844184bd666bebf5405808610448', # PyTorch-1.10.0_skip_cmake_rpath.patch - # PyTorch-1.11.0_increase-distributed-test-timeout.patch - '087ad20163a1291773ae3457569b80523080eb3731e210946459b2333a919f3f', - # PyTorch-1.11.0_increase_c10d_gloo_timeout.patch - '20cd4a8663f74ab326fdb032b926bf5c7e94d9750c515ab9050927ba00cf1953', - # PyTorch-1.11.0_disable_failing_jit_cuda_fuser_tests.patch - 'e7bfe120a8b3fe2b40dac6839852a5fbab3cb3429fbe44a0fc3a1800adaaee51', + {'PyTorch-1.12.0.tar.gz': '3bfc8e0265849dae2bc26601cb872775859d98f25d045d6b1d091c1cb4e51815'}, + {'PyTorch-1.7.0_avoid-nan-in-test-torch.patch': 'b899aa94d9e60f11ee75a706563312ccefa9cf432756c470caa8e623991c8f18'}, + {'PyTorch-1.7.0_disable-dev-shm-test.patch': '622cb1eaeadc06e13128a862d9946bcc1f1edd3d02b259c56a9aecc4d5406b8a'}, + {'PyTorch-1.8.1_dont-use-gpu-ccc-in-test.patch': + '89ac7a8e9e7df2e64cf8404fe3a279f5e9b759fee41c9de3aaff9c22f385c2c6'}, + {'PyTorch-1.9.0_limit-world-size-for-zero-redundancy-opt-test.patch': + 'ff573660913ce055e24cfd194ce747ba5685091c631cfd443eae2a99d56b57ea'}, + {'PyTorch-1.10.0_fix-test-dataloader-fixed-affinity.patch': + '313dca681f45ce3bc7c4557fdcdcbe0b77216d2c708fa30a2ec0e22c44876707'}, + {'PyTorch-1.10.0_skip_cmake_rpath.patch': 'ac05943bb205623f91ef140aa00869efc5fe844184bd666bebf5405808610448'}, + {'PyTorch-1.11.0_increase-distributed-test-timeout.patch': + '087ad20163a1291773ae3457569b80523080eb3731e210946459b2333a919f3f'}, + {'PyTorch-1.11.0_increase_c10d_gloo_timeout.patch': + '20cd4a8663f74ab326fdb032b926bf5c7e94d9750c515ab9050927ba00cf1953'}, + {'PyTorch-1.11.0_disable_failing_jit_cuda_fuser_tests.patch': + 'e7bfe120a8b3fe2b40dac6839852a5fbab3cb3429fbe44a0fc3a1800adaaee51'}, + {'PyTorch-1.12.0_nic-hostname.patch': '01dc31ce0a8acaa509276b17742c5633961fed089f5674119057342d6b448e5b'}, ] builddependencies = [ diff --git a/Golden_Repo/p/PyTorch/PyTorch-1.12.0_nic-hostname.patch b/Golden_Repo/p/PyTorch/PyTorch-1.12.0_nic-hostname.patch new file mode 100644 index 0000000000000000000000000000000000000000..cf766309e3b2d6f15ea0172ad379b41d798f6051 --- /dev/null +++ b/Golden_Repo/p/PyTorch/PyTorch-1.12.0_nic-hostname.patch @@ -0,0 +1,179 @@ +diff -ruN a/torch/distributed/elastic/agent/server/api.py b/torch/distributed/elastic/agent/server/api.py +--- a/torch/distributed/elastic/agent/server/api.py 2023-02-06 13:21:33.000000000 +0100 ++++ b/torch/distributed/elastic/agent/server/api.py 2023-02-06 14:49:52.309003092 +0100 +@@ -8,6 +8,7 @@ + + import abc + import functools ++import ipaddress + import json + import os + import signal +@@ -60,6 +61,8 @@ + if not specified then will chose a random free port + master_addr: fixed master_addr to run the c10d store on rank 0 + if not specified then will chose hostname on agent rank 0 ++ endpoint: original endpoint that is discarded when the static ++ rendezvous backend is specified + redirects: redirect std streams to a file, + selectively redirect for a particular + local rank by passing a map +@@ -80,6 +83,7 @@ + monitor_interval: float = 30.0 + master_port: Optional[int] = None + master_addr: Optional[str] = None ++ endpoint: str = '' + redirects: Union[Std, Dict[int, Std]] = Std.NONE + tee: Union[Std, Dict[int, Std]] = Std.NONE + +@@ -381,8 +385,27 @@ + raise RuntimeError("Failed to create a socket") + + +-def _get_fq_hostname() -> str: +- return socket.getfqdn(socket.gethostname()) ++def _get_fq_hostname(master_addr: Optional[str], endpoint: str) -> str: ++ if master_addr: ++ return master_addr ++ ++ # `master_addr` is None when we don't have the "static" rendezvous backend. ++ # `endpoint` may not be given (i.e. it is an empty string); then ++ # we have to fall back to `socket.gethostname`. ++ if not endpoint: ++ return socket.getfqdn(socket.gethostname()) ++ ++ host = rdzv.utils.parse_rendezvous_endpoint(endpoint, default_port=-1)[0] ++ try: ++ ipaddress.ip_address(host) ++ is_ip = True ++ except ValueError: ++ is_ip = False ++ ++ if is_ip: ++ return socket.gethostbyaddr(host)[0] ++ else: ++ return socket.getfqdn(host) + + + class ElasticAgent(abc.ABC): +@@ -504,15 +527,17 @@ + + @staticmethod + def _set_master_addr_port( +- store: Store, master_addr: Optional[str], master_port: Optional[int] ++ store: Store, ++ master_addr: Optional[str], ++ master_port: Optional[int], ++ endpoint: str, + ): + if master_port is None: + sock = _get_socket_with_port() + with closing(sock): + master_port = sock.getsockname()[1] + +- if master_addr is None: +- master_addr = _get_fq_hostname() ++ master_addr = _get_fq_hostname(master_addr, endpoint) + + store.set("MASTER_ADDR", master_addr.encode(encoding="UTF-8")) + store.set("MASTER_PORT", str(master_port).encode(encoding="UTF-8")) +@@ -545,7 +570,9 @@ + worker_group.group_world_size = group_world_size + + if group_rank == 0: +- self._set_master_addr_port(store, spec.master_addr, spec.master_port) ++ self._set_master_addr_port( ++ store, spec.master_addr, spec.master_port, spec.endpoint ++ ) + master_addr, master_port = self._get_master_addr_port(store) + restart_count = spec.max_restarts - self._remaining_restarts + +@@ -781,7 +808,7 @@ + "group_rank": wg.group_rank, + "worker_id": worker_id, + "role": spec.role, +- "hostname": _get_fq_hostname(), ++ "hostname": _get_fq_hostname(spec.master_addr, spec.endpoint), + "state": state, + "total_run_time": self._total_execution_time, + "rdzv_backend": spec.rdzv_handler.get_backend(), +diff -ruN a/torch/distributed/elastic/rendezvous/utils.py b/torch/distributed/elastic/rendezvous/utils.py +--- a/torch/distributed/elastic/rendezvous/utils.py 2023-02-06 13:21:33.000000000 +0100 ++++ b/torch/distributed/elastic/rendezvous/utils.py 2023-02-06 14:52:10.124904154 +0100 +@@ -4,15 +4,48 @@ + # This source code is licensed under the BSD-style license found in the + # LICENSE file in the root directory of this source tree. + ++import fcntl + import ipaddress + import random + import re + import socket ++import struct + import time + import weakref + from datetime import timedelta + from threading import Event, Thread +-from typing import Any, Callable, Dict, Optional, Tuple, Union ++from typing import Any, Callable, Dict, List, Optional, Tuple, Union ++ ++ ++ ++# From https://stackoverflow.com/a/27494105. ++def nic_ip_address(nic_name): ++ s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) ++ return socket.inet_ntoa(fcntl.ioctl( ++ s.fileno(), ++ 0x8915, # SIOCGIFADDR ++ struct.pack('256s', nic_name[:15].encode("UTF-8")) ++ )[20:24]) ++ ++ ++# Adapted from https://stackoverflow.com/a/27494105. ++def nic_info() -> List[Tuple[str, str]]: ++ """Return a list of tuples containing each NIC's hostname and its IPv4.""" ++ nics: List[Tuple[str, str]] = [] ++ try: ++ if_nameindex = socket.if_nameindex() ++ except OSError: ++ return nics ++ ++ for (_, nic_name) in if_nameindex: ++ try: ++ ip_addr = nic_ip_address(nic_name) ++ except OSError: ++ continue ++ ++ hostname = socket.gethostbyaddr(ip_addr)[0] ++ nics.append((hostname, ip_addr)) ++ return nics + + + def _parse_rendezvous_config(config_str: str) -> Dict[str, str]: +@@ -130,18 +163,26 @@ + if host == this_host: + return True + ++ host_fqdn = socket.getfqdn(host) + addr_list = socket.getaddrinfo( + this_host, None, proto=socket.IPPROTO_TCP, flags=socket.AI_CANONNAME + ) + for addr_info in addr_list: + # If we have an FQDN in the addr_info, compare it to `host`. +- if addr_info[3] and addr_info[3] == host: ++ if addr_info[3] and (addr_info[3] == host or addr_info[3] == host_fqdn): + return True + # Otherwise if `host` represents an IP address, compare it to our IP + # address. + if addr and addr_info[4][0] == str(addr): + return True + ++ for (nic_host, nic_addr) in nic_info(): ++ if ( ++ nic_host == host or nic_host == host_fqdn ++ or addr and nic_addr == str(addr) ++ ): ++ return True ++ + return False + diff --git a/Golden_Repo/p/p7zip/p7zip-17.04-GCCcore-11.3.0.eb b/Golden_Repo/p/p7zip/p7zip-17.04-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..5cc4c0084482621b5179320b0038ea2e3063add2 --- /dev/null +++ b/Golden_Repo/p/p7zip/p7zip-17.04-GCCcore-11.3.0.eb @@ -0,0 +1,50 @@ +easyblock = 'MakeCp' + +name = 'p7zip' +version = '17.04' + +homepage = 'https://github.com/p7zip-project/p7zip' +description = """p7zip is a quick port of 7z.exe and 7za.exe (CLI version of +7zip) for Unix. 7-Zip is a file archiver with highest compression ratio.""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +github_account = 'p7zip-project' +source_urls = [GITHUB_LOWER_SOURCE] +sources = ['v%(version)s.tar.gz'] + +# https://github.com/p7zip-project/p7zip/archive/refs/tags/v17.04.tar.gz + +checksums = ['ea029a2e21d2d6ad0a156f6679bd66836204aa78148a4c5e498fe682e77127ef'] + +builddependencies = [ + ('binutils', '2.38'), +] + +prebuildopts = "cp makefile.linux_amd64 makefile.linux &&" +buildopts = 'all3 CC="$CC" CXX="$CXX" OPTFLAGS="$CFLAGS"' + +files_to_copy = [ + (['bin/7za', 'bin/7zr', 'bin/7zCon.sfx'], 'bin'), # stand-alone binaries + (['bin/7z', 'bin/7z.%s' % SHLIB_EXT, 'bin/Codecs'], 'libexec'), # 7z requires 7z.so plugin in same directory +] + +# put script in place for 7z, since it *must* be called full path, to ensure that 7z.so is found in the same directory +# see also http://sourceforge.net/p/p7zip/discussion/383044/thread/5e4085ab/ +postinstallcmds = [ + "echo '#!/bin/sh\n%(installdir)s/libexec/7z $@' > %(installdir)s/bin/7z", + "chmod +x %(installdir)s/bin/7z", # set execution bits according to current umask +] + +sanity_check_paths = { + 'files': ['bin/7z', 'bin/7za', 'bin/7zCon.sfx', 'bin/7zr', 'libexec/7z', 'libexec/7z.%s' % SHLIB_EXT], + 'dirs': ['libexec/Codecs'], +} + +sanity_check_commands = [ + '7z --help', + '7z x || test $? -gt 0', + "! 7z i | grep -q \"Can't load\" ", +] + +moduleclass = 'tools' diff --git a/Golden_Repo/r/ROOT/ROOT-6.26.10-gpsmpi-2022a.eb b/Golden_Repo/r/ROOT/ROOT-6.26.10-gpsmpi-2022a.eb new file mode 100644 index 0000000000000000000000000000000000000000..42c0f18d228ea03148272d7e2a91a02d17aabad7 --- /dev/null +++ b/Golden_Repo/r/ROOT/ROOT-6.26.10-gpsmpi-2022a.eb @@ -0,0 +1,57 @@ +name = 'ROOT' +version = '6.26.10' + +homepage = 'https://root.cern.ch/drupal/' +description = """The ROOT system provides a set of OO frameworks with all the functionality + needed to handle and analyze large amounts of data in a very efficient way.""" + +toolchain = {'name': 'gpsmpi', 'version': '2022a'} +toolchainopts = {'pic': True} + +source_urls = ['https://root.cern.ch/download/'] +sources = ['%(namelower)s_v%(version)s.source.tar.gz'] +checksums = ['8e56bec397104017aa54f9eb554de7a1a134474fe0b3bb0f43a70fc4fabd625f'] + +builddependencies = [ + ('CMake', '3.23.1'), + ('pkgconf', '1.8.0'), +] + +dependencies = [ + ('GSL', '2.7'), + ('libxml2', '2.9.13'), + ('PCRE', '8.45'), + ('CFITSIO', '4.2.0'), + ('freetype', '2.12.1'), + ('Python', '3.10.4'), + ('SciPy-bundle', '2022.05', '', ('gcccoremkl', '11.3.0-2022.1.0')), + ('zlib', '1.2.12'), + ('X11', '20220504'), + ('OpenGL', '2022a'), + ('GL2PS', '1.4.2'), + ('FFTW', '3.3.10'), + ('SQLite', '3.38.3'), + ('XZ', '5.2.5'), + ('libpng', '1.6.37'), + ('tbb', '2021.5.0'), + ('Perl', '5.34.1'), + ('Go', '1.18.3', '', SYSTEM), + ('nlohmann_json', '3.10.5'), + ('LibTIFF', '4.3.0'), +] + +# NOTE: Ensure that each configopts string begins with a blank +# disable some components +configopts = " -Dxrootd=OFF -Dmysql=OFF -Dkrb5=OFF -Dodbc=OFF -Doracle=OFF -Dpgsql=OFF -Dqt=OFF" + +# make sure some components are enabled +configopts += " -Dpcre=ON -Dzlib=ON -Dpyroot=ON" +configopts += " -Dunuran=ON -Dexplicitlink=ON -Dminuit2=ON -Droofit=ON " + +# Add component-specific settings based on dependencies +configopts += ' -Dfftw3=ON -Dgsl=ON -DOpenGL_GL_PREFERENCE=GLVND' + +# Set C++ standard to C++17 for better stability +configopts += ' -DCMAKE_CXX_STANDARD=17' + +moduleclass = 'data' diff --git a/Golden_Repo/r/Ruby/Ruby-3.0.5-GCCcore-11.3.0.eb b/Golden_Repo/r/Ruby/Ruby-3.0.5-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..e156e9472c2cb62cccd4a3f186126ab30223fdfc --- /dev/null +++ b/Golden_Repo/r/Ruby/Ruby-3.0.5-GCCcore-11.3.0.eb @@ -0,0 +1,202 @@ +name = 'Ruby' +version = '3.0.5' + +homepage = 'https://www.ruby-lang.org' +description = """Ruby is a dynamic, open source programming language with + a focus on simplicity and productivity. It has an elegant syntax that is + natural to read and easy to write.""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +source_urls = ['https://cache.ruby-lang.org/pub/ruby/%(version_major_minor)s'] +sources = [SOURCELOWER_TAR_GZ] +checksums = ['9afc6380a027a4fe1ae1a3e2eccb6b497b9c5ac0631c12ca56f9b7beb4848776'] + +builddependencies = [('binutils', '2.38')] + +dependencies = [ + ('ZeroMQ', '4.3.4') +] + +exts_default_options = { + 'source_urls': ['https://rubygems.org/downloads/'], + 'source_tmpl': '%(name)s-%(version)s.gem', +} + +# !! order of packages is important !! +# some packages have dependencies with minimum and maximum version requirements +# each version is picked as high as possible to fullfill all requirements +# packages updated on 2022-12-20 +exts_list = [ + ('ffi', '1.15.5', { + 'checksums': ['6f2ed2fa68047962d6072b964420cba91d82ce6fa8ee251950c17fca6af3c2a0'], + }), + ('childprocess', '4.1.0', { + 'checksums': ['3616ce99ccb242361ce7f2b19bf9ff3e6bc1d98b927c7edc29af8ca617ba6cd3'], + }), + ('json', '2.6.3', { + 'checksums': ['86aaea16adf346a2b22743d88f8dcceeb1038843989ab93cda44b5176c845459'], + }), + ('cabin', '0.9.0', { + 'checksums': ['91c5394289e993e7037a6c869e3f212f31a5984d2b1811ac934f591c87446b2c'], + }), + ('backports', '3.23.0', { + 'checksums': ['88fc26a40083a51015faa2ba02cbdc3605cb59f183cf0868f4fb3ac02900148f'], + }), + ('arr-pm', '0.0.12', { + 'checksums': ['fdff482f75239239201f4d667d93424412639aad0b3b0ad4d827e7c637e0ad39'], + }), + ('clamp', '1.3.2', { + 'checksums': ['4f6a99a8678d51abbf1650263a74d1ac50939edc11986271431d2e03a0d7a022'], + }), + ('multipart-post', '2.2.3', { + 'checksums': ['462979de2971b8df33c2ee797fd497731617241f9dcd93960cc3caccb2dd13d8'], + }), + ('ruby2_keywords', '0.0.5', { + 'checksums': ['ffd13740c573b7301cf7a2e61fc857b2a8e3d3aff32545d6f8300d8bae10e3ef'], + }), + ('faraday-net_http', '3.0.2', { + 'checksums': ['6882929abed8094e1ee30344a3369e856fe34530044630d1f652bf70ebd87e8d'], + }), + ('faraday', '1.2.0', { + 'checksums': ['bd5c138304ee53907f8d0747724660c3a1cdf77d530d1cecd70d141299194b99'], + }), + ('faraday_middleware', '1.2.0', { + 'checksums': ['ded15d574d50e92bd04448d5566913af5cb1a01b2fa311ceecc2464fa0ab88af'], + }), + ('highline', '2.0.3', { + 'checksums': ['2ddd5c127d4692721486f91737307236fe005352d12a4202e26c48614f719479'], + }), + ('net-http-pipeline', '1.0.1', { + 'checksums': ['6923ce2f28bfde589a9f385e999395eead48ccfe4376d4a85d9a77e8c7f0b22f'], + }), + ('connection_pool', '2.3.0', { + 'checksums': ['677985be912f33c90f98f229aaa0c0ddb2ef8776f21929a36eeeb25251c944da'], + }), + ('net-http-persistent', '2.9.4', { + 'checksums': ['24274d207ffe66222ef70c78a052c7ea6e66b4ff21e2e8a99e3335d095822ef9'], + }), + ('multi_json', '1.15.0', { + 'checksums': ['1fd04138b6e4a90017e8d1b804c039031399866ff3fbabb7822aea367c78615d'], + }), + ('public_suffix', '5.0.1', { + 'checksums': ['65603917ff4ecb32f499f42c14951aeed2380054fa7fc51758fc0a8d455fe043'], + }), + ('addressable', '2.8.1', { + 'checksums': ['bc724a176ef02118c8a3ed6b5c04c39cf59209607ffcce77b91d0261dbadedfa'], + }), + ('concurrent-ruby', '1.1.10', { + 'checksums': ['244cb1ca0d91ec2c15ca2209507c39fb163336994428e16fbd3f465c87bd8e68'], + }), + ('i18n', '1.12.0', { + 'checksums': ['91e3cc1b97616d308707eedee413d82ee021d751c918661fb82152793e64aced'], + }), + ('minitest', '5.16.3', { + 'checksums': ['60f81ad96ca5518e1457bd29eb826db60f86fbbdf8c05eac63b4824ef1f52614'], + }), + ('thread_safe', '0.3.6', { + 'checksums': ['9ed7072821b51c57e8d6b7011a8e282e25aeea3a4065eab326e43f66f063b05a'], + }), + ('tzinfo', '1.1.0', { + 'checksums': ['715a47c25f8e4c2f106c92d5a97e612f84eb7e85f5822bf3d6cf615b44492abc'], + }), + ('zeitwerk', '2.6.6', { + 'checksums': ['bb397b50c31127f8dab372fa9b21da1e7c453c5b57da172ed858136c6283f826'], + }), + ('activesupport', '5.2.8.1', { + 'checksums': ['f0498c616e1b243c7b56d67920c389f959c186ad7031569e80335b42e1d22564'], + }), + ('gh', '0.18.0', { + 'checksums': ['eb93f18a88db3ba92eb888610fc53fae731d9dacfe55922b58cc3f3aca776a47'], + }), + ('launchy', '2.5.0', { + 'checksums': ['954243c4255920982ce682f89a42e76372dba94770bf09c23a523e204bdebef5'], + }), + ('ethon', '0.16.0', { + 'checksums': ['bba0da1cea8ac3e1f5cdd7cb1cb5fc78d7ac562c33736f18f0c3eb2b63053d9e'], + }), + ('typhoeus', '1.4.0', { + 'checksums': ['fff9880d5dc35950e7706cf132fd297f377c049101794be1cf01c95567f642d4'], + }), + ('websocket', '1.2.9', { + 'checksums': ['884b12dee993217795bb5f58acc89c0121c88bdc99df4d1636c0505dca352b36'], + }), + ('pusher-client', '0.6.2', { + 'checksums': ['c405c931090e126c056d99f6b69a01b1bcb6cbfdde02389c93e7d547c6efd5a3'], + }), + ('diff-lcs', '1.5.0', { + 'checksums': ['49b934001c8c6aedb37ba19daec5c634da27b318a7a3c654ae979d6ba1929b67'], + }), + ('rspec-support', '3.12.0', { + 'checksums': ['dd4d44b247ff679b95b5607ac5641d197a5f9b1d33f916123cb98fc5f917c58b'], + }), + ('rspec-mocks', '3.12.1', { + 'checksums': ['e0dd725c7d1c1417c3a1715ccc4e41c124fab6c05b2de5a91ce22d74ee301801'], + }), + ('rspec-expectations', '3.12.1', { + 'checksums': ['808b29f7f3ef4535fc897c10235b662bb6b58219406fec56158623b3a8e06c9e'], + }), + ('rspec-core', '3.12.0', { + 'checksums': ['c466f4137966526e177d2156ca45c249eeecc7ed519b23ae2fb80c4675406bc5'], + }), + ('rspec', '3.12.0', { + 'checksums': ['ccc41799a43509dc0be84070e3f0410ac95cbd480ae7b6c245543eb64162399c'], + }), + ('rack', '2.2.4', { + 'checksums': ['ea2232b638cbd919129c8c8ad8012ecaccc09f848152a7e705d2139d0137ac2b'], + }), + ('rack-protection', '3.0.5', { + 'checksums': ['3a428f9de18ee2a4080e2fab308f20f9e98d74dcbe06ed407a8035b46ba822a8'], + }), + ('tilt', '2.0.11', { + 'checksums': ['7b180fc472cbdeb186c85d31c0f2d1e61a2c0d77e1d9fd0ca28482a9d972d6a0'], + }), + ('mustermann', '3.0.0', { + 'checksums': ['6d3569aa3c3b2f048c60626f48d9b2d561cc8d2ef269296943b03da181c08b67'], + }), + ('sinatra', '3.0.5', { + 'checksums': ['40ec7643a65d01b9c25ab5f7cafc5c67ca0b9ac523fa728345d88de69392cee7'], + }), + ('rack-test', '2.0.2', { + 'checksums': ['adadd0e957f63a34199a9fdf905a920a0b0a50795735095b4ac4bd3c13385466'], + }), + ('bundler', '2.3.26', { + 'checksums': ['1ee53cdf61e728ad82c6dbff06cfcd8551d5422e88e86203f0e2dbe9ae999e09'], + }), + # for Jupyter kernel + ('mime-types-data', '3.2022.0105', { + 'checksums': ['d8c401ba9ea8b648b7145b90081789ec714e91fd625d82c5040079c5ea696f00'], + }), + ('mime-types', '3.4.1', { + 'checksums': ['6bcf8b0e656b6ae9977bdc1351ef211d0383252d2f759a59ef4bcf254542fc46'], + }), + ('data_uri', '0.1.0', { + 'checksums': ['7eb2f63487ccb943fae0eca561729c48d4d5654d76f8330aa16ed1dcdbebf33b'], + }), + ('io-console', '0.5.11', { + 'checksums': ['7e2418376fd185ad66e7aee2c58c207e9be0f2197aa89bc4c89931995cee3365'], + }), + ('reline', '0.3.1', { + 'checksums': ['b101d93607bf7564657f082f68abfa19ae939d14a709eff89be048eae2d7f4c7'], + }), + ('irb', '1.4.1', { + 'checksums': ['4a6698d9ab9de30ffd2def6fb17327f5d0fc089ace62337eff95396f379bf0a8'], + }), + ('multi_json', '1.15.0', { + 'checksums': ['1fd04138b6e4a90017e8d1b804c039031399866ff3fbabb7822aea367c78615d'], + }), + ('ffi-rzmq-core', '1.0.7', { + 'checksums': ['6541625a0f80016e4cb1b22a68b3870bd711c30de7d77625d8d6c92be95eb32a'], + }), + ('ffi-rzmq', '2.0.7', { + 'checksums': ['2feb3bc5bf46df633e2211514ac408521df0c198f54134fdb38322675d9f4591'], + }), + ('native-package-installer', '1.1.3', { + 'checksums': ['ba899df70489b748a3fe1b48afe6325d1cb8ca67fdff759266c275b911c797dd'], + }), + ('iruby', '0.7.4', { + 'checksums': ['cc219e2ac797c3fbf8c2b937ee7d26547723c8ae0e5ad65f2975aa3325b3a620'], + }), +] + +moduleclass = 'lang' diff --git a/Golden_Repo/r/rencode/rencode-1.0.5-GCCcore-11.3.0.eb b/Golden_Repo/r/rencode/rencode-1.0.5-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..68fd7082e3a9c6a94c0052a4405c72d81546f7b1 --- /dev/null +++ b/Golden_Repo/r/rencode/rencode-1.0.5-GCCcore-11.3.0.eb @@ -0,0 +1,38 @@ +easyblock = 'PythonPackage' + +name = 'rencode' +version = '1.0.5' + +homepage = 'https://pypi.python.org/pypi/rencode/' +description = """ +The rencode module is similar to bencode from the BitTorrent project. +For complex, heterogeneous data structures with many small elements, +r-encodings take up significantly less space than b-encodings. +This version of rencode is a complete rewrite in Cython to attempt to +increase the performance over the pure Python module written by Petru Paler, Connelly Barnes et al. +""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +sources = [SOURCE_TAR_GZ] +source_urls = [PYPI_SOURCE] +checksums = ['fb66c92d35355d6098956204e663ddadf7f2cc8f64962846f67e1e1d036efc57'] + +builddependencies = [ + ('binutils', '2.38'), +] + +dependencies = [ + ('Python', '3.10.4'), +] + +use_pip = True +sanity_pip_check = True +download_dep_fail = True + +sanity_check_paths = { + 'files': [], + 'dirs': ['lib/python%(pyshortver)s/site-packages/'], +} + +moduleclass = 'lib' diff --git a/Golden_Repo/r/rkcommon/rkcommon-1.10.0-GCC-11.3.0.eb b/Golden_Repo/r/rkcommon/rkcommon-1.10.0-GCC-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..e7cfa7e5c48ad37ff8f86e43af4b3736d482d437 --- /dev/null +++ b/Golden_Repo/r/rkcommon/rkcommon-1.10.0-GCC-11.3.0.eb @@ -0,0 +1,36 @@ +easyblock = 'CMakeMake' + +name = 'rkcommon' +version = '1.10.0' + +homepage = 'http://www.ospray.org/' +description = """ +OSPRay is an open source, scalable, and portable ray tracing engine for +high-performance, high-fidelity visualization on Intel® Architecture CPUs. +""" + +toolchain = {'name': 'GCC', 'version': '11.3.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://github.com/ospray/rkcommon/archive/'] +sources = ['v%(version)s.tar.gz'] +checksums = ['57a33ce499a7fc5a5aaffa39ec7597115cf69ed4ff773546b5b71ff475ee4730'] + +builddependencies = [ + ('CMake', '3.23.1'), +] + +dependencies = [ + ('tbb', '2021.5.0'), +] + +separate_build_dir = True + +start_dir = '%(name)s-%(version)s' + +sanity_check_paths = { + 'dirs': ['bin', 'include/rkcommon'], + 'files': ['lib/librkcommon.so'], +} + +moduleclass = 'vis' diff --git a/Golden_Repo/s/SDL2/SDL2-2.26.2-gcccoremkl-11.3.0-2022.1.0.eb b/Golden_Repo/s/SDL2/SDL2-2.26.2-gcccoremkl-11.3.0-2022.1.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..eaf161f79f8b86e6c3f18e5646292544a9d9e317 --- /dev/null +++ b/Golden_Repo/s/SDL2/SDL2-2.26.2-gcccoremkl-11.3.0-2022.1.0.eb @@ -0,0 +1,41 @@ +## +# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild +# +# Copyright:: Copyright 2012-2014 Uni.Lu, NTUA +# Authors:: Fotis Georgatos <fotis@cern.ch> +# License:: MIT/GPL +# $Id$ +# +# This work implements a part of the HPCBIOS project and is a component of the policy: +# http://hpcbios.readthedocs.org/en/latest/ +## + +easyblock = 'ConfigureMake' + +name = 'SDL2' +version = '2.26.2' + +homepage = 'http://www.libsdl.org/' +description = "SDL: Simple DirectMedia Layer, a cross-platform multimedia library" + +toolchain = {'name': 'gcccoremkl', 'version': '11.3.0-2022.1.0'} + +source_urls = ['http://www.libsdl.org/release/'] +sources = [SOURCE_TAR_GZ] +checksums = ['95d39bc3de037fbdfa722623737340648de4f180a601b0afad27645d150b99e0'] + +builddependencies = [ + ('binutils', '2.38'), +] + +dependencies = [ + ('X11', '20220504'), + ('CUDA', '11.7', '', SYSTEM), +] + +sanity_check_paths = { + 'files': ['bin/sdl2-config', 'lib/libSDL2.%s' % SHLIB_EXT], + 'dirs': [], +} + +moduleclass = 'lib' diff --git a/Golden_Repo/s/SOCI/SOCI-4.0.3-GCCcore-11.3.0.eb b/Golden_Repo/s/SOCI/SOCI-4.0.3-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..65024521a471b1cc98c901932835d92b24f057ce --- /dev/null +++ b/Golden_Repo/s/SOCI/SOCI-4.0.3-GCCcore-11.3.0.eb @@ -0,0 +1,52 @@ +easyblock = 'CMakeMake' + +name = 'SOCI' +version = '4.0.3' + +homepage = 'http://soci.sourceforge.net/' +description = """SOCI is a database access library for C++ that makes the illusion of embedding SQL queries in the + regular C++ code, staying entirely within the Standard C++.""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +source_urls = ['https://github.com/SOCI/soci/archive'] +sources = ['v%(version)s.tar.gz'] +checksums = ['4b1ff9c8545c5d802fbe06ee6cd2886630e5c03bf740e269bb625b45cf934928'] + +builddependencies = [ + ('CMake', '3.23.1'), +] + +dependencies = [ + ('Boost', '1.79.0'), + ('SQLite', '3.38.3'), + ('PostgreSQL', '14.4'), +] + +# Matches RStudio (1.4.1717) install options +# https://github.com/rstudio/rstudio/blob/ddcd7191ec89c4da00e77afae7e9f27e61e87c36/dependencies/common/install-soci +configopts = "-DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true " +configopts += "-DSOCI_TESTS=OFF " +configopts += "-DSOCI_CXX11=ON " +configopts += "-DSOCI_EMPTY=OFF " +configopts += '-DCMAKE_INCLUDE_PATH="$EBROOTBOOST/include" ' +configopts += "-DBoost_USE_STATIC_LIBS=ON " +configopts += '-DCMAKE_LIBRARY_PATH="$EBROOTBOOST/lib" ' +configopts += "-DWITH_BOOST=ON " +configopts += "-DWITH_POSTGRESQL=ON " +configopts += "-DWITH_SQLITE3=ON " +configopts += "-DWITH_DB2=OFF " +configopts += "-DWITH_MYSQL=OFF " +configopts += "-DWITH_ORACLE=OFF " +configopts += "-DWITH_FIREBIRD=OFF " +configopts += "-DWITH_ODBC=OFF " +configopts += "-DBoost_DEBUG=1 " + +local_dbs = ['postgresql', 'sqlite3'] + +sanity_check_paths = { + 'files': ['lib/libsoci_%s.%s' % (x, SHLIB_EXT) for x in local_dbs + ['core']], + 'dirs': ['include/soci/%s' % x for x in local_dbs], +} + +moduleclass = 'lang' diff --git a/Golden_Repo/s/SZ/SZ-2.1.12.5-GCCcore-11.3.0.eb b/Golden_Repo/s/SZ/SZ-2.1.12.5-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..3ceca2664fd1bb09643e65e2f86da6f35376daab --- /dev/null +++ b/Golden_Repo/s/SZ/SZ-2.1.12.5-GCCcore-11.3.0.eb @@ -0,0 +1,43 @@ +easyblock = 'CMakeMake' + +name = 'SZ' +version = '2.1.12.5' + +homepage = 'https://szcompressor.org' +description = """SZ is a modular parametrizable lossy compressor framework +for scientific data (floating point and integers).""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} +toolchainopts = {'pic': True} + +github_account = 'szcompressor' +source_urls = [GITHUB_SOURCE] +sources = ['v%(version)s.tar.gz'] +checksums = ['32a820daf6019156a777300389d2392e4498a5c9daffce7be754cd0a5ba8729c'] + +builddependencies = [ + ('binutils', '2.38'), + ('CMake', '3.23.1'), + ('pkgconf', '1.8.0'), +] + +dependencies = [ + ('HDF5', '1.12.2', '-serial'), + ('netCDF', '4.9.0', '-serial'), +] + +separate_build_dir = True + +configopts = "-DCMAKE_VERBOSE_MAKEFILE=ON " + +configopts += "-DBUILD_FORTRAN=ON " +configopts += "-DBUILD_HDF5_FILTER=ON " +configopts += "-DBUILD_NETCDF_READER=ON " +configopts += "-DBUILD_OPENMP=ON " + +sanity_check_paths = { + 'files': ['lib/libSZ.%s' % SHLIB_EXT], + 'dirs': ['include', 'lib'], +} + +moduleclass = 'data' diff --git a/Golden_Repo/s/SymEngine/SymEngine-0.9.0-GCC-11.3.0.eb b/Golden_Repo/s/SymEngine/SymEngine-0.9.0-GCC-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..a0fbe5ba27487ff5214d34c7b8f54e5ff101d0c8 --- /dev/null +++ b/Golden_Repo/s/SymEngine/SymEngine-0.9.0-GCC-11.3.0.eb @@ -0,0 +1,39 @@ +easyblock = 'CMakeMake' + +name = 'SymEngine' +version = '0.9.0' + +homepage = 'https://github.com/symengine/symengine' +description = "SymEngine is a standalone fast C++ symbolic manipulation library" + +toolchain = {'name': 'GCC', 'version': '11.3.0'} +toolchainopts = {'cstd': 'c++17', 'vectorize': True} + +source_urls = ['https://github.com/symengine/symengine/archive/refs/tags/'] +sources = ['v%(version)s.tar.gz'] +checksums = ['dcf174ac708ed2acea46691f6e78b9eb946d8a2ba62f75e87cf3bf4f0d651724'] + +builddependencies = [ + ('CMake', '3.23.1'), +] + +dependencies = [ + ('GMP', '6.2.1'), + ('MPFR', '4.1.0'), + ('MPC', '1.2.1'), + ('LLVM', '14.0.3'), + ('FLINT', '2.9.0'), +] + +local_opts = '-DWITH_OPENMP=ON -DWITH_SYMENGINE_RCP=ON -DWITH_COTIRE=OFF ' +local_opts += '-DWITH_MPFR=ON -DWITH_MPC=ON -DWITH_LLVM=ON -DWITH_BFD=ON -DWITH_FLINT=ON ' +configopts = [local_opts + '-DBUILD_SHARED_LIBS=OFF', local_opts + '-DBUILD_SHARED_LIBS=ON'] + +runtest = 'test' + +sanity_check_paths = { + 'files': ['lib64/libsymengine.a', 'lib64/libsymengine.%s' % SHLIB_EXT], + 'dirs': ['include/symengine/'] +} + +moduleclass = 'lib' diff --git a/Golden_Repo/s/spdlog/spdlog-1.11.0-GCCcore-11.3.0.eb b/Golden_Repo/s/spdlog/spdlog-1.11.0-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..0b014356d975e58bc01594bacb8bfa53013589f6 --- /dev/null +++ b/Golden_Repo/s/spdlog/spdlog-1.11.0-GCCcore-11.3.0.eb @@ -0,0 +1,25 @@ +easyblock = 'CMakeMake' + +name = 'spdlog' +version = '1.11.0' + +homepage = "https://github.com/gabime/spdlog" +description = """Very fast, header-only/compiled, C++ logging library. +""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://github.com/gabime/spdlog/archive/'] +sources = ['v%(version)s.tar.gz'] +checksums = ['ca5cae8d6cac15dae0ec63b21d6ad3530070650f68076f3a4a862ca293a858bb'] + +builddependencies = [ + ('binutils', '2.38'), + ('CMake', '3.23.1'), +] + +sanity_check_paths = { + 'files': [], + 'dirs': [('include', 'lib64')] +} diff --git a/Golden_Repo/u/uglifyjs/uglifyjs-3.17.4-GCCcore-11.3.0.eb b/Golden_Repo/u/uglifyjs/uglifyjs-3.17.4-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..ffbcc5c06ada8e2a01fa35646a5916be04f4b6ac --- /dev/null +++ b/Golden_Repo/u/uglifyjs/uglifyjs-3.17.4-GCCcore-11.3.0.eb @@ -0,0 +1,29 @@ +easyblock = 'Binary' + +name = 'uglifyjs' +version = '3.17.4' + +homepage = 'https://github.com/mishoo/UglifyJS' +description = """UglifyJS is a JavaScript parser, minifier, compressor and beautifier toolkit.""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +source_urls = ['https://github.com/mishoo/UglifyJS/archive/'] +sources = ['v%(version)s.tar.gz'] +checksums = ['afb2c2b2ab5ef3b925cf6fbfe66b9f3e4a6b71133356e9131d2368545ca05b23'] + +builddependencies = [('binutils', '2.38')] + +dependencies = [ + ('nodejs', '16.15.1'), +] + +install_cmd = 'npm install --no-package-lock -g --prefix %(installdir)s uglify-js@%(version)s v%(version)s.tar.gz' + +sanity_check_paths = { + 'files': ['bin/%(namelower)s'], + 'dirs': ['lib/node_modules/uglify-js'], +} +sanity_check_commands = ['%(namelower)s --help'] + +moduleclass = 'vis' diff --git a/Golden_Repo/v/VTK/VTK-9.2.5-GCCcore-11.3.0-nompi.eb b/Golden_Repo/v/VTK/VTK-9.2.5-GCCcore-11.3.0-nompi.eb new file mode 100644 index 0000000000000000000000000000000000000000..34fbf0ab9bce9e1a0b34dbb44909bc3b98b9fd5c --- /dev/null +++ b/Golden_Repo/v/VTK/VTK-9.2.5-GCCcore-11.3.0-nompi.eb @@ -0,0 +1,187 @@ +easyblock = 'CMakeMake' + +name = 'VTK' +version = '9.2.5' +versionsuffix = '-nompi' + +homepage = 'http://www.vtk.org' +description = """The Visualization Toolkit (VTK) is an open-source, freely available software system for + 3D computer graphics, image processing and visualization. VTK consists of a C++ class library and several + interpreted interface layers including Tcl/Tk, Java, and Python. VTK supports a wide variety of visualization + algorithms including: scalar, vector, tensor, texture, and volumetric methods; and advanced modeling techniques + such as: implicit modeling, polygon reduction, mesh smoothing, cutting, contouring, and Delaunay triangulation.""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://www.vtk.org/files/release/%(version_major_minor)s'] +sources = [ + SOURCE_TAR_GZ, + '%(name)sData-%(version)s.tar.gz', +] +patches = [('vtk-version.egg-info', '.')] +checksums = [ + '128d601baa980e98ee034207974b33fb38d2c98ab9cf4a5756efdb09ed6c0949', # VTK-9.2.5.tar.gz + '8a812f96346b3a38ff0fc3b1a1a372f3727a71ebf450c02d659a75dbe1113515', # VTKData-9.2.5.tar.gz + '787b82415ae7a4a1f815b4db0e25f7abc809a05fc85d7d219627f3a7e5d3867b', # vtk-version.egg-info +] + +builddependencies = [ + ('CMake', '3.23.1'), +] + +dependencies = [ + ('Python', '3.10.4'), + ('HDF5', '1.12.2', '-serial'), + ('SciPy-Stack', '2022a', '', ('gcccoremkl', '11.3.0-2022.1.0')), + # ('libxc', '5.2.3'), # not in GCCcore toolchain + ('netCDF', '4.9.0', '-serial'), + ('X11', '20220504'), + ('OpenGL', '2022a'), +] + +separate_build_dir = True + +configopts = "-DCMAKE_INSTALL_LIBDIR=lib " + +configopts += "-DVTK_USE_SYSTEM_MPI4PY=OFF " +configopts += "-DVTK_USE_SYSTEM_LZMA=ON " +configopts += "-DVTK_USE_SYSTEM_HDF5=ON " +configopts += "-DVTK_USE_SYSTEM_NETCDF=ON " + +configopts += "-DBUILD_SHARED_LIBS=ON " +configopts += "-DBUILD_TESTING=OFF " + +configopts += "-DVTK_USE_MPI=OFF " +configopts += "-DVTK_SMP_IMPLEMENTATION_TYPE=OPENMP " +configopts += "-DVTK_Group_MPI:BOOL=OFF " +configopts += "-DVTK_Group_Web:BOOL=ON " + +configopts += '-DOpenGL_GL_PREFERENCE=GLVND ' # "GLVND" or "LEGACY" +configopts += "-DOPENGL_EGL_INCLUDE_DIR=$EBROOTOPENGL/include " +configopts += "-DOPENGL_GLX_INCLUDE_DIR=$EBROOTOPENGL/include " +configopts += "-DOPENGL_INCLUDE_DIR=$EBROOTOPENGL/include " +configopts += "-DOPENGL_egl_LIBRARY=$EBROOTOPENGL/lib/libEGL.so.1 " +configopts += "-DOPENGL_glx_LIBRARY=$EBROOTOPENGL/lib/libGLX.so.0 " +configopts += "-DOPENGL_opengl_LIBRARY=$EBROOTOPENGL/lib/libOpenGL.so.0 " +configopts += "-DOPENGL_glu_LIBRARY=$EBROOTOPENGL/lib/libGLU.so " + +configopts += "-DVTK_WRAP_PYTHON=ON " +configopts += "-DVTK_PYTHON_OPTIONAL_LINK=OFF " +configopts += "-DPYTHON_EXECUTABLE:PATH=$EBROOTPYTHON/bin/python%(pyshortver)s " +configopts += "-DPYTHON_INCLUDE_DIR:PATH=$EBROOTPYTHON/include/python%(pyshortver)s " +configopts += "-DPYTHON_LIBRARY:PATH=$EBROOTPYTHON/lib/libpython%%(pyshortver)s.%s " % SHLIB_EXT + +configopts += "-DHDF5_INCLUDE_DIRS=$EBROOTHDF5/include " + +configopts += "-DModule_vtkAcceleratorsVTKm:BOOL=ON " +# configopts += "-DModule_vtkDomainsMicroscopy:BOOL=OFF " +# configopts += "-DModule_vtkDomainsParallelChemistry:BOOL=OFF " +# configopts += "-DModule_vtkFiltersOpenTurns:BOOL=OFF " +# configopts += "-DModule_vtkFiltersParallelDIY2:BOOL=OFF " +# configopts += "-DModule_vtkFiltersParallelFlowPaths:BOOL=OFF " +configopts += "-DModule_vtkFiltersParallelGeometry:BOOL=ON " +configopts += "-DModule_vtkFiltersParallelMPI:BOOL=OFF " +configopts += "-DModule_vtkFiltersParallelStatistics:BOOL=ON " +# configopts += "-DModule_vtkFiltersParallelVerdict:BOOL=OFF " +# configopts += "-DModule_vtkFiltersReebGraph:BOOL=OFF " +# configopts += "-DModule_vtkGUISupportQt:BOOL=OFF " +# configopts += "-DModule_vtkGUISupportQtOpenGL:BOOL=OFF " +# configopts += "-DModule_vtkGUISupportQtSQL:BOOL=OFF " +# configopts += "-DModule_vtkGUISupportQtWebkit:BOOL=OFF " +# configopts += "-DModule_vtkGeovisGDAL:BOOL=OFF " +# configopts += "-DModule_vtkIOADIOS:BOOL=OFF " +# configopts += "-DModule_vtkIOFFMPEG:BOOL=OFF " +# configopts += "-DModule_vtkIOGDAL:BOOL=OFF " +# configopts += "-DModule_vtkIOGeoJSON:BOOL=OFF " +# configopts += "-DModule_vtkIOLAS:BOOL=OFF " +# configopts += "-DModule_vtkIOMPIImage:BOOL=ON " +# configopts += "-DModule_vtkIOMPIParallel:BOOL=ON " +# configopts += "-DModule_vtkIOMotionFX:BOOL=OFF " +# configopts += "-DModule_vtkIOMySQL:BOOL=OFF " +# configopts += "-DModule_vtkIOODBC:BOOL=OFF " +# configopts += "-DModule_vtkIOPDAL:BOOL=OFF " +# configopts += "-DModule_vtkIOParallelExodus:BOOL=OFF " +# configopts += "-DModule_vtkIOParallelLSDyna:BOOL=OFF " +# configopts += "-DModule_vtkIOParallelNetCDF:BOOL=OFF " +# configopts += "-DModule_vtkIOParallelXdmf3:BOOL=OFF " +# configopts += "-DModule_vtkIOPostgreSQL:BOOL=OFF " +# configopts += "-DModule_vtkIOTRUCHAS:BOOL=OFF " +# configopts += "-DModule_vtkIOVPIC:BOOL=OFF " +# configopts += "-DModule_vtkIOXdmf2:BOOL=OFF " +# configopts += "-DModule_vtkIOXdmf3:BOOL=OFF " +# configopts += "-DModule_vtkImagingOpenGL2:BOOL=OFF " +# configopts += "-DModule_vtkInfovisBoost:BOOL=OFF " +# configopts += "-DModule_vtkInfovisBoostGraphAlg:BOOL=OFF +configopts += "-DModule_vtkParallelMPI:BOOL=OFF " +configopts += "-DModule_vtkPython:BOOL=ON " +# configopts += "-DModule_vtkPythonInterpreter:BOOL=OFF " +# configopts += "-DModule_vtkRenderingExternal:BOOL=OFF " +# configopts += "-DModule_vtkRenderingFreeTypeFontConfig:BOOL=OFF " +# configopts += "-DModule_vtkRenderingLICOpenGL2:BOOL=OFF " +# configopts += "-DModule_vtkRenderingMatplotlib:BOOL=OFF " +# configopts += "-DModule_vtkRenderingOSPRay:BOOL=OFF " +# configopts += "-DModule_vtkRenderingOpenVR:BOOL=OFF " +# configopts += "-DModule_vtkRenderingOptiX:BOOL=OFF " +configopts += "-DModule_vtkRenderingParallel:BOOL=ON " +configopts += "-DModule_vtkRenderingParallelLIC:BOOL=ON " +# configopts += "-DModule_vtkRenderingQt:BOOL=OFF " +# configopts += "-DModule_vtkRenderingSceneGraph:BOOL=OFF " +# configopts += "-DModule_vtkRenderingTk:BOOL=OFF " +# configopts += "-DModule_vtkRenderingVolumeAMR:BOOL=OFF " +# configopts += "-DModule_vtkTclTk:BOOL=OFF " +# configopts += "-DModule_vtkTestingCore:BOOL=OFF " +# configopts += "-DModule_vtkTestingGenericBridge:BOOL=OFF " +# configopts += "-DModule_vtkTestingIOSQL:BOOL=OFF " +# configopts += "-DModule_vtkTestingRendering:BOOL=OFF " +# configopts += "-DModule_vtkUtilitiesBenchmarks:BOOL=OFF " +# configopts += "-DModule_vtkUtilitiesEncodeString:BOOL=OFF " +# configopts += "-DModule_vtkVPIC:BOOL=OFF " +configopts += "-DModule_vtkVTKm:BOOL=ON " +# configopts += "-DModule_vtkViewsGeovis:BOOL=OFF " +# configopts += "-DModule_vtkViewsQt:BOOL=OFF " +# configopts += "-DModule_vtkWebCore:BOOL=OFF " +# configopts += "-DModule_vtkWebGLExporter:BOOL=OFF " +# configopts += "-DModule_vtkWebPython:BOOL=OFF " +# configopts += "-DModule_vtkWrappingJava:BOOL=OFF " +# configopts += "-DModule_vtkWrappingPythonCore:BOOL=OFF " +# configopts += "-DModule_vtkWrappingTools:BOOL=OFF " +# configopts += "-DModule_vtkdiy2:BOOL=OFF " +# configopts += "-DModule_vtkkissfft:BOOL=OFF " +configopts += "-DModule_vtkmpi4py:BOOL=OFF " +# configopts += "-DModule_vtkpegtl:BOOL=OFF " +# configopts += "-DModule_vtkxdmf2:BOOL=OFF " +# configopts += "-DModule_vtkxdmf3:BOOL=OFF " +# configopts += "-DModule_vtkzfp:BOOL=OFF " + +preinstallopts = "export PYTHONPATH=%(installdir)s/lib/python%(pyshortver)s/site-packages:$PYTHONPATH && " + +# Install a egg-info file so VTK is more python friendly, required for mayavi +local_egg_info_src = '%(builddir)s/VTK-%(version)s/vtk-version.egg-info' +local_egg_info_dest = '%(installdir)s/lib/python%(pyshortver)s/site-packages/vtk-%(version)s.egg-info' +postinstallcmds = [ + 'sed "s/#VTK_VERSION#/%%(version)s/" %s > %s' % (local_egg_info_src, local_egg_info_dest), +] + +modextrapaths = {'PYTHONPATH': ['lib/python%(pyshortver)s/site-packages']} + +local_vtk_exec = ['vtk%s-%%(version_major_minor)s' % x + for x in ['WrapJava', 'ParseJava', 'WrapPythonInit', 'WrapPython', 'WrapHierarchy']] +local_vtk_exec += ['vtkpython'] +local_vtk_libs = ['CommonCore', 'IONetCDF', 'ParallelCore', 'RenderingOpenGL2'] + +sanity_check_paths = { + 'files': ['bin/%s' % x for x in local_vtk_exec] + + ['lib/libvtk%s-%%(version_major_minor)s.%s' % (l, SHLIB_EXT) for l in local_vtk_libs], + 'dirs': ['lib/python%(pyshortver)s/site-packages/', 'include/vtk-%(version_major_minor)s'], +} + +sanity_check_commands = [ + "python -c 'import %(namelower)s'", + "python -c 'import pkg_resources; pkg_resources.get_distribution(\"vtk\")'", + # make sure that VTK Python libraries link to libpython (controlled via DVTK_PYTHON_OPTIONAL_LINK=OFF), + # see https://gitlab.kitware.com/vtk/vtk/-/issues/17881 + "ldd $EBROOTVTK/lib/libvtkPythonContext2D-%%(version_major_minor)s.%s | grep /libpython" % SHLIB_EXT, +] + +moduleclass = 'vis' diff --git a/Golden_Repo/v/VTK/VTK-9.2.5-gpsmpi-2022a.eb b/Golden_Repo/v/VTK/VTK-9.2.5-gpsmpi-2022a.eb new file mode 100644 index 0000000000000000000000000000000000000000..2afb89cd458dee3b364c96ba27e987f6881933f6 --- /dev/null +++ b/Golden_Repo/v/VTK/VTK-9.2.5-gpsmpi-2022a.eb @@ -0,0 +1,188 @@ +easyblock = 'CMakeMake' + +name = 'VTK' +version = '9.2.5' + +homepage = 'http://www.vtk.org' +description = """The Visualization Toolkit (VTK) is an open-source, freely available software system for + 3D computer graphics, image processing and visualization. VTK consists of a C++ class library and several + interpreted interface layers including Tcl/Tk, Java, and Python. VTK supports a wide variety of visualization + algorithms including: scalar, vector, tensor, texture, and volumetric methods; and advanced modeling techniques + such as: implicit modeling, polygon reduction, mesh smoothing, cutting, contouring, and Delaunay triangulation.""" + + +toolchain = {'name': 'gpsmpi', 'version': '2022a'} +toolchainopts = {'pic': True, 'usempi': True} + +source_urls = ['https://www.vtk.org/files/release/%(version_major_minor)s'] +sources = [ + SOURCE_TAR_GZ, + '%(name)sData-%(version)s.tar.gz', +] +patches = [('vtk-version.egg-info', '.')] +checksums = [ + '128d601baa980e98ee034207974b33fb38d2c98ab9cf4a5756efdb09ed6c0949', # VTK-9.2.5.tar.gz + '8a812f96346b3a38ff0fc3b1a1a372f3727a71ebf450c02d659a75dbe1113515', # VTKData-9.2.5.tar.gz + '787b82415ae7a4a1f815b4db0e25f7abc809a05fc85d7d219627f3a7e5d3867b', # vtk-version.egg-info +] + +builddependencies = [ + ('CMake', '3.23.1'), +] + +dependencies = [ + ('Python', '3.10.4'), + ('HDF5', '1.12.2', '-serial'), + ('SciPy-Stack', '2022a', '', ('gcccoremkl', '11.3.0-2022.1.0')), + ('mpi4py', '3.1.4'), + ('libxc', '5.2.3'), + ('netCDF', '4.9.0', '-serial'), + ('X11', '20220504'), + ('OpenGL', '2022a'), +] + +separate_build_dir = True + +configopts = "-DCMAKE_INSTALL_LIBDIR=lib " + +configopts += "-DVTK_USE_SYSTEM_MPI4PY=ON " +configopts += "-DVTK_USE_SYSTEM_LZMA=ON " +configopts += "-DVTK_USE_SYSTEM_HDF5=ON " +configopts += "-DVTK_USE_SYSTEM_NETCDF=ON " + +configopts += "-DBUILD_SHARED_LIBS=ON " +configopts += "-DBUILD_TESTING=OFF " + +configopts += "-DVTK_USE_MPI=ON " +configopts += "-DVTK_SMP_IMPLEMENTATION_TYPE=OPENMP " +configopts += "-DVTK_Group_MPI:BOOL=ON " +configopts += "-DVTK_Group_Web:BOOL=ON " + +configopts += '-DOpenGL_GL_PREFERENCE=GLVND ' # "GLVND" or "LEGACY" +configopts += "-DOPENGL_EGL_INCLUDE_DIR=$EBROOTOPENGL/include " +configopts += "-DOPENGL_GLX_INCLUDE_DIR=$EBROOTOPENGL/include " +configopts += "-DOPENGL_INCLUDE_DIR=$EBROOTOPENGL/include " +configopts += "-DOPENGL_egl_LIBRARY=$EBROOTOPENGL/lib/libEGL.so.1 " +configopts += "-DOPENGL_glx_LIBRARY=$EBROOTOPENGL/lib/libGLX.so.0 " +configopts += "-DOPENGL_opengl_LIBRARY=$EBROOTOPENGL/lib/libOpenGL.so.0 " +configopts += "-DOPENGL_glu_LIBRARY=$EBROOTOPENGL/lib/libGLU.so " + +configopts += "-DVTK_WRAP_PYTHON=ON " +configopts += "-DVTK_PYTHON_OPTIONAL_LINK=OFF " +configopts += "-DPYTHON_EXECUTABLE:PATH=$EBROOTPYTHON/bin/python%(pyshortver)s " +configopts += "-DPYTHON_INCLUDE_DIR:PATH=$EBROOTPYTHON/include/python%(pyshortver)s " +configopts += "-DPYTHON_LIBRARY:PATH=$EBROOTPYTHON/lib/libpython%%(pyshortver)s.%s " % SHLIB_EXT + +configopts += "-DHDF5_INCLUDE_DIRS=$EBROOTHDF5/include " + +configopts += "-DModule_vtkAcceleratorsVTKm:BOOL=ON " +# configopts += "-DModule_vtkDomainsMicroscopy:BOOL=OFF " +# configopts += "-DModule_vtkDomainsParallelChemistry:BOOL=OFF " +# configopts += "-DModule_vtkFiltersOpenTurns:BOOL=OFF " +# configopts += "-DModule_vtkFiltersParallelDIY2:BOOL=OFF " +# configopts += "-DModule_vtkFiltersParallelFlowPaths:BOOL=OFF " +configopts += "-DModule_vtkFiltersParallelGeometry:BOOL=ON " +configopts += "-DModule_vtkFiltersParallelMPI:BOOL=ON " +configopts += "-DModule_vtkFiltersParallelStatistics:BOOL=ON " +# configopts += "-DModule_vtkFiltersParallelVerdict:BOOL=OFF " +# configopts += "-DModule_vtkFiltersReebGraph:BOOL=OFF " +# configopts += "-DModule_vtkGUISupportQt:BOOL=OFF " +# configopts += "-DModule_vtkGUISupportQtOpenGL:BOOL=OFF " +# configopts += "-DModule_vtkGUISupportQtSQL:BOOL=OFF " +# configopts += "-DModule_vtkGUISupportQtWebkit:BOOL=OFF " +# configopts += "-DModule_vtkGeovisGDAL:BOOL=OFF " +# configopts += "-DModule_vtkIOADIOS:BOOL=OFF " +# configopts += "-DModule_vtkIOFFMPEG:BOOL=OFF " +# configopts += "-DModule_vtkIOGDAL:BOOL=OFF " +# configopts += "-DModule_vtkIOGeoJSON:BOOL=OFF " +# configopts += "-DModule_vtkIOLAS:BOOL=OFF " +# configopts += "-DModule_vtkIOMPIImage:BOOL=ON " +# configopts += "-DModule_vtkIOMPIParallel:BOOL=ON " +# configopts += "-DModule_vtkIOMotionFX:BOOL=OFF " +# configopts += "-DModule_vtkIOMySQL:BOOL=OFF " +# configopts += "-DModule_vtkIOODBC:BOOL=OFF " +# configopts += "-DModule_vtkIOPDAL:BOOL=OFF " +# configopts += "-DModule_vtkIOParallelExodus:BOOL=OFF " +# configopts += "-DModule_vtkIOParallelLSDyna:BOOL=OFF " +# configopts += "-DModule_vtkIOParallelNetCDF:BOOL=OFF " +# configopts += "-DModule_vtkIOParallelXdmf3:BOOL=OFF " +# configopts += "-DModule_vtkIOPostgreSQL:BOOL=OFF " +# configopts += "-DModule_vtkIOTRUCHAS:BOOL=OFF " +# configopts += "-DModule_vtkIOVPIC:BOOL=OFF " +# configopts += "-DModule_vtkIOXdmf2:BOOL=OFF " +# configopts += "-DModule_vtkIOXdmf3:BOOL=OFF " +# configopts += "-DModule_vtkImagingOpenGL2:BOOL=OFF " +# configopts += "-DModule_vtkInfovisBoost:BOOL=OFF " +# configopts += "-DModule_vtkInfovisBoostGraphAlg:BOOL=OFF +configopts += "-DModule_vtkParallelMPI:BOOL=ON " +configopts += "-DModule_vtkPython:BOOL=ON " +# configopts += "-DModule_vtkPythonInterpreter:BOOL=OFF " +# configopts += "-DModule_vtkRenderingExternal:BOOL=OFF " +# configopts += "-DModule_vtkRenderingFreeTypeFontConfig:BOOL=OFF " +# configopts += "-DModule_vtkRenderingLICOpenGL2:BOOL=OFF " +# configopts += "-DModule_vtkRenderingMatplotlib:BOOL=OFF " +# configopts += "-DModule_vtkRenderingOSPRay:BOOL=OFF " +# configopts += "-DModule_vtkRenderingOpenVR:BOOL=OFF " +# configopts += "-DModule_vtkRenderingOptiX:BOOL=OFF " +configopts += "-DModule_vtkRenderingParallel:BOOL=ON " +configopts += "-DModule_vtkRenderingParallelLIC:BOOL=ON " +# configopts += "-DModule_vtkRenderingQt:BOOL=OFF " +# configopts += "-DModule_vtkRenderingSceneGraph:BOOL=OFF " +# configopts += "-DModule_vtkRenderingTk:BOOL=OFF " +# configopts += "-DModule_vtkRenderingVolumeAMR:BOOL=OFF " +# configopts += "-DModule_vtkTclTk:BOOL=OFF " +# configopts += "-DModule_vtkTestingCore:BOOL=OFF " +# configopts += "-DModule_vtkTestingGenericBridge:BOOL=OFF " +# configopts += "-DModule_vtkTestingIOSQL:BOOL=OFF " +# configopts += "-DModule_vtkTestingRendering:BOOL=OFF " +# configopts += "-DModule_vtkUtilitiesBenchmarks:BOOL=OFF " +# configopts += "-DModule_vtkUtilitiesEncodeString:BOOL=OFF " +# configopts += "-DModule_vtkVPIC:BOOL=OFF " +configopts += "-DModule_vtkVTKm:BOOL=ON " +# configopts += "-DModule_vtkViewsGeovis:BOOL=OFF " +# configopts += "-DModule_vtkViewsQt:BOOL=OFF " +# configopts += "-DModule_vtkWebCore:BOOL=OFF " +# configopts += "-DModule_vtkWebGLExporter:BOOL=OFF " +# configopts += "-DModule_vtkWebPython:BOOL=OFF " +# configopts += "-DModule_vtkWrappingJava:BOOL=OFF " +# configopts += "-DModule_vtkWrappingPythonCore:BOOL=OFF " +# configopts += "-DModule_vtkWrappingTools:BOOL=OFF " +# configopts += "-DModule_vtkdiy2:BOOL=OFF " +# configopts += "-DModule_vtkkissfft:BOOL=OFF " +configopts += "-DModule_vtkmpi4py:BOOL=ON " +# configopts += "-DModule_vtkpegtl:BOOL=OFF " +# configopts += "-DModule_vtkxdmf2:BOOL=OFF " +# configopts += "-DModule_vtkxdmf3:BOOL=OFF " +# configopts += "-DModule_vtkzfp:BOOL=OFF " + +preinstallopts = "export PYTHONPATH=%(installdir)s/lib/python%(pyshortver)s/site-packages:$PYTHONPATH && " + +# Install a egg-info file so VTK is more python friendly, required for mayavi +local_egg_info_src = '%(builddir)s/VTK-%(version)s/vtk-version.egg-info' +local_egg_info_dest = '%(installdir)s/lib/python%(pyshortver)s/site-packages/vtk-%(version)s.egg-info' +postinstallcmds = [ + 'sed "s/#VTK_VERSION#/%%(version)s/" %s > %s' % (local_egg_info_src, local_egg_info_dest), +] + +modextrapaths = {'PYTHONPATH': ['lib/python%(pyshortver)s/site-packages']} + +local_vtk_exec = ['vtk%s-%%(version_major_minor)s' % x + for x in ['WrapJava', 'ParseJava', 'WrapPythonInit', 'WrapPython', 'WrapHierarchy']] +local_vtk_exec += ['vtkpython'] +local_vtk_libs = ['CommonCore', 'IONetCDF', 'ParallelCore', 'RenderingOpenGL2'] + +sanity_check_paths = { + 'files': ['bin/%s' % x for x in local_vtk_exec] + ['include/vtk-%(version_major_minor)s/vtkMPI.h'] + + ['lib/libvtk%s-%%(version_major_minor)s.%s' % (l, SHLIB_EXT) for l in local_vtk_libs], + 'dirs': ['lib/python%(pyshortver)s/site-packages/', 'include/vtk-%(version_major_minor)s'], +} + +sanity_check_commands = [ + "python -c 'import %(namelower)s'", + "python -c 'import pkg_resources; pkg_resources.get_distribution(\"vtk\")'", + # make sure that VTK Python libraries link to libpython (controlled via DVTK_PYTHON_OPTIONAL_LINK=OFF), + # see https://gitlab.kitware.com/vtk/vtk/-/issues/17881 + "ldd $EBROOTVTK/lib/libvtkPythonContext2D-%%(version_major_minor)s.%s | grep /libpython" % SHLIB_EXT, +] + +moduleclass = 'vis' diff --git a/Golden_Repo/v/VTK/vtk-version.egg-info b/Golden_Repo/v/VTK/vtk-version.egg-info new file mode 100644 index 0000000000000000000000000000000000000000..9ddd689eaec6928e5f537b1f1378ba67e77a3809 --- /dev/null +++ b/Golden_Repo/v/VTK/vtk-version.egg-info @@ -0,0 +1,5 @@ +Metadata-Version: 2.1 +Name: vtk +Version: #VTK_VERSION# +Summary: VTK is an open-source toolkit for 3D computer graphics, image processing, and visualization +Platform: UNKNOWN diff --git a/Golden_Repo/v/VTKData/VTKData-9.2.5-GCCcore-11.3.0.eb b/Golden_Repo/v/VTKData/VTKData-9.2.5-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..87a92de93ed7b152c54a91771c24e835caf1bbc2 --- /dev/null +++ b/Golden_Repo/v/VTKData/VTKData-9.2.5-GCCcore-11.3.0.eb @@ -0,0 +1,30 @@ +easyblock = 'Tarball' + +name = 'VTKData' +version = '9.2.5' + +homepage = 'https://vtk.org' +description = "Testdata for VTK" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +source_urls = [('https://www.vtk.org/files/release/%(version_major_minor)s/')] +sources = [ + ('VTKData-%(version)s.tar.gz'), + ('VTKDataFiles-%(version)s.tar.gz'), + ('VTKLargeData-%(version)s.tar.gz'), + ('VTKLargeDataFiles-%(version)s.tar.gz'), +] +checksums = [ + ('sha256', '8a812f96346b3a38ff0fc3b1a1a372f3727a71ebf450c02d659a75dbe1113515'), + ('sha256', '3dd926bb5c8f7ba84d1eb0cf8ff97d26ed406bb2a4ccf7c51a51e739407484d0'), + ('sha256', '7b7f37ab6582d7a0454f717e3466437dd5ee87bb0eec3b27309c604f5fec7c18'), + ('sha256', 'c851fe78c1b4c86a60a940279f5ba194e7f3c335d834632d99877144dc1b2b31'), +] + +sanity_check_paths = { + 'files': ['.ExternalData/README.rst'], + 'dirs': ['.ExternalData', 'Common', 'Examples', 'Filters', 'IO', 'Parallel', 'Rendering', 'Testing'], +} + +moduleclass = 'vis' diff --git a/Golden_Repo/v/VirtualGL/VirtualGL-3.1beta1-GCCcore-11.3.0.eb b/Golden_Repo/v/VirtualGL/VirtualGL-3.1beta1-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..1829196e5ea33b9af1e7d029b59c96f572b3a79d --- /dev/null +++ b/Golden_Repo/v/VirtualGL/VirtualGL-3.1beta1-GCCcore-11.3.0.eb @@ -0,0 +1,50 @@ +easyblock = 'CMakeMake' + +name = 'VirtualGL' +version = '3.1beta1' + +homepage = 'https://virtualgl.org/' +description = """VirtualGL is an open source toolkit that gives any Linux or +Unix remote display software the ability to run OpenGL applications with full +hardware acceleration.""" + + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://github.com/VirtualGL/virtualgl/archive/'] +sources = ['%(version)s.tar.gz'] +patches = [ + 'virtualgl_cmake_lib_path.patch', +] +checksums = [ + '67bb5d88e8a016ed92b2cb3708c49ba5d04cc086f39c85b6fa8f51403cc9d22e', + # virtualgl_cmake_lib_path.patch + 'aa185d038f5e47957bd8a163107d352a1675a224b5a41f167e5b75ae42c87f1d', +] + +builddependencies = [ + ('binutils', '2.38'), + ('CMake', '3.23.1') +] + +dependencies = [ + ('libjpeg-turbo', '2.1.3'), + ('OpenGL', '2022a'), +] + +separate_build_dir = True +configopts = '-DVGL_FAKEOPENCL=OFF' + +local_binaries = [ + 'cpustat', 'glreadtest', 'glxinfo', 'glxspheres64', 'nettest', 'tcbench', + 'vglclient', 'vglconfig', 'vglconnect', 'vglgenkey', 'vgllogin', 'vglrun', + 'vglserver_config' +] + +sanity_check_paths = { + 'files': ['bin/%s' % x for x in local_binaries], + 'dirs': ['lib64', 'share', 'include'], +} + +moduleclass = 'vis' diff --git a/Golden_Repo/v/VirtualGL/virtualgl_cmake_lib_path.patch b/Golden_Repo/v/VirtualGL/virtualgl_cmake_lib_path.patch new file mode 100644 index 0000000000000000000000000000000000000000..f58d0cbe2a5f5836f79a646c40f4e703c61b46d3 --- /dev/null +++ b/Golden_Repo/v/VirtualGL/virtualgl_cmake_lib_path.patch @@ -0,0 +1,13 @@ +diff -ruN virtualgl-2.5.2/CMakeLists.txt virtualgl-2.5.2.old/CMakeLists.txt +--- virtualgl-2.5.2/CMakeLists.txt 2017-03-03 00:13:45.000000000 +0100 ++++ virtualgl-2.5.2.old/CMakeLists.txt 2017-03-20 16:14:04.908614846 +0100 +@@ -261,9 +261,6 @@ + + else() + +-if(CMAKE_SYSTEM_NAME STREQUAL "Linux") +- set(CMAKE_LIBRARY_PATH /usr/lib/${CPU_TYPE}-linux-gnu;/usr/lib${BITS};/usr/lib) +-endif() + include(FindX11) + include(FindOpenGL) + diff --git a/Golden_Repo/y/yarn/yarn-1.22.19-GCCcore-11.3.0.eb b/Golden_Repo/y/yarn/yarn-1.22.19-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..224afbe40774e19613c11c52d398cdf7696b015d --- /dev/null +++ b/Golden_Repo/y/yarn/yarn-1.22.19-GCCcore-11.3.0.eb @@ -0,0 +1,35 @@ +easyblock = 'Binary' + +name = 'yarn' +version = '1.22.19' + +homepage = "https://yarnpkg.com" +description = "Yarn is a package manager that doubles down as project manager." + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +source_urls = ['https://github.com/yarnpkg/yarn/releases/download/v%(version)s/'] +sources = [{ + 'filename': 'yarn-v%(version)s.tar.gz', + 'extract_cmd': "cp %s .", +}] +checksums = ['732620bac8b1690d507274f025f3c6cfdc3627a84d9642e38a07452cc00e0f2e'] + +dependencies = [ + ('nodejs', '16.15.1'), +] + +# Don't ever try to install unpacked source of nodejs globally! +# Always use 'npm install -g downloaded_file.tar.gz` or you will end up having broken links and installation will fail. +# -d (debug) and --timing can show errors while downloading dependencies +install_cmd = "npm install -d --timing --prefix %(installdir)s -g yarn-v%(version)s.tar.gz" + +sanity_check_paths = { + 'files': ['bin/yarn'], + 'dirs': ['lib/node_modules/yarn'], +} +sanity_check_commands = [ + 'yarn --help' +] + +moduleclass = 'tools' diff --git a/Golden_Repo/z/zfp/zfp-0.5.5-GCCcore-11.3.0.eb b/Golden_Repo/z/zfp/zfp-0.5.5-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..39fbbbbce6fafdbb9a552a503c58f8ed157e535e --- /dev/null +++ b/Golden_Repo/z/zfp/zfp-0.5.5-GCCcore-11.3.0.eb @@ -0,0 +1,59 @@ +easyblock = 'CMakeMake' + +name = 'zfp' +version = '0.5.5' + +homepage = "https://github.com/LLNL/zfp" +description = """Optionally error-bounded lossy compressor for HPC data +with high throughput read and write random access to individual array elements.""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} +toolchainopts = {'pic': True} + +github_account = 'LLNL' +source_urls = [GITHUB_SOURCE] +sources = ['%(version)s.tar.gz'] +checksums = ['6a7f4934489087d9c117a4af327fd6495ea757924f4df467b9c537abf8bd86c4'] + +builddependencies = [ + ('binutils', '2.38'), + ('CMake', '3.23.1'), + ('pkgconf', '1.8.0'), +] + +separate_build_dir = True + +configopts = '-DBUILD_SHARED_LIBS:BOOL=ON ' +configopts += '-DBUILD_EXAMPLES:BOOL=OFF ' +configopts += '-DBUILD_TESTING:BOOL=OFF ' + +configopts += '-DZFP_WITH_OPENMP:BOOL=ON ' +configopts += '-DZFP_WITH_CUDA:BOOL=OFF ' + +configopts += '-DBUILD_CFP:BOOL=ON ' +configopts += '-DBUILD_ZFPY:BOOL=OFF ' +configopts += '-DBUILD_ZFORP:BOOL=ON ' + +configopts += '-DBUILD_UTILITIES:BOOL=ON ' +configopts += '-DCMAKE_C_STANDARD_LIBRARIES="-lm" ' + +# create pkgconfig file +postinstallcmds = [ + "mkdir -p %(installdir)s/lib/pkgconfig", + """echo -e "prefix=%(installdir)s +libdir=\${prefix}/lib64 +includedir=\${prefix}/include +Name: %(name)s +Description: %(name)s compression library +Version: %(version)s +Requires: +Libs: -L\${libdir} -lzfp -lcfp +Cflags: -I\${includedir}" > %(installdir)s/lib/pkgconfig/%(name)s.pc""", +] + +sanity_check_paths = { + 'files': ['lib64/libzfp.so', 'lib64/libcfp.so', 'include/zfp.h'], + 'dirs': ['lib/pkgconfig'], +} + +moduleclass = 'lib' diff --git a/acls.yml b/acls.yml index b45ff7e695f0c4cd6f89d852f2c96c28198cc3cd..bbeabbf0d3013f741809620ca09846d4cbb68ffd 100644 --- a/acls.yml +++ b/acls.yml @@ -633,7 +633,7 @@ software: base: True - name: 'jax' owner: 'strube1' - base: True + mpi: True - name: 'jemalloc' owner: 'achilles4' base: True @@ -1212,7 +1212,7 @@ software: owner: 'herten1' mpi: True - name: 'netCDF' - owner: 'strube1' + owner: ['griessbach1', 'strube1'] mpi: True base: True - name: 'netCDF-C++4'