mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-07 15:32:11 +01:00

new file: a/AOCC/AOCC-4.2.0-GCCcore-12.2.0.eb new file: a/AOCL/AOCL-4.2.0-CCcore-12.2.0.eb new file: a/ASE/ASE-3.22.1-gfbf-2023b.eb new file: a/apptainer/apptainer-1.3.1.eb modified: b/BEEF/BEEF-0.1.1-intel-2020a.eb modified: d/DFT-D4/DFT-D4-3.6.0-intel-2022b-Python-3.10.8.eb new file: d/DFT-D4/DFT-D4-3.6.0-intel-2023b-Python-3.11.5.eb new file: e/ELPA/ELPA-2023.11.001-intel-2023b.eb new file: f/FFTW.MPI/FFTW.MPI-3.3.10-NVHPC-24.1-CUDA-12.4.0.eb new file: f/FFTW.MPI/FFTW.MPI-3.3.10-NVHPC-24.3-CUDA-12.3.0.eb new file: f/FFTW/FFTW-3.3.10-NVHPC-24.1-CUDA-12.4.0.eb new file: f/FFTW/FFTW-3.3.10-NVHPC-24.3-CUDA-12.3.0.eb modified: f/FFTW/FFTW-3.3.8.eb new file: f/Forge/Forge-23.1.2.eb new file: f/ffnvcodec/ffnvcodec-11.1.5.2.eb new file: f/ffnvcodec/ffnvcodec-12.0.16.0.eb new file: g/GDRCopy/GDRCopy-2.4.1-GCCcore-12.2.0.eb modified: g/GROMACS/GROMACS-2024-foss-2022a-CUDA-12.0.0-v2.eb modified: g/GROMACS/GROMACS-4.5.5-ORCA-5.0.1-OpenMPI-4.1.1.eb modified: g/gettext/gettext-0.19.4.eb new file: h/HDF5/HDF5-1.14.0-iimpi-2022b.eb new file: h/HDF5/HDF5-1.14.3-NVHPC-24.1-CUDA-12.4.0.eb new file: h/HDF5/HDF5-1.14.3-NVHPC-24.3-CUDA-12.3.0.eb new file: h/HDF5/HDF5-1.14.3-iimpi-2023b.eb new file: i/impi/impi-2021.8.0-intel-compilers-2023.0.0.eb new file: l/libxc/libxc-5.2.3-GCC-11.3.0.eb new file: m/METIS/METIS-5.1.0-GCCcore-13.2.0.eb new file: n/NCCL/NCCL-2.21.5-GCCcore-12.2.0-CUDA-12.3.0.eb new file: n/NCCL/NCCL-2.21.5-GCCcore-12.2.0-CUDA-12.4.0.eb new file: n/NVHPC/NVHPC-24.1-CUDA-12.3.0.eb new file: n/NVHPC/NVHPC-24.1-CUDA-12.4.0.eb new file: n/NVHPC/NVHPC-24.3-CUDA-12.3.0.eb modified: n/ncurses/ncurses-6.1.eb new file: n/nvompi/nvompi-2024.1.eb new file: n/nvompi/nvompi-2024.3.eb modified: o/OpenMPI/OpenMPI-4.1.6-NVHPC-23.11-CUDA-12.2.0.eb new file: o/OpenMPI/OpenMPI-4.1.6-NVHPC-24.1-CUDA-12.4.0.eb new file: o/OpenMPI/OpenMPI-4.1.6-NVHPC-24.3-CUDA-12.3.0.eb deleted: o/OpenSSL/OpenSSL-1.0.2n.eb deleted: o/OpenSSL/OpenSSL-1.1-test.eb deleted: o/OpenSSL/OpenSSL-1.1.eb new file: p/Python/Python-3.11.5-GCCcore-13.2.0-TB2J.eb new file: p/Python/Python-3.11.5-GCCcore-13.2.0.eb new file: q/QD/QD-2.3.17-NVHPC-24.1-CUDA-12.4.0.eb new file: q/QD/QD-2.3.17-NVHPC-24.3-CUDA-12.3.0.eb new file: s/ScaLAPACK/ScaLAPACK-3.0-NVHPC-24.1-CUDA-12.4.0.eb new file: s/ScaLAPACK/ScaLAPACK-3.0-NVHPC-24.3-CUDA-12.3.0.eb new file: s/Siesta/Siesta-5.0.0-beta1-foss-2023b.eb new file: s/scikit-build-core/scikit-build-core-0.5.0-GCCcore-13.2.0.eb new file: s/spglib-python/spglib-python-2.1.0-gfbf-2023b.eb modified: s/squashfs-tools/squashfs-tools-4.3.eb deleted: t/TB2J/TB2J-7.1.1-Python-3.8.6-GCCcore-10.2.0.eb new file: u/UCC-CUDA/UCC-CUDA-1.3.0-GCCcore-12.2.0-CUDA-12.3.0.eb new file: u/UCC-CUDA/UCC-CUDA-1.3.0-GCCcore-12.2.0-CUDA-12.4.0.eb new file: u/UCC-CUDA/UCC-CUDA-1.3.0_cuda_12_mem_ops.patch new file: u/UCC-CUDA/UCC-CUDA-1.3.0_link_against_existing_UCC_libs.patch new file: u/UCC/UCC-1.3.0-GCCcore-12.2.0.eb modified: u/UCX-CUDA/UCX-CUDA-1.14.1-GCCcore-11.3.0-CUDA-12.2.0.eb modified: u/UCX-CUDA/UCX-CUDA-1.14.1-GCCcore-12.2.0-CUDA-12.2.0.eb new file: u/UCX-CUDA/UCX-CUDA-1.16.0-GCCcore-12.2.0-CUDA-12.3.0.eb new file: u/UCX-CUDA/UCX-CUDA-1.16.0-GCCcore-12.2.0-CUDA-12.4.0.eb modified: u/UCX/UCX-1.14.1-GCCcore-11.3.0.eb modified: u/UCX/UCX-1.14.1-GCCcore-12.2.0.eb modified: u/UCX/UCX-1.14.1-GCCcore-12.3.0-test.eb new file: u/UCX/UCX-1.15.0-GCCcore-13.2.0.eb new file: u/UCX/UCX-1.16.0-GCCcore-12.2.0.eb modified: v/VASP/VASP-5.4.1-24Jun15-intel-2020b.eb modified: v/VASP/VASP-5.4.4-intel-2020a-mkl=sequential-BEEF-karolina.eb modified: v/VASP/VASP-5.4.4-intel-2020a-mkl=sequential-VASPsol-karolina.eb modified: v/VASP/VASP-5.4.4-intel-2020a-mkl=sequential-karolina.eb modified: v/VASP/VASP-5.4.4-intel-2020a-mkl=sequential-vtst-karolina.eb new file: v/VASP/VASP-5.4.4-intel-2022b.eb modified: v/VASP/VASP-6.3.0-intel-2020b-mkl=sequential-vtst-karolina.eb new file: v/VASP/VASP-6.4.2-NVHPC-23.11-CUDA-12.4.0.eb new file: v/VASP/VASP-6.4.2-NVHPC-24.3-CUDA-12.3.0.eb new file: v/VASP/VASP-6.4.2-intel-2022b.eb new file: v/VASP/VASP-6.4.2-intel-2023b-DFT-D4.eb new file: v/VSCode/VSCode-1.85.0.eb new file: w/Wannier90/Wannier90-3.1.0-intel-2023b-serial.eb new file: x/XALT/XALT-3.0.2.eb modified: x/XZ/XZ-5.2.5-GCCcore-9.3.0.eb
118 lines
4.0 KiB
Plaintext
118 lines
4.0 KiB
Plaintext
# IT4Innovations
|
|
# LK 2024
|
|
|
|
name = 'OpenMPI'
|
|
version = '4.1.6'
|
|
|
|
homepage = 'https://www.open-mpi.org/'
|
|
description = """The Open MPI Project is an open source MPI-3 implementation."""
|
|
|
|
toolchain = {'name': 'NVHPC', 'version': '24.3-CUDA-12.3.0'}
|
|
|
|
source_urls = ['https://www.open-mpi.org/software/ompi/v%(version_major_minor)s/downloads']
|
|
sources = [SOURCELOWER_TAR_BZ2]
|
|
patches = [
|
|
'OpenMPI-4.1.1_build-with-internal-cuda-header.patch',
|
|
'OpenMPI-4.1.1_opal-datatype-cuda-performance.patch',
|
|
]
|
|
checksums = [
|
|
'f740994485516deb63b5311af122c265179f5328a0d857a567b85db00b11e415', # openmpi-4.1.6.tar.bz2
|
|
# OpenMPI-4.1.1_build-with-internal-cuda-header.patch
|
|
'63eac52736bdf7644c480362440a7f1f0ae7c7cae47b7565f5635c41793f8c83',
|
|
# OpenMPI-4.1.1_opal-datatype-cuda-performance.patch
|
|
'b767c7166cf0b32906132d58de5439c735193c9fd09ec3c5c11db8d5fa68750e',
|
|
]
|
|
|
|
builddependencies = [
|
|
('pkgconf', '1.9.3'),
|
|
('Perl', '5.36.0'),
|
|
('Autotools', '20220317'),
|
|
]
|
|
|
|
dependencies = [
|
|
('zlib', '1.2.12'),
|
|
('CUDA', '12.3.0', '', True),
|
|
('hwloc', '2.8.0'),
|
|
('libevent', '2.1.12'),
|
|
('UCX', '1.16.0'),
|
|
('UCX-CUDA', '1.16.0', '-CUDA-%(cudaver)s'),
|
|
('libfabric', '1.16.1'),
|
|
('PMIx', '4.2.2'),
|
|
('UCC', '1.3.0'),
|
|
('UCC-CUDA', '1.3.0', '-CUDA-%(cudaver)s'),
|
|
]
|
|
|
|
# Update configure to include changes from the "internal-cuda" patch
|
|
# by running a subset of autogen.pl sufficient to achieve this
|
|
# without doing the full, long-running regeneration.
|
|
preconfigopts = ' && '.join([
|
|
'cd config',
|
|
'autom4te --language=m4sh opal_get_version.m4sh -o opal_get_version.sh',
|
|
'cd ..',
|
|
'autoconf',
|
|
'autoheader',
|
|
'aclocal',
|
|
'automake',
|
|
''
|
|
])
|
|
|
|
# CUDA related patches and custom configure option can be removed if CUDA support isn't wanted.
|
|
configopts = ' --with-cuda=internal'
|
|
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 += ' --enable-mpi-cxx' # Enable building the C++ MPI bindings
|
|
configopts += ' --with-ucx=$EBROOTUCX'
|
|
|
|
import os
|
|
if os.environ.get("CLUSTERNAME") in ["BARBORA"]:
|
|
configopts += ' --with-knem=/opt/knem-1.1.4.90mlnx1'
|
|
if os.environ.get("CLUSTERNAME") in ["KAROLINA"]:
|
|
configopts += ' --with-knem=/opt/knem-1.1.4.90mlnx3'
|
|
|
|
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", "orterun"]] + [
|
|
"lib/lib%s.%s" %
|
|
(libfile, SHLIB_EXT) for libfile in local_libs] + [
|
|
"include/%s.h" %
|
|
x for x in [
|
|
"mpi-ext", "mpif-config", "mpif", "mpi", "mpi_portable_platform"]], 'dirs': [], }
|
|
|
|
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',
|
|
}
|
|
|
|
moduleclass = 'mpi'
|