Skip to content

[SCOTCH] [package list]

SCOTCH/6.1.3-cpeGNU-22.06 (SCOTCH-6.1.3-cpeGNU-22.06.eb)

This software is archived in the LUMI-SoftwareStack GitHub repository as easybuild/easyconfigs/__archive__/s/SCOTCH/SCOTCH-6.1.3-cpeGNU-22.06.eb. The corresponding module would be SCOTCH/6.1.3-cpeGNU-22.06.

# provided by mkra (CSCS), 2018
# Adapted by Kurt Lust (kurt.lust@uantwerpen.be) for the LUMI consortium
easyblock = 'EB_SCOTCH_CPE'

local_SCOTCH_version =       '6.1.3'         # https://gforge.inria.fr/projects/scotch/

local_bzip2_version =        '1.0.8'         # http://www.bzip.org/downloads.html
local_XZ_version =           '5.2.5'         # https://tukaani.org/xz/
local_zlib_version =         '1.2.12'        # https://zlib.net/

name =    'SCOTCH'
version = local_SCOTCH_version

homepage = 'http://gforge.inria.fr/projects/scotch/'

whatis = [
    'Description: Scotch is a software package for graph and mesh/hypergraph partitioning, graph clustering, and sparse matrix ordering'
]

description = """
Scotch is a software package and libraries for sequential and parallel graph
partitioning, static mapping, and sparse matrix block ordering, and sequential
mesh and hypergraph partitioning.

The module provides static libraries only. The library is compiled with support
for GZ-, BZ2- and LZMA-compressed graph files.


LICENSE
=======
SCOTCH is licensed under the CeCILL-C Free Software License Agreement, see
https://cecill.info/licences/Licence_CeCILL-C_V1-en.html.
"""

software_license_urls = ['https://cecill.info/licences/Licence_CeCILL-C_V1-en.html']


toolchain = {'name': 'cpeGNU', 'version': '22.06'}
toolchainopts = {'pic': True}

sources = [
    {   # https://gitlab.inria.fr/scotch/scotch/-/archive/v6.1.2/scotch-v6.1.3.tar.gz
        'filename': '%(namelower)s_v%(version)s.tar.gz',
        'source_urls': ['https://gitlab.inria.fr/scotch/scotch/-/archive/v%(version)s/'],
        'extract_cmd': 'tar xvf %s ; mv scotch-v%(version)s* scotch-%(version)s'
    },
    {
        'filename': 'Makefile.inc.CPE.%(version)s',
        'extract_cmd': 'cp %s scotch-%(version)s/src/Make.inc/Makefile.inc.CPE',
    },
]
#checksums =   [
#    'a2f65f58f31085e4c3dcca22e571a3a1b9d65a6ff05ff882b0eb07c78e3b755b' # scotch_v6.1.2.tar.gz
#]

builddependencies = [ # Create a reproducible build environment.
    ('buildtools',   '%(toolchain_version)s',   '', True), # For CMake
]

dependencies = [
    ('bzip2', local_bzip2_version),
    ('XZ',    local_XZ_version),
    ('zlib',  local_zlib_version),
]

moduleclass = 'math'

[SCOTCH] [package list]