forked from easybuilders/easybuild-easyconfigs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into 20240308101931_new_pr_QuantumESPRESSO67
- Loading branch information
Showing
1,022 changed files
with
56,068 additions
and
901 deletions.
There are no files selected for viewing
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
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,30 @@ | ||
easyblock = 'ConfigureMake' | ||
|
||
name = '4ti2' | ||
version = '1.6.10' | ||
|
||
homepage = 'https://4ti2.github.io/' | ||
description = """A software package for algebraic, geometric and combinatorial problems on linear spaces""" | ||
|
||
toolchain = {'name': 'GCC', 'version': '13.2.0'} | ||
|
||
github_account = '4ti2' | ||
source_urls = [GITHUB_SOURCE] | ||
sources = ['Release_%s.tar.gz' % '_'.join(version.split('.'))] | ||
checksums = ['2f1bce3203da65b651d68cbd0ace0f89a16d1f436cf5f24e22bc15ec22df936a'] | ||
|
||
dependencies = [ | ||
('GMP', '6.3.0'), | ||
('GLPK', '5.0'), | ||
] | ||
|
||
builddependencies = [('Autotools', '20220317')] | ||
|
||
preconfigopts = './autogen.sh && ' | ||
|
||
sanity_check_paths = { | ||
'files': ['bin/%s' % x for x in ['4ti2gmp', '4ti2int32', '4ti2int64']], | ||
'dirs': ['include/4ti2', 'lib', 'share'] | ||
} | ||
|
||
moduleclass = 'math' |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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,16 @@ | ||
name = 'AEDT' | ||
version = '2024R1' | ||
|
||
homepage = 'https://www.ansys.com/products/electronics' | ||
description = """The Ansys Electronics Desktop (AEDT) is a platform that enables | ||
true electronics system design. AEDT provides access to the Ansys gold-standard | ||
electromagnetics simulation solutions such as Ansys HFSS, Ansys Maxwell, Ansys Q3D | ||
Extractor, Ansys SIwave, and Ansys Icepak using electrical CAD (ECAD) and mechanical | ||
CAD (MCAD) workflows.""" | ||
|
||
toolchain = SYSTEM | ||
|
||
sources = ['ELECTRONICS_%(version)s_LINX64.tgz'] | ||
checksums = ['7b131adf981ebca1e2f4fe8e607e50323167b69e77180a0ab61b2759d57abca5'] | ||
|
||
moduleclass = 'phys' |
114 changes: 114 additions & 0 deletions
114
easybuild/easyconfigs/a/AMGX/AMGX-2.4.0-foss-2023a-CUDA-12.1.1.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,114 @@ | ||
easyblock = 'CMakeMake' | ||
|
||
name = 'AMGX' | ||
version = '2.4.0' | ||
versionsuffix = '-CUDA-%(cudaver)s' | ||
|
||
homepage = 'https://github.com/NVIDIA/AMGX' | ||
|
||
description = """Distributed multigrid linear solver library on GPU""" | ||
toolchain = {'name': 'foss', 'version': '2023a'} | ||
toolchainopts = {'openmp': True} | ||
|
||
github_account = 'NVIDIA' | ||
source_urls = [GITHUB_SOURCE] | ||
sources = ['v%(version)s.tar.gz'] | ||
patches = [ | ||
'AMGX-%(version)s_external-thrust.patch', | ||
'AMGX-%(version)s_fix-openmp-linking.patch', | ||
] | ||
checksums = [ | ||
{'v2.4.0.tar.gz': 'b030b8c2e58c4c9987444e5d28fd61e1c5dcd65d484a290d6a18ae0bc5c0e9db'}, | ||
{'AMGX-2.4.0_external-thrust.patch': '90e4be09615a26bd7ebce68ced63d9d3b52141f7b480e8cedb17b05003656e16'}, | ||
{'AMGX-2.4.0_fix-openmp-linking.patch': '10046d5d9fff48cb4902797525d43963855c4834f262bdc3c341bbc2cb1f6f76'}, | ||
] | ||
|
||
builddependencies = [ | ||
('CMake', '3.26.3'), | ||
] | ||
|
||
dependencies = [ | ||
('CUDA', '12.1.1', '', SYSTEM), | ||
('UCX-CUDA', '1.14.1', versionsuffix), | ||
('magma', '2.7.2', versionsuffix), | ||
('CCCL', '2.3.0', versionsuffix), | ||
] | ||
|
||
cuda_compute_capabilities = ['7.0', '8.0', '9.0'] # AMGX defaults for CUDA 12 | ||
|
||
configopts = '-DCUDA_ARCH="%(cuda_cc_cmake)s" ' | ||
|
||
# Can't run all tests (55 failing); many fail due to mixed precision not being supported | ||
# some fail due to missing external data files, many unknown issues | ||
# All tests can be attempted with "amgx_tests_launcher --all" | ||
local_tests = [ | ||
'AggregatesCoarseGeneratorTest', | ||
'AggregatesCoarseningFactor', | ||
'AggregatesDeterminism', | ||
'AggregatesDiagonalOutside', | ||
'AmgLevelsReuse', | ||
'CAPIFailure', | ||
'CAPIVersionCheck', | ||
'ClassicalStrengthAffinityTest', | ||
'ClassicalStrengthTest', | ||
'ConfigStringParsing', | ||
'CsrMultiplyTests_Poisson27_100_100', | ||
'CsrMultiplyTests_Poisson27_10_10', | ||
'CsrMultiplyTests_Poisson5_100_100', | ||
'CsrMultiplyTests_Poisson5_10_1', | ||
'CsrMultiplyTests_Poisson7_100_100', | ||
'CsrMultiplyTests_Poisson7_10_10', | ||
'CsrMultiplyTests_Poisson9_100_100', | ||
'CsrMultiplyTests_Poisson9_10_10', | ||
'CsrSparsityILU1Tests_Poisson27_100_100', | ||
'CsrSparsityILU1Tests_Poisson27_10_10', | ||
'CsrSparsityILU1Tests_Poisson5_100_100', | ||
'CsrSparsityILU1Tests_Poisson5_10_10', | ||
'CsrSparsityILU1Tests_Poisson7_100_100', | ||
'CsrSparsityILU1Tests_Poisson7_10_10', | ||
'CsrSparsityILU1Tests_Poisson9_100_100', | ||
'CsrSparsityILU1Tests_Poisson9_10_10', | ||
'CsrSparsityTests_Poisson27_100_100', | ||
'CsrSparsityTests_Poisson27_10_10', | ||
'CsrSparsityTests_Poisson5_100_100', | ||
'CsrSparsityTests_Poisson5_10_10', | ||
'CsrSparsityTests_Poisson7_100_100', | ||
'CsrSparsityTests_Poisson7_10_10', | ||
'CsrSparsityTests_Poisson9_100_100', | ||
'CsrSparsityTests_Poisson9_10_10', | ||
'DenseLUSolverTest_Factorization_Id_256', | ||
'DenseLUSolverTest_Factorization_Id_32', | ||
'DenseLUSolverTest_Solve_Id_256', | ||
'DenseLUSolverTest_Solve_Id_32', | ||
'DenseLUSolverTest_Solve_Poisson3D', | ||
'FactoriesTest', | ||
'FGMRESConvergencePoisson', | ||
'GenericSpMVTest', | ||
'IDRConvergencePoisson', | ||
'IDRmsyncConvergencePoisson', | ||
'LargeMatricesSupport', | ||
'LowDegDeterminism', | ||
'MatrixTests', | ||
'MatrixVectorMultiplyTests', | ||
'MinMaxColoringTest', | ||
'Nested_AMG_equivalence', | ||
'NestedSolvers', | ||
'NormTests', | ||
'ObjectDestructionSequence', | ||
'PermuteTests', | ||
'RandomMatrix', | ||
'SmootherBlockPoissonTest', | ||
'TemplateConfigTest', | ||
'TemplateTest', | ||
'truncateCountTest', | ||
'VectorTests', | ||
] | ||
|
||
runtest = "amgx_tests_launcher && src/amgx_tests_launcher " + ' '.join(local_tests) | ||
|
||
sanity_check_paths = { | ||
'files': ['include/amgx_c.h', 'lib/libamgx.a', 'lib/libamgxsh.%s' % SHLIB_EXT], | ||
'dirs': [], | ||
} | ||
|
||
moduleclass = 'lib' |
13 changes: 13 additions & 0 deletions
13
easybuild/easyconfigs/a/AMGX/AMGX-2.4.0_external-thrust.patch
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,13 @@ | ||
Forces AMGX to use external dependencies, avoiding needing the git submodule | ||
the entire (deprecated) thrust library and all its dependencies. | ||
author: [email protected] | ||
--- CMakeLists.txt.orig 2024-03-30 01:54:34.469780980 +0100 | ||
+++ CMakeLists.txt 2024-03-30 01:54:46.491884432 +0100 | ||
@@ -251,7 +251,6 @@ | ||
ENDIF() | ||
|
||
# We depend on a specific version of thrust now so include the submodule | ||
-add_subdirectory("thrust") | ||
find_package(Thrust REQUIRED CONFIG) | ||
thrust_create_target(Thrust) | ||
|
15 changes: 15 additions & 0 deletions
15
easybuild/easyconfigs/a/AMGX/AMGX-2.4.0_fix-openmp-linking.patch
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,15 @@ | ||
Adds missing link option necessary for openmp linking. | ||
The target_link_libraries used for amgx are not sufficient as CMake haven't | ||
sorted this out yet, thus manually adding the flag for GCC. | ||
author: [email protected] | ||
--- CMakeLists.txt.orig 2024-03-30 03:27:22.354168764 +0100 | ||
+++ CMakeLists.txt 2024-03-30 03:28:00.397486779 +0100 | ||
@@ -291,6 +291,8 @@ | ||
ELSE (WIN32) | ||
target_link_libraries(amgx CUDA::cublas CUDA::cusparse CUDA::cusolver CUDA::nvToolsExt m pthread) | ||
target_link_libraries(amgxsh CUDA::cublas CUDA::cusparse CUDA::cusolver CUDA::nvToolsExt m pthread) | ||
+ target_link_options(amgx INTERFACE "-fopenmp") | ||
+ target_link_options(amgxsh INTERFACE "-fopenmp") | ||
ENDIF(WIN32) | ||
|
||
if(MPI_FOUND) |
Oops, something went wrong.