mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-16 19:50:50 +01:00

deleted: c/CASTEP/CASTEP-25.12-foss-2023b.eb new file: c/CASTEP/CASTEP-25.12-intel-2024a.eb new file: n/NCCL/NCCL-2.21.5-GCCcore-14.2.0-CUDA-12.8.0.eb modified: n/NVHPC/NVHPC-24.9-CUDA-12.6.0.eb new file: n/NVHPC/NVHPC-25.3-CUDA-12.8.0.eb new file: o/OpenMPI/OpenMPI-5.0.7-25.3-CUDA-12.8.0.eb new file: o/OpenMPI/OpenMPI-5.0.7-GCC-14.2.0.eb new file: u/UCC-CUDA/UCC-CUDA-1.3.0-GCCcore-14.2.0-CUDA-12.8.0.eb deleted: u/UCC/UCC-1.3.0-GCCcore-14.2.0.eb new file: v/VASP/VASP-6.5.1-NVHPC-24.3-CUDA-12.3.0-adjust-makefile.patch new file: v/VASP/VASP-6.5.1-NVHPC-24.3-CUDA-12.3.0.eb new file: v/VASP/VASP-6.5.1-intel-2024a.eb new file: v/VASP/VASP-6.5.1-intel-hdf5.patch
94 lines
3.0 KiB
Plaintext
94 lines
3.0 KiB
Plaintext
# IT4Innovations
|
|
# LK 2025
|
|
|
|
name = 'OpenMPI'
|
|
version = '5.0.7'
|
|
|
|
homepage = 'https://www.open-mpi.org/'
|
|
description = """The Open MPI Project is an open source MPI-3 implementation."""
|
|
|
|
toolchain = {'name': 'NVHPC', 'version': '25.3-CUDA-12.8.0'}
|
|
|
|
source_urls = ['https://www.open-mpi.org/software/ompi/v%(version_major_minor)s/downloads']
|
|
sources = [SOURCELOWER_TAR_BZ2]
|
|
patches = [
|
|
('OpenMPI-5.0.7_fix-sshmem-build-failure.patch'),
|
|
]
|
|
checksums = [
|
|
{'openmpi-5.0.7.tar.bz2': '119f2009936a403334d0df3c0d74d5595a32d99497f9b1d41e90019fee2fc2dd'},
|
|
{'OpenMPI-5.0.7_fix-sshmem-build-failure.patch':
|
|
'7382a5bbe44c6eff9ab05c8f315a8911d529749655126d4375e44e809bfedec7'},
|
|
]
|
|
|
|
builddependencies = [
|
|
('pkgconf', '2.3.0'),
|
|
('Autotools', '20240712'),
|
|
]
|
|
|
|
dependencies = [
|
|
('CUDA', '12.8.0', '', True),
|
|
('zlib', '1.3.1'),
|
|
('hwloc', '2.11.2'),
|
|
('libevent', '2.1.12'),
|
|
('UCX', '1.18.0'),
|
|
('UCX-CUDA', '1.18.0', '-CUDA-%(cudaver)s'),
|
|
('libfabric', '2.0.0'),
|
|
('PMIx', '5.0.6'),
|
|
('UCC', '1.3.0'),
|
|
# ('UCC-CUDA', '1.3.0', '-CUDA-%(cudaver)s'),
|
|
('PRRTE', '3.0.8'),
|
|
]
|
|
|
|
# CUDA related patches and custom configure option can be removed if CUDA support isn't wanted.
|
|
configopts = '--with-cuda=/usr/local/cuda '
|
|
configopts += ' CC=pgcc CXX=pgc++ FC=pgfortran'
|
|
configopts += ' CXXFLAGS="-fPIC"'
|
|
|
|
# IT4I-specific settings
|
|
#
|
|
#configopts += '--enable-shared '
|
|
configopts += ' --enable-mpi-thread-multiple'
|
|
configopts += ' --with-verbs'
|
|
configopts += ' --enable-mpirun-prefix-by-default'
|
|
configopts += ' --with-hwloc=$EBROOTHWLOC' # hwloc support
|
|
configopts += ' --with-slurm' # Enable slurm
|
|
configopts += ' --with-ucx=$EBROOTUCX'
|
|
|
|
import os
|
|
if os.environ.get("CLUSTERNAME") in ["BARBORA"]:
|
|
modextravars = {'OMPI_MCA_btl_openib_if_include': 'mlx5_0',
|
|
'OMPI_MCA_btl_tcp_if_include': '10.33.4.0/24',
|
|
'OMPI_MCA_orte_base_help_aggregate': '0',
|
|
'SLURM_MPI_TYPE': 'pmix_v4',
|
|
}
|
|
elif os.environ.get("CLUSTERNAME") in ["KAROLINA"]:
|
|
modextravars = {'OMPI_MCA_btl_openib_if_include': 'mlx5_0',
|
|
'OMPI_MCA_orte_base_help_aggregate': '0',
|
|
'SLURM_MPI_TYPE': 'pmix_v4',
|
|
}
|
|
else:
|
|
modextravars = {'OMPI_MCA_btl_openib_if_include': 'mlx4_0',
|
|
'OMPI_MCA_oob_tcp_if_include': '10.0.0.0/8',
|
|
'SLURM_MPI_TYPE': 'pmix_v4',
|
|
}
|
|
|
|
osdependencies = [('libibverbs-dev', 'libibverbs-devel', 'rdma-core-devel')]
|
|
|
|
postinstallcmds = [
|
|
'echo "# By default, for Open MPI 4.0 and later, infiniband ports on a device are not used by default." >> %(installdir)s/etc/openmpi-mca-params.conf',
|
|
'echo "btl_openib_allow_ib = true" >> %(installdir)s/etc/openmpi-mca-params.conf',
|
|
]
|
|
|
|
local_libs = ["mpi_mpifh", "mpi", "ompitrace", "open-pal", "open-rte"]
|
|
|
|
sanity_check_paths = {
|
|
'files': [
|
|
"bin/%s" %
|
|
binfile for binfile in [
|
|
"ompi_info", "opal_wrapper" ]] + [
|
|
"include/%s.h" %
|
|
x for x in [
|
|
"mpi-ext", "mpif-config", "mpif", "mpi", "mpi_portable_platform"]], 'dirs': [], }
|
|
|
|
moduleclass = 'mpi'
|