Skip to content

Commit

Permalink
Merge pull request #16724 from Micket/20221123184901_new_pr_NVHPC227
Browse files Browse the repository at this point in the history
{numlib}[NVHPC/22.7-CUDA-11.7.0] NVHPC v22.7, FFTW v3.3.10, OpenBLAS v0.3.20, ...
  • Loading branch information
boegel authored Jan 5, 2023
2 parents 23c8ce8 + aa703c1 commit c803ac3
Show file tree
Hide file tree
Showing 13 changed files with 7,174 additions and 0 deletions.
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

0 comments on commit c803ac3

Please sign in to comment.