-
Notifications
You must be signed in to change notification settings - Fork 773
{bio}[foss/2023b] GROMACS v2024.2 w/ CUDA 12.5.0 #20809
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
Open
boegel
wants to merge
11
commits into
easybuilders:develop
Choose a base branch
from
boegel:20240612230908_new_pr_GROMACS20242
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
d3d32a1
adding easyconfigs: GROMACS-2024.2-foss-2023b-CUDA-12.5.0.eb
boegel 8400034
Merge branch 'develop' into 20240612230908_new_pr_GROMACS20242
boegel f45673c
fix long line in GROMACS 2024.2 easyconfig
boegel 5dc1057
fix version of GROMACS tarball used for gmxapi extension in easyconfi…
boegel 6da26ec
replace scikit-build with scikit-build-core as build dependency for g…
boegel 387edbe
increase test timeout by factor 3 for GROMACS 2024.2
boegel 6e150b0
Merge branch 'develop' of https://github.com/easybuilders/easybuild-e…
boegel d5ce4b3
Merge branch 'develop' of https://github.com/easybuilders/easybuild-e…
Micket 8536291
Update easybuild/easyconfigs/g/GROMACS/GROMACS-2024.2-foss-2023b-CUDA…
Micket f1a55b5
Update easybuild/easyconfigs/g/GROMACS/GROMACS-2024.2-foss-2023b-CUDA…
Micket 51f44c5
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
85 changes: 85 additions & 0 deletions
85
easybuild/easyconfigs/g/GROMACS/GROMACS-2024.2-foss-2023b-CUDA-12.5.0.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,85 @@ | ||
| # This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild | ||
| # | ||
| # Copyright:: Copyright 2012-2016 University of Luxembourg / LCSB, Cyprus Institute / CaSToRC, | ||
| # Ghent University / The Francis Crick Institute | ||
| # Authors:: | ||
| # * Wiktor Jurkowski <[email protected]> | ||
| # * Fotis Georgatos <[email protected]> | ||
| # * George Tsouloupas <[email protected]> | ||
| # * Kenneth Hoste <[email protected]> | ||
| # * Adam Huffman <[email protected]> | ||
| # * Ake Sandgren <[email protected]> | ||
| # * J. Sassmannshausen <Crick HPC team> | ||
| # * Dugan Witherick <[email protected]> | ||
| # * Christoph Siegert <[email protected]> | ||
| # License:: MIT/GPL | ||
|
|
||
| name = 'GROMACS' | ||
| version = '2024.2' | ||
| versionsuffix = '-CUDA-%(cudaver)s' | ||
|
|
||
| homepage = 'https://www.gromacs.org' | ||
| description = """ | ||
| GROMACS is a versatile package to perform molecular dynamics, i.e. simulate the | ||
| Newtonian equations of motion for systems with hundreds to millions of | ||
| particles. | ||
|
|
||
| This is a GPU enabled build, containing both MPI and threadMPI binaries. | ||
|
|
||
| It also contains the gmxapi extension for the single precision MPI build. | ||
| """ | ||
|
|
||
| toolchain = {'name': 'foss', 'version': '2023b'} | ||
| toolchainopts = {'openmp': True, 'usempi': True} | ||
|
|
||
| source_urls = [ | ||
| 'https://ftp.gromacs.org/pub/gromacs/', | ||
| 'ftp://ftp.gromacs.org/pub/gromacs/', | ||
| ] | ||
| sources = [SOURCELOWER_TAR_GZ] | ||
| patches = [ | ||
| 'GROMACS-2023.1_set_omp_num_threads_env_for_ntomp_tests.patch', | ||
| 'GROMACS-2023.1_fix_tests_for_gmx_thread_mpi.patch', | ||
| ] | ||
| checksums = [ | ||
| {'gromacs-2024.2.tar.gz': '802a7e335f2e895770f57b159e4ec368ebb0ff2ce6daccf706c6e8025c36852b'}, | ||
| {'GROMACS-2023.1_set_omp_num_threads_env_for_ntomp_tests.patch': | ||
| '7f41bda16c9c2837624265dda4be252f655d1288ddc4486b1a2422af30d5d199'}, | ||
| {'GROMACS-2023.1_fix_tests_for_gmx_thread_mpi.patch': | ||
| '6df844bb3bbc51180446a3595c61a4ef195e5f975533a04cef76841aa763aec1'}, | ||
| ] | ||
|
|
||
| builddependencies = [ | ||
| ('CMake', '3.27.6'), | ||
| ('scikit-build-core', '0.9.3'), | ||
| ] | ||
|
|
||
| dependencies = [ | ||
| ('CUDA', '12.5.0', '', SYSTEM), | ||
| ('UCX-CUDA', '1.15.0', versionsuffix), | ||
| ('Python', '3.11.5'), | ||
| ('SciPy-bundle', '2023.11'), | ||
| ('networkx', '3.2.1'), | ||
| ('mpi4py', '3.1.5'), | ||
| ] | ||
|
|
||
| # be a bit more forgiving w.r.t. timeouts for GROMACS test suite, | ||
| # see also https://gitlab.com/gromacs/gromacs/-/issues/5062 | ||
| configopts = "-DGMX_TEST_TIMEOUT_FACTOR=3" | ||
|
|
||
| exts_defaultclass = 'PythonPackage' | ||
|
|
||
| exts_default_options = { | ||
| 'source_urls': [PYPI_SOURCE], | ||
| } | ||
|
|
||
| exts_list = [ | ||
| ('gmxapi', '0.4.2', { | ||
| 'preinstallopts': 'export CMAKE_ARGS="-Dgmxapi_ROOT=%(installdir)s ' + | ||
| '-C %(installdir)s/share/cmake/gromacs_mpi/gromacs-hints_mpi.cmake" && ', | ||
| 'sources': ['gromacs-%s.tar.gz' % version], | ||
| 'start_dir': 'python_packaging/gmxapi', | ||
| 'checksums': ['802a7e335f2e895770f57b159e4ec368ebb0ff2ce6daccf706c6e8025c36852b'], | ||
| }), | ||
| ] | ||
| moduleclass = 'bio' | ||
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 was recently looking into GROMACS 2024.2 as well, and was wondering if this patch is still required. https://gitlab.com/gromacs/gromacs/-/merge_requests/4093 may solve the same or at least similar issue. Looks like @akesandgren added this patch, so maybe he knows?
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.
GROMACS-2023.1_fix_tests_for_gmx_thread_mpi.patch should still be relevant as long as it passes patching.
Especially the "Don't drop relevant PYTHONPATH and LD_LIBRARY_PATH settings." part is vital.
I haven't looked at 2024.2 but I assume they haven't fixed those parts yet.
And GROMACS-2023.1_set_omp_num_threads_env_for_ntomp_tests.patch is just an extra precaution to keep OMMP_NUM_THREADS and --ntomp in sync.