Search Criteria
Package Details: gromacs 2022.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/ |
Licenses: | LGPL |
Submitter: | xyproto |
Maintainer: | hseara |
Last Packager: | hseara |
Votes: | 23 |
Popularity: | 0.34 |
First Submitted: | 2011-12-14 17:03 (UTC) |
Last Updated: | 2023-01-29 14:56 (UTC) |
Dependencies (12)
- gcc11
- hwloc
- lapack (openblas-lapack-git, lapack-tmg, lapack-git, armpl, atlas-lapack, openblas-lapack-static, openblas-lapack)
- zlib (zlib-static, zlib-git, zlib-ng-compat-git, zlib-ng-compat)
- cmake (cmake-git) (make)
- hwloc (make)
- libxml2 (libxml2-git) (make)
- cuda (cuda-11.0, cuda11.1) (optional) – Nvidia GPU support
- opencl-mesa (mesa-minimal+-git, opencl-mesa-steamos, mesa-d3d12, opencl-mesa-panfork-git, mesa-git, mesa-rusticl-git, mesa-git-adreno, rusticl-mesa-minimal-git) (optional) – OpenCL support for AMD GPU
- opencl-nvidia (opencl-nvidia-410xx, opencl-nvidia-340xx, opencl-nvidia-440xx, opencl-nvidia-430xx, opencl-nvidia-merged, opencl-510xx-nvidia, opencl-nvidia-470xx, opencl-nvidia-390xx, opencl-nvidia-beta, opencl-nvidia-vulkan) (optional) – OpenCL support for Nvidia GPU
- perl (perl-git) (optional) – needed for demux.pl and xplor2gmx.pl
- vmd (vmd-bin, vmd, vmd-src) (optional) – Accesibility to other trajectory formats (ONLY WHEN COMPILING)
Latest Comments
1 2 3 4 5 6 .. 8 Next › Last »
hseara commented on 2022-10-31 09:01 (UTC)
Details Description:
For quite some time now, when using gromacs with cuda in archlinux results in a core dump.
If I install the package using
spack
the package runs without problems. This means that the problem is somehow in cuda/gcc11 in arch does anyone have a clue what is going on?Additional info: * package version(s)
gromacs@2022.2 cuda: 11.8 (it also happened in previous 11.7 versions) gcc@11.3.0 * config and/or log files etc.
Steps to reproduce:
vedranmiletic commented on 2022-01-31 11:19 (UTC)
Could you update to version 2021.5? On my machine, 2021.4 fails the GammaDistributionTest.Output test in double precision, 2021.5 passes all tests.
E3LDDfrK commented on 2020-03-24 08:27 (UTC) (edited on 2020-05-04 14:58 (UTC) by E3LDDfrK)
@gardotd426 What changes did you make? Did you check this https://bbs.archlinux.org/viewtopic.php?pid=1870450#p1870450 ? I think adding options=(!buildflags) to PKGBUILD is the easiest way to solve this.
I think some people ignore that sometime people install the gromacs package to analyze the data without actually running the simulation on their computers. (In the sense that I use my old laptop that doesn't support AVX2 to analyze/manipulate the trajectories. Pretty sure I'm not alone in this.)
gardotd426 commented on 2020-03-23 08:13 (UTC)
This fails to build, even after changing /etc/makepkg.conf as suggested below. /proc/cpuinfo shows that my cpu does support avx2...
cat /proc/cpuinfo:
hseara commented on 2019-12-13 11:47 (UTC)
@brisvag Please recompile gromacs. hwloc has been updated from v1 to v2 which brakes gromacs installation. Recompiling gromacs solves the issue.
brisvag commented on 2019-12-10 14:09 (UTC) (edited on 2019-12-10 14:10 (UTC) by brisvag)
When I try to use
gmx dump
on a.tpr
, I get the following error:Indeed, the library is missing. Simply adding a symlink to
libhwloc.so
adding.5
at the end solves the issue. Shouldn't this be handled by the installation?E3LDDfrK commented on 2019-10-24 17:05 (UTC) (edited on 2019-10-25 23:27 (UTC) by E3LDDfrK)
EDIT 3: A solution here: https://bbs.archlinux.org/viewtopic.php?pid=1870411#p1870411
I have the same error as @mefistofeles.
EDIT 2: And @malinke too. It's partly because my CPU doesn't support AVX2, I think. There's a double "-march=core-avx2 -march=native" when compiling fftw. It fails because my "-march=native" doesn't actually support AVX2.
I've also changed my /etc/makepkg.conf as @hseara suggested.
It's a Thinkpad X220 with Sandy Bridge, so I used -DGMX_SIMD=AVX_256 on my PKGBUILD. At least in my case, computer doesn't support avx2, so it failed to compile fftw. Not sure what to do here, it seems fftw is automatically compiled with "--enable-avx2". I'll try again later without DGMX_BUILD_OWN_FFTW=ON on the PKGBUILD.
EDIT 1: So it builds successfully when I replaced DGMX_BUILD_OWN_FFTW=ON with -DGMX_FFT_LIBRARY=fftw3 on the PKGBUILD. Not sure if using pacman-installed fftw with GROMACS will lead to problems later on.
For what it's worth, like @mefistofeles, I also tried to manually build the package using cmake and DGMX_BUILD_OWN_FFTW=ON, and it worked. I wonder what the problem is. From what I can tell, gromacs-2019.4/src/external/build-fftw/CMakeLists.txt says it will build fftw with only either just "--enable-sse2" or the whole "--enable-sse2;--enable-avx;--enable-avx2". The "--enable-avx" always comes with "--enable-avx2". But it worked this time, despite my CPU not supporting AVX 2. When running cmake, it also outputted:
Just for comparison. This line from manual install succeeds:
This line from aur using pikaur fails:
So possibly the double "-march" thing makes it fail? Just "-march=core-avx2" vs "-march=core-avx2 -march=native". Because my Sandy Bridge ("-march=native" part) doesn't actually support AVX2.
hseara commented on 2019-06-13 14:46 (UTC)
@mefistofeles, either your cpu does not support AVX2 (check in /proc/cpuinfo) or your /etc/makepkg.conf is not set to native architecture:
PS: -fstack-protector-strong in makepkg.conf is not needed
mefistofeles commented on 2019-05-21 20:42 (UTC) (edited on 2019-05-21 21:27 (UTC) by mefistofeles)
For some reason using the following PKGBUILD fails compiling, check https://paste.rs/IqF
The error is in https://paste.rs/6W0
Specifically the part that says error: #error "compiling simd-avx2.h without avx2 support" when compiling FFTW.
The funny thing is that when I manually compile using "cmake .. -DGMX_GPU=ON -DGMX_SIMD=AVX2_256 -DGMX_BUILD_OWN_FFTW=ON" it works fine. Don't really know what is causing the error. Help appreciated.
BTW, using the -fstack-protector-strong in makepkg.conf didn't work. as suggested by @hseara
hseara commented on 2019-04-15 20:13 (UTC) (edited on 2019-11-08 08:50 (UTC) by hseara)
No longer needed in gromacs 2019.4
Installation notes
With cmake update to v3.14.x, gromacs is no longer capable of identifying correctly the CPU and therefore the appropriated SIMD level for compilation. If you want to compile gromacs with SIMD while the problem is not solved add the following option to PKGBUILD:
The KEYWORD depends on the SIMD support provided by your CPU.
Usage notes
1 2 3 4 5 6 .. 8 Next › Last »