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

pscom-5.4-default.eb

Blame
  • user avatar
    Damian Alvarez authored
    fca4a6f0
    History
    pscom-5.4-default.eb 1.19 KiB
    easyblock = 'CMakeMake'
    
    name = 'pscom'
    # Create drop-in replacement version that ensures overriding behaviour
    version = '5.4-default'
    local_realversion = '5.4.8-1'
    homepage = 'http://www.par-tec.com'
    description = """ParaStation is a robust and efficient cluster middleware, consisting of a high-performance
    communication layer (MPI) and a sophisticated management layer.
    """
    
    toolchain = SYSTEM
    
    source_urls = ['https://github.com/ParaStation/%(name)s/archive/']
    sources = ['%s.tar.gz' % local_realversion]
    
    builddependencies = [
        ('binutils', '2.37'),
        ('popt', '1.18'),
        ('CUDA', '11.5'),
        ('CMake', '3.21.1'),
    ]
    
    dependencies = [
        ('UCX', '1.11.2'),
    ]
    
    build_type = 'RelWithDebInfo'
    
    preconfigopts = 'export UCP_LDFLAGS="-L$EBROOTUCX/lib" && '
    preconfigopts += 'export CUDA_LDFLAGS="-L$EBROOTNVIDIA/lib64" &&'
    
    configopts = '-DCUDA_ENABLED=ON'
    
    sanity_check_paths = {
        'files': [
            'include/%(name)s.h',
            ('lib/libpscom.so', 'lib64/libpscom.so'),
            ('lib/libpscom4ucp.so', 'lib64/libpscom4ucp.so'),
            ('lib/libpscom4openib.so', 'lib64/libpscom4openib.so'),
        ],
        'dirs': [],
    }
    
    modextravars = {
        'PSCOMVERSION': '%s' % local_realversion,
    }
    
    moduleclass = 'tools'