-
Notifications
You must be signed in to change notification settings - Fork 782
{numlib}[foss/2024a] PETSc v3.22.0, ParMETIS v4.0.3, SuperLU_DIST v9.0.0 #21697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
+119
−0
Closed
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
f46f5c4
Add PETSc and deps
maxim-masterov 78c2939
Add SuiteSparse without METIS
maxim-masterov 291669a
Remove redundant easyconfig
maxim-masterov 521e729
Change home page for ParMETIS
maxim-masterov a1d5d2c
Add comments to the MUMPS patch
maxim-masterov d39143b
Remove redundant comment
maxim-masterov e872288
Update mpi4py
maxim-masterov 3202b03
Delete easybuild/easyconfigs/s/SuiteSparse/SuiteSparse-7.8.2-foss-202…
maxim-masterov b268306
Merge branch 'develop' of https://github.com/easybuilders/easybuild-e…
22aa05b
Change parallel into max_parallel, since parallel keyword is deprecated
9a599a1
Fix multi-variate dependencies issue, now that other PRs have been me…
f789062
Remove patches for 5.7.3, since 5.7.2 is the main one used in this to…
b5c3a6d
Merge branch 'develop' of https://github.com/easybuilders/easybuild-e…
boegel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,45 @@ | ||
| ## | ||
| # Author: Robert Mijakovic <robert.mijakovic@lxp.lu> | ||
| # Author: Jasper Grimm (UoY) | ||
| ## | ||
| name = 'PETSc' | ||
| version = '3.22.0' | ||
|
|
||
| homepage = 'https://www.mcs.anl.gov/petsc' | ||
| description = """PETSc, pronounced PET-see (the S is silent), is a suite of data structures and routines for the | ||
| scalable (parallel) solution of scientific applications modeled by partial differential equations.""" | ||
|
|
||
| toolchain = {'name': 'foss', 'version': '2024a'} | ||
| toolchainopts = {'openmp': True, 'usempi': True, 'pic': True} | ||
|
|
||
| source_urls = [ | ||
| 'https://web.cels.anl.gov/projects/petsc/download/release-snapshots', | ||
| ] | ||
| sources = [SOURCELOWER_TAR_GZ] | ||
| checksums = ['2c03f7c0f7ad2649240d4989355cf7fb7f211b75156cd7d424e1d9dd7dfb290b'] | ||
|
|
||
| builddependencies = [('CMake', '3.29.3')] | ||
|
|
||
| dependencies = [ | ||
| ('Python', '3.12.3'), | ||
| ('SciPy-bundle', '2024.05'), | ||
| ('Boost', '1.85.0'), | ||
| ('METIS', '5.1.0'), | ||
| ('SCOTCH', '7.0.6'), | ||
| ('MUMPS', '5.7.2', '-metis'), | ||
| ('SuiteSparse', '7.10.1'), | ||
| ('Hypre', '2.32.0'), | ||
| ('ParMETIS', '4.0.3'), | ||
| ('SuperLU_DIST', '9.0.0'), | ||
| ('mpi4py', '4.0.1'), | ||
| ] | ||
|
|
||
| configopts = '--LIBS="$LIBS -lrt" --with-mpi4py=0 ' | ||
|
|
||
| shared_libs = 1 | ||
|
|
||
| # only required when building PETSc in a SLURM job environment | ||
| # configopts += '--with-batch=1 --known-mpi-shared-libraries=1 --known-64-bit-blas-indices=0 ' | ||
| # prebuildopts = "srun ./conftest-arch-linux2-c-opt && ./reconfigure-arch-linux2-c-opt.py && " | ||
|
|
||
| moduleclass = 'numlib' | ||
30 changes: 30 additions & 0 deletions
30
easybuild/easyconfigs/p/ParMETIS/ParMETIS-4.0.3-gompi-2024a.eb
This file contains hidden or 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 @@ | ||
| ## | ||
| # Author: Robert Mijakovic <robert.mijakovic@lxp.lu> | ||
| ## | ||
| name = 'ParMETIS' | ||
| version = '4.0.3' | ||
|
|
||
| homepage = 'https://github.com/KarypisLab/ParMETIS' | ||
| description = """ParMETIS is an MPI-based parallel library that implements a variety of algorithms for partitioning | ||
| unstructured graphs, meshes, and for computing fill-reducing orderings of sparse matrices. ParMETIS extends the | ||
| functionality provided by METIS and includes routines that are especially suited for parallel AMR computations and | ||
| large scale numerical simulations. The algorithms implemented in ParMETIS are based on the parallel multilevel k-way | ||
| graph-partitioning, adaptive repartitioning, and parallel multi-constrained partitioning schemes.""" | ||
|
|
||
| toolchain = {'name': 'gompi', 'version': '2024a'} | ||
| toolchainopts = {'usempi': True, 'pic': True} | ||
|
|
||
| source_urls = [ | ||
| 'http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis', | ||
| 'http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/OLD', | ||
| 'https://www.cp2k.org/static/downloads', | ||
| ] | ||
| sources = [SOURCELOWER_TAR_GZ] | ||
| checksums = ['f2d9a231b7cf97f1fee6e8c9663113ebf6c240d407d3c118c55b3633d6be6e5f'] | ||
|
|
||
| builddependencies = [('CMake', '3.29.3')] | ||
|
|
||
| # Build static and shared libraries | ||
| configopts = ['', '-DSHARED=1'] | ||
|
|
||
| moduleclass = 'math' |
44 changes: 44 additions & 0 deletions
44
easybuild/easyconfigs/s/SuperLU_DIST/SuperLU_DIST-9.0.0-foss-2024a.eb
This file contains hidden or 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,44 @@ | ||
| easyblock = "EB_SuperLU" | ||
|
|
||
| name = 'SuperLU_DIST' | ||
| version = '9.0.0' | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There's a |
||
|
|
||
| homepage = 'https://crd-legacy.lbl.gov/~xiaoye/SuperLU/' | ||
| description = """SuperLU is a general purpose library for the direct solution of large, sparse, nonsymmetric systems | ||
| of linear equations on high performance machines.""" | ||
|
|
||
| toolchain = {'name': 'foss', 'version': '2024a'} | ||
| toolchainopts = {'pic': True, 'openmp': True} | ||
|
|
||
| github_account = 'xiaoyeli' | ||
| source_urls = [GITHUB_LOWER_SOURCE] | ||
| sources = ["v%(version)s.tar.gz"] | ||
| checksums = ['aa43d33d4b1b0f5f7b5ad7685e9a6bc25088832c6c74d2ab8f75a2c9f4e9e955'] | ||
|
|
||
| builddependencies = [('CMake', '3.29.3')] | ||
|
|
||
| dependencies = [ | ||
| ('ParMETIS', '4.0.3'), | ||
| ] | ||
|
|
||
| configopts = '-DTPL_PARMETIS_INCLUDE_DIRS="${EBROOTPARMETIS}/include" ' | ||
| configopts += '-DTPL_PARMETIS_LIBRARIES="${EBROOTPARMETIS}/lib/libparmetis.a;${EBROOTPARMETIS}/lib/libmetis.a" ' | ||
|
|
||
| # Some tests run longer than default 1500s timeout on fairly big machine (36 cores). | ||
| # Include only first four tests, which should be fairly small to run | ||
| pretestopts = 'export ARGS="$ARGS --tests-regex pdtest_[21]x1_[13]_2_8_20_SP" && ' | ||
|
|
||
| # remove broken symlink to libsuperlu.a | ||
| postinstallcmds = [ | ||
| "if [ -f %(installdir)s/lib64/libsuperlu.a ]; then rm %(installdir)s/lib64/libsuperlu.a; fi", | ||
| # This second one can be removed when https://github.com/easybuilders/easybuild-framework/pull/4435 is merged | ||
| # (i.e. in EasyBuild 5.0) | ||
| "if [ -f %(installdir)s/lib/libsuperlu.a ]; then rm %(installdir)s/lib/libsuperlu.a; fi" | ||
| ] | ||
|
|
||
| sanity_check_paths = { | ||
| 'files': ['lib64/libsuperlu_dist.a'], | ||
| 'dirs': ['include'] | ||
| } | ||
|
|
||
| moduleclass = 'numlib' | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I realize this is an old PR, but I don't think we should be using a PETSc version that's older than what we're using in the
2023bgeneration, see:@maxim-masterov @casparvl Can we bump this version to latest (3.23.5)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably proceed with this PR instead:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@boegel I think it makes sense. It might be easier than updating this one.