Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvofbf/2022.07 toolchain, incl. NVHPC v22.7, FFTW v3.3.10, FlexiBLAS 3.0.4, OpenBLAS v0.3.20, ... #16724

Merged
merged 11 commits into from
Jan 5, 2023
19 changes: 19 additions & 0 deletions easybuild/easyconfigs/f/FFTW.MPI/FFTW.MPI-3.3.10-nvompi-2022.07.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': 'nvompi', 'version': '2022.07'}
toolchainopts = {'pic': True}

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

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

runtest = 'check'

moduleclass = 'numlib'
20 changes: 20 additions & 0 deletions easybuild/easyconfigs/f/FFTW/FFTW-3.3.10-NVHPC-22.7-CUDA-11.7.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name = 'FFTW'
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': 'NVHPC', 'version': '22.7-CUDA-11.7.0'}
toolchainopts = {'pic': True}

source_urls = [homepage]
sources = [SOURCELOWER_TAR_GZ]
checksums = ['56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467']

# Does not work with nvc
with_quad_prec = False

runtest = 'check'

moduleclass = 'numlib'
24 changes: 24 additions & 0 deletions easybuild/easyconfigs/f/FlexiBLAS/FlexiBLAS-3.0.4_fix-imkl.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
CMake-related fixes to use correct backend for MKL

Author: Bart Oldeman <[email protected]>
diff -ur flexiblas-3.0.4/src/CMakeLists.txt flexiblas-3.0.4.new/src/CMakeLists.txt
--- flexiblas-3.0.4/src/CMakeLists.txt 2020-10-22 09:07:49.000000000 +0000
+++ flexiblas-3.0.4.new/src/CMakeLists.txt 2021-09-28 17:28:59.862127651 +0000
@@ -331,7 +331,7 @@
INCLUDE(CheckFunctionExists)

# SET(BLA_STATIC TRUE)
-MACRO(BuildBackendBlas VENDOR BACKEND_CODE)
+MACRO(BuildBackendBlas VENDOR BACKEND_CODE_PARAM)
MESSAGE(STATUS "Build additional BLAS interface: ${VENDOR}")
MESSAGE(STATUS "-- Libs: ${${VENDOR}_LIBRARY}")
MESSAGE(STATUS "-- Linker Flags: ${${VENDOR}_LINKER_FLAGS}")
@@ -356,6 +356,8 @@
# Use the MKL Backend Code if it is MKL
IF(_MKL_VERSION)
SET(BACKEND_CODE backends/intel_mkl/backend.c)
+ ELSE()
+ SET(BACKEND_CODE ${BACKEND_CODE_PARAM})
ENDIF()

SET(CMAKE_REQUIRED_LIBRARIES ${__CMAKE_REQUIRED_LIBRARIES})
Loading