Skip to content
Snippets Groups Projects
Select Git revision
  • 71022c1fca8a5049257f2ba4ca969594f97411dd
  • 2023 default protected
2 results

psmpi-5.7.1-1-NVHPC-23.1.eb

Blame
  • psmpi-5.7.1-1-NVHPC-23.1.eb 1.51 KiB
    name = 'psmpi'
    version = '5.7.1-1'
    
    homepage = 'https://github.com/ParaStation/psmpi2'
    description = """ParaStation MPI is an open source high-performance MPI 3.1 implementation,
    based on MPICH v3. It provides extra low level communication libraries and integration with
    various batch systems for tighter process control.
    """
    
    toolchain = {'name': 'NVHPC', 'version': '23.1'}
    
    sources = [SOURCE_TAR_GZ]
    source_urls = ['https://github.com/ParaStation/psmpi/archive/']
    checksums = [
        # psmpi-5.7.1-1.tar.gz
        'fe6fee71ff7586295347c4d06e1be872adcbe136119152c5a0983bad643e967b',
        '978eb3223c978477c40987f745c07fda26ccbad2f468616faf92f0d71b81a156',  # psmpi_shebang.patch
        # psmpi-5.5.0-1_ime.patch
        'c2418b9511560dca197242508de9c7b6b117122912b6d3a4aa18398834f465ff',
        # psmpi-5.7.0-1_singleton-fix.patch
        '5ab46de53f6025367f444e77cd3374fe36a0728cde38c72db55603ebc08b50a2',
    ]
    
    dependencies = [
        ('pscom', '5.6-default'),
        # needed due to the inclusion of hwloc
        ('libxml2', '2.9.13'),
        # Including CUDA here to trigger the hook to add the gpu property, and because it is actually needed
        ('CUDA', '11.7', '', SYSTEM)
    ]
    
    patches = [
        'psmpi_shebang.patch',
        'psmpi-5.5.0-1_ime.patch',
        'psmpi-5.7.0-1_singleton-fix.patch'
    ]
    
    mpich_opts = '--enable-static --with-file-system=ime+ufs+gpfs --enable-romio'
    
    preconfigopts = 'export CFLAGS="-I/opt/ddn/ime/include $CFLAGS" && '
    preconfigopts += 'export LDFLAGS="$LDFLAGS -L/opt/ddn/ime/lib -lim_client" && '
    
    threaded = False
    
    cuda = True
    
    moduleclass = 'mpi'