Skip to content
Snippets Groups Projects
Commit 6a70da20 authored by Anke Kreuzer's avatar Anke Kreuzer
Browse files

Added iompi toolchain (plus the missing OpenMPI-iccifort

parent 88faf2ee
Branches
No related tags found
No related merge requests found
easyblock = "Toolchain"
name = 'iompi'
version = '2020'
homepage = 'http://software.intel.com/en-us/intel-cluster-toolkit-compiler/'
description = """Intel C/C++ and Fortran compilers, alongside ParaStationMPI.
"""
site_contacts = 'sc@fz-juelich.de'
toolchain = SYSTEM
local_compver = '2020.2.254'
local_gccsuffix = '-GCC-9.3.0'
dependencies = [
('iccifort', '%s%s' % (local_compver, local_gccsuffix)),
('icc', local_compver, local_gccsuffix),
('ifort', local_compver, local_gccsuffix),
('OpenMPI', '4.1.0rc1', '', ('iccifort', '%s%s' % (local_compver, local_gccsuffix))),
]
moduleclass = 'toolchain'
easyblock = 'SystemBundle'
name = 'OpenMPI-settings'
version = '4.1'
versionsuffix = 'default'
homepage = ''
description = """This is a module to load the default OpenMPI configuration"""
site_contacts = 'd.alvarez@fz-juelich.de'
toolchain = SYSTEM
source_urls = []
sources = []
modextravars = {
'SLURM_MPI_TYPE': 'pspmix',
'UCX_TLS': 'rc_x,cuda_ipc,gdr_copy,self,sm,cuda_copy',
'OMPI_MCA_mca_base_component_show_load_errors': '1',
'OMPI_MCA_mpi_param_check': '1',
'OMPI_MCA_mpi_show_handle_leaks': '1',
'OMPI_MCA_mpi_warn_on_fork': '1',
'OMPI_MCA_btl': 'self,vader,openib',
'OMPI_MCA_btl_openib_allow_ib': '1',
'OMPI_MCA_bml_r2_show_unreach_errors': '0',
'OMPI_MCA_coll': '^ml',
'OMPI_MCA_coll_hcoll_enable': '1',
'OMPI_MCA_coll_hcoll_np': '0',
'OMPI_MCA_pml': 'ucx',
'OMPI_MCA_osc': '^rdma',
'OMPI_MCA_opal_abort_print_stack': '1',
'OMPI_MCA_opal_set_max_sys_limits': '1',
'OMPI_MCA_opal_event_include': 'epoll',
}
moduleclass = 'system'
easyblock = 'ConfigureMake'
name = 'OpenMPI'
version = '4.1.0rc1'
homepage = 'http://www.open-mpi.org/'
description = """The Open MPI Project is an open source MPI-3 implementation."""
site_contacts = 'sc@fz-juelich.de'
toolchain = {'name': 'iccifort', 'version': '2020.2.254-GCC-9.3.0'}
source_urls = ['http://www.open-mpi.org/software/ompi/v%(version_major_minor)s/downloads']
sources = [SOURCELOWER_TAR_GZ]
osdependencies = [
# needed for --with-verbs
('libibverbs-dev', 'libibverbs-devel', 'rdma-core-devel'),
# needed for --with-pmix
('pmix-devel'),
]
builddependencies = [
('Autotools', '20200321'),
]
dependencies = [
('zlib', '1.2.11'),
('hwloc', '2.2.0'),
('UCX', '1.8.1', '', SYSTEM),
('CUDA', '11.0', '', SYSTEM),
('libevent', '2.1.12'),
]
configopts = '--enable-shared '
configopts += '--with-hwloc=$EBROOTHWLOC ' # hwloc support
configopts += '--with-ucx=$EBROOTUCX '
configopts += '--with-verbs '
configopts += '--with-libevent=$EBROOTLIBEVENT '
configopts += '--without-orte '
configopts += '--without-psm2 '
configopts += '--disable-oshmem '
configopts += '--with-cuda=$EBROOTCUDA '
configopts += '--with-ime=/opt/ddn/ime '
configopts += '--with-gpfs '
# to enable SLURM integration (site-specific)
configopts += '--with-slurm --with-pmix=external --with-libevent=external --with-ompi-pmix-rte'
local_libs = ["mpi_mpifh", "mpi", "ompitrace", "open-pal", "open-rte"]
sanity_check_paths = {
'files': ["bin/%s" % local_binfile for local_binfile in ["ompi_info", "opal_wrapper"]] +
["lib/lib%s.%s" % (local_libfile, SHLIB_EXT) for local_libfile in local_libs] +
["include/%s.h" % x for x in ["mpi-ext", "mpif-config", "mpif", "mpi", "mpi_portable_platform"]],
'dirs': [],
}
# Add a family for our naming scheme
modluafooter = '''
family("mpi")
add_property("arch","gpu")
if not ( isloaded("mpi-settings") ) then
load("mpi-settings")
end
'''
moduleclass = 'mpi'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment