Skip to content

Commit

Permalink
Merge pull request #22024 from bedroge/20241213141055_new_pr_HeFFTe241
Browse files Browse the repository at this point in the history
{lib}[foss/2023b] HeFFTe v2.4.1 w/ CUDA 12.4.0
  • Loading branch information
branfosj authored Dec 14, 2024
2 parents d85beed + c13d720 commit 88ff246
Showing 1 changed file with 40 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
easyblock = 'CMakeMake'

name = 'HeFFTe'
version = '2.4.1'
versionsuffix = '-CUDA-%(cudaver)s'

homepage = 'https://icl.utk.edu/fft'
description = "Highly Efficient FFT for Exascale (HeFFTe) library"

toolchain = {'name': 'foss', 'version': '2023b'}

source_urls = ['https://github.com/icl-utk-edu/heffte/archive/']
sources = ['v%(version)s.tar.gz']
checksums = ['de2cf26df5d61baac7841525db3f393cb007f79612ac7534fd4757f154ba3e6c']

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

dependencies = [
('CUDA', '12.4.0', '', SYSTEM),
('UCX-CUDA', '1.15.0', versionsuffix),
]

build_shared_libs = True

configopts = "-DHeffte_ENABLE_FFTW=ON -DFFTW_ROOT=$EBROOTFFTW -DHeffte_ENABLE_MKL=OFF "
configopts += "-DHeffte_ENABLE_CUDA=ON -DCUDAToolkit_ROOT=$EBROOTCUDA -DHeffte_ENABLE_GPU_AWARE_MPI=ON"

# allow oversubscription of MPI ranks to cores, tests are hardcoded to use up to 12 MPI ranks
pretestopts = "export OMPI_MCA_rmaps_base_oversubscribe=true && "

runtest = 'test'

sanity_check_paths = {
'files': ['lib/libheffte.%s' % SHLIB_EXT],
'dirs': ['include', 'lib/cmake/Heffte', 'share/heffte/examples'],
}

moduleclass = 'lib'

0 comments on commit 88ff246

Please sign in to comment.