Skip to content

[Charm++] [package list]

Charm++/6.10.2-cpeGNU-23.09-MPI (Charm++-6.10.2-cpeGNU-23.09-MPI.eb)

Install with the EasyBuild-user module:

eb Charm++-6.10.2-cpeGNU-23.09-MPI.eb -r
To access module help after installation and get reminded for which stacks and partitions the module is installed, use module spider Charm++/6.10.2-cpeGNU-23.09-MPI.

EasyConfig:

# contributed by Luca Marsella and Jean-Guillaume Piccinali (CSCS)
# Adapted by Kurt Lust (kurt.lust@uantwerpen.be) for the LUMI consortium
# Adapted by Pierre Beaujean (pierre.beaujean@unamur.be) for 22.08

easyblock = 'CmdCp'

name =          'Charm++'
version =       '6.10.2'
versionsuffix = '-MPI'

homepage = 'http://charm.cs.illinois.edu/research/charm/'

whatis = [
    'Charm++ is a machine independent parallel programming system.'
]

description = """
Charm++ is a machine independent parallel programming system. Programs
written using this system will run unchanged on MIMD machines with or
without a shared memory.
"""

toolchain = {'name': 'cpeGNU', 'version': '23.09'}
toolchainopts = {'dynamic': False}

source_urls = ['http://charm.cs.illinois.edu/distrib/']
sources = ['charm-%(version)s.tar.gz']

builddependencies = [
    ('buildtools',   '%(toolchain_version)s', '', True),
    ('cray-pmi/6.1.12', EXTERNAL_MODULE),
]

local_config_and_build  = ' ./build ChaNGa mpi-linux-amd64 pthreads gcc'
local_config_and_build += ' --incdir=${CRAY_MPICH_DIR}/include'
local_config_and_build += ' --libdir=${CRAY_MPICH_DIR}/lib'
local_config_and_build += ' --enable-lbuserdata'
local_config_and_build += ' --with-production'
local_config_and_build += ' -j12'

cmds_map = [
    ('charm-%(version)s.tar.gz', local_config_and_build),
]

files_to_copy = ['mpi-linux-amd64-pthreads-gcc']

sanity_check_paths = {
    'files': ['mpi-linux-amd64-pthreads-gcc/bin/charmc'],
    'dirs':  [
      'mpi-linux-amd64-pthreads-gcc/bin', 
      'mpi-linux-amd64-pthreads-gcc/lib', 
      'mpi-linux-amd64-pthreads-gcc/include'
    ],
}

modextrapaths = {
    'PATH': 'mpi-linux-amd64-pthreads-gcc/bin'
}

modextravars = {
    'EBTYPECHARMPLUSPLUS': 'mpi-linux-amd64-pthreads-gcc'
}

moduleclass = 'lib'

[Charm++] [package list]