Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions easybuild/easyconfigs/f/FFTW.MPI/FFTW.MPI-3.3.10-lmpich-2025b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name = 'FFTW.MPI'
version = '3.3.10'

homepage = 'https://www.fftw.org'
description = """FFTW is a C subroutine library for computing the discrete Fourier transform (DFT)
in one or more dimensions, of arbitrary input size, and of both real and complex data."""

toolchain = {'name': 'lmpich', 'version': '2025b'}
toolchainopts = {'pic': True}

source_urls = [homepage]
sources = ['fftw-%(version)s.tar.gz']
checksums = ['56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467']

dependencies = [('FFTW', '3.3.10')]

runtest = 'check'

moduleclass = 'numlib'
28 changes: 28 additions & 0 deletions easybuild/easyconfigs/l/lmpflf/lmpflf-2025b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
easyblock = 'Toolchain'

name = 'lmpflf'
version = '2025b'

homepage = 'https://docs.easybuild.io/common-toolchains/'
description = """LLVM based compiler toolchain, including MPICH for MPI support,
OpenBLAS (BLAS and LAPACK support), FFTW and ScaLAPACK."""

toolchain = SYSTEM

local_llvmver = '20.1.8'

# toolchain used to build foss dependencies
local_comp_mpi_tc = ('lmpich', version)

# we need LLVM and OpenMPI as explicit dependencies instead of lompi toolchain
# because of toolchain preparation functions
dependencies = [
('llvm-compilers', local_llvmver),
('MPICH', '4.3.2', '', ('llvm-compilers', local_llvmver)),
('FlexiBLAS', '3.4.5', '', ('llvm-compilers', local_llvmver)),
('FFTW', '3.3.10', '', ('llvm-compilers', local_llvmver)),
('FFTW.MPI', '3.3.10', '', local_comp_mpi_tc),
('ScaLAPACK', '2.2.2', '-fb', local_comp_mpi_tc),
]

moduleclass = 'toolchain'
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name = 'ScaLAPACK'
version = '2.2.2'
versionsuffix = '-fb'

homepage = 'https://www.netlib.org/scalapack/'
description = """The ScaLAPACK (or Scalable LAPACK) library includes a subset of LAPACK routines
redesigned for distributed memory MIMD parallel computers."""

toolchain = {'name': 'lmpich', 'version': '2025b'}
toolchainopts = {'extra_fflags': '-lpthread', 'openmp': True, 'pic': True, 'usempi': True}

source_urls = ['https://github.com/Reference-ScaLAPACK/scalapack/archive/refs/tags/']
sources = ['v%(version)s.tar.gz']
checksums = ['a2f0c9180a210bf7ffe126c9cb81099cf337da1a7120ddb4cbe4894eb7b7d022']

builddependencies = [
('CMake', '4.0.3'),
]

dependencies = [
('FlexiBLAS', '3.4.5'),
]

preconfigopts = 'export CFLAGS="$CFLAGS -std=gnu89" &&' # https://bugzilla.redhat.com/show_bug.cgi?id=2178710
# Other CMakeLists.txt in ScaLAPACK 2.2.2 are CMake 3.5+
preconfigopts += 'sed -i "s/VERSION 2.8/VERSION 3.5/" %(start_dir)s/BLACS/INSTALL/CMakeLists.txt && '

# Config Opts based on AOCL User Guide:
# https://developer.amd.com/wp-content/resources/AOCL_User%20Guide_2.2.pdf

configopts = '-DBUILD_SHARED_LIBS=ON '
configopts += '-DBLAS_LIBRARIES="$EBROOTFLEXIBLAS/lib/libflexiblas.%s" ' % SHLIB_EXT
configopts += '-DLAPACK_LIBRARIES="$EBROOTFLEXIBLAS/lib/libflexiblas.%s" ' % SHLIB_EXT

sanity_check_paths = {
'files': ['lib/libscalapack.%s' % SHLIB_EXT, 'lib64/libscalapack.%s' % SHLIB_EXT],
'dirs': ["lib", "lib64"],
}

moduleclass = 'numlib'
Loading