From 7f76a9e587464f08df63d482abd8354d63251387 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bob=20Dr=C3=B6ge?= Date: Fri, 13 Dec 2024 14:10:56 +0100 Subject: [PATCH] adding easyconfigs: HeFFTe-2.4.1-foss-2023b-CUDA-12.4.0.eb --- .../HeFFTe-2.4.1-foss-2023b-CUDA-12.4.0.eb | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 easybuild/easyconfigs/h/HeFFTe/HeFFTe-2.4.1-foss-2023b-CUDA-12.4.0.eb diff --git a/easybuild/easyconfigs/h/HeFFTe/HeFFTe-2.4.1-foss-2023b-CUDA-12.4.0.eb b/easybuild/easyconfigs/h/HeFFTe/HeFFTe-2.4.1-foss-2023b-CUDA-12.4.0.eb new file mode 100644 index 00000000000..5d397feb581 --- /dev/null +++ b/easybuild/easyconfigs/h/HeFFTe/HeFFTe-2.4.1-foss-2023b-CUDA-12.4.0.eb @@ -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 -DCUDA_TOOLKIT_ROOT_DIR=$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'