Hi xpi,
Here's the build section I'm using, which works
build() {
cd $srcdir/$pkgname-$pkgver/lib/meam
make -f Makefile.gfortran
cd $srcdir/$pkgname-$pkgver/src
patch -Np0 < ../../fftw3.patch
# add whatever package you need in here.
make yes-user-sph
make yes-meam
make mpi || return 1
}
Simply adding the line 'make yes-meam' after the comment doesn't work because this library isn't compiled unless you explicitly tell it to, which I did in the first two lines of this section. I'm using gfortran as my compiler
Search Criteria
Package Details: lammps 20250722-7
Package Actions
| Git Clone URL: | https://aur.archlinux.org/lammps.git (read-only, click to copy) |
|---|---|
| Package Base: | lammps |
| Description: | Public development project of the LAMMPS MD software package |
| Upstream URL: | https://lammps.org |
| Keywords: | physics simulation |
| Licenses: | GPL |
| Conflicts: | lammps-git |
| Provides: | lammps |
| Submitter: | gucong |
| Maintainer: | yuhldr |
| Last Packager: | yuhldr |
| Votes: | 10 |
| Popularity: | 0.000000 |
| First Submitted: | 2013-04-05 23:32 (UTC) |
| Last Updated: | 2026-04-19 22:55 (UTC) |
Dependencies (10)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-amd-full-gitAUR, librempeg-gitAUR, ffmpeg-whisper-gitAUR, ffmpeg-gitAUR, ffmpeg-full-gitAUR, ffmpeg-fullAUR, ffmpeg-full-llvmAUR, ffmpeg-libfdk_aacAUR, ffmpeg-obsAUR, ffmpeg-headlessAUR, ffmpeg-whisperAUR, ffmpeg-cuda-fullAUR)
- fftw (fftw-amdAUR)
- libpng (libpng-gitAUR, libpng-apngAUR)
- openmpi (openmpi-gitAUR)
- python
- cmake (cmake3AUR, cmake-gitAUR) (make)
- python-build (make)
- python-pip (make)
- clang (llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR) (optional)
- python-mpi4py (python-mpi4py-intelAUR) (optional)
Required by (0)
Sources (1)
Latest Comments
« First ‹ Previous 1 2 3
kmmcd commented on 2015-12-09 19:19 (UTC)
xpt commented on 2015-12-09 05:51 (UTC)
Hi!, I don't know what i have to do. Please give me more details of what you did kmmcd.
kmmcd commented on 2015-12-02 20:11 (UTC)
Hi, thanks for packaging. I just build with meam support, but the makefile in the src/pkgname-pkgver/src/meam (called by the lammps makefile) needs to be manually edited to find the fortran compiler library. I am not yet good with PKGBUILD scripts but I will try to make a patch when I am done with this simulation project.
I edited manually after the failed build and built again with a makepkg -e
Also, md5sum needs to be updated as well
ennorie commented on 2013-07-03 11:42 (UTC)
oh, I see source update.
ennorie commented on 2013-07-03 11:34 (UTC)
Hi, md5 sum mismatch for lammps.tar.gz
Pinned Comments
physkets commented on 2020-04-15 06:03 (UTC) (edited on 2020-04-15 06:03 (UTC) by physkets)
The comments here are only for issues with the AUR package and the PKGBUILD.
For problems with LAMMPS (including installation/compilation), you could try asking in the ##lammps IRC channel at freenode.net
https://lammps.sandia.gov/irc.html