-
Notifications
You must be signed in to change notification settings - Fork 706
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22024 from bedroge/20241213141055_new_pr_HeFFTe241
{lib}[foss/2023b] HeFFTe v2.4.1 w/ CUDA 12.4.0
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
easybuild/easyconfigs/h/HeFFTe/HeFFTe-2.4.1-foss-2023b-CUDA-12.4.0.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |