Search Criteria
Package Details: gromacs 2025.4-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/gromacs.git (read-only, click to copy) |
|---|---|
| Package Base: | gromacs |
| Description: | A versatile package to perform molecular dynamics, i.e. simulate the Newtonian equations of motion for systems with hundreds to millions of particles. |
| Upstream URL: | http://www.gromacs.org/ |
| Keywords: | chemistry science simulations |
| Licenses: | LGPL-2.1-only |
| Submitter: | xyproto |
| Maintainer: | hseara (vedranmiletic) |
| Last Packager: | hseara |
| Votes: | 24 |
| Popularity: | 0.005228 |
| First Submitted: | 2011-12-14 17:03 (UTC) |
| Last Updated: | 2026-02-10 08:38 (UTC) |
Dependencies (12)
- fftw (fftw-amdAUR)
- gcc14-libsAUR
- hwloc
- lapack (aocl-libflame-aoccAUR, atlas-lapackAUR, blas-aocl-gccAUR, blas-aocl-aoccAUR, blas-mklAUR, openblas-lapackAUR, blas-openblas-gitAUR, aocl-libflameAUR, lapack-gitAUR, blas-openblas)
- muparser
- tinyxml2 (tinyxml2-gitAUR)
- zlib (zlib-gitAUR, zlib-ng-compat-gitAUR, zlib-ng-compat)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- gcc14AUR (make)
- ninja (ninja-gitAUR, ninja-memAUR, ninja-noemacs-gitAUR, ninja-kitwareAUR, ninja-fuchsia-gitAUR) (make)
- cuda (cuda11.1AUR, cuda-12.2AUR, cuda12.0AUR, cuda11.4AUR, cuda-12.5AUR, cuda-12.9AUR, cuda-pascalAUR, cuda-12.8AUR) (optional) – Nvidia GPU support
- perl (perl-gitAUR) (optional) – needed for demux.pl and xplor2gmx.pl
Latest Comments
1 2 3 4 5 6 .. 9 Next › Last »
pjohansson commented on 2026-01-23 12:11 (UTC) (edited on 2026-01-23 12:11 (UTC) by pjohansson)
Propose to add
hdf5as a dependency for 2026.0, which ships with experimental support for a trajectory file format based on it. Should be picked up automatically by CMake without further configuration.hseara commented on 2025-08-29 12:28 (UTC)
When compiling gromacs with cuda,please ensure to flatten your compilation options in
/etc/makepackage.conf:This will fail, put instead:
vedranmiletic commented on 2025-02-13 07:39 (UTC)
@keyres: done, this is a good practice regardless.
keyres commented on 2025-01-27 08:39 (UTC)
I'd suggest adding a dependency to muparser, and building with
-DGMX_USE_MUPARSER=EXTERNAL, otherwise there are needless conflicts with other packages.hseara commented on 2024-11-16 16:23 (UTC) (edited on 2024-11-16 16:27 (UTC) by hseara)
Hi all, I have again problems compiling with cuda. I think it is still connected to compiling with gcc13. If I disable of linking time optimizations (
!lto) I can successfully compile:I can also run the executables without the issues described in the comments below. Could someone confirm that this is not only a problem with my setup and the proposed solution is universal?
These are my makepkg.conf flags:
vedranmiletic commented on 2024-09-25 05:35 (UTC)
@e-kwsm You are right. I will push an update soon.
e-kwsm commented on 2024-08-21 19:07 (UTC)
Here the command is malformed.
Sophon96 commented on 2024-08-17 20:43 (UTC)
I was able to get the assertion failure to go away just by not defining _GLIBCXX_ASSERTIONS (while keeping _FORTIFY_SOURCE=3).
JBauer commented on 2023-10-23 12:21 (UTC)
Addendum: $CXXFLAGS also needs to be reset:
JBauer commented on 2023-10-23 07:59 (UTC)
@dalima
I think you were lucky. I still got the same error when using CC=/opt/cuda/bin/gcc and CXX=/opt/bin/g++.
This isn't really surprising since those are actually just symlinks to /usr/bin/gcc-12 and /usr/bin/g++-12. Did you use makepkg or did you build the software by hand?
@hseara
The source of the problem seems to be in the default CFLAGS used by makepkg found in /etc/makepkg.conf. They are
I was able to make the core dump go away by changing -D_FORTIFY_SOURCE=2 to -D_FORTIFY_SOURCE=1. The documentation for this macro says that level 2 introduces some run-time memory checks which might cause some otherwise well-behaved programs to fail; level 1 only does compile time checking.
I was able to get the package to build and run without the error by adding the following to the PKGBUILD just after the CC and CXX lines:
(I dropped -march=x86-64 because the FFT library wouldn't compile properly with it. -mtune=native and -O3 resulted in a small performance boost during testing.)
1 2 3 4 5 6 .. 9 Next › Last »