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 20240829-1
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: | 12 |
Popularity: | 0.000053 |
First Submitted: | 2013-04-05 23:32 (UTC) |
Last Updated: | 2024-12-05 08:34 (UTC) |
Dependencies (12)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-amd-full-gitAUR, ffmpeg-cudaAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-headlessAUR, ffmpeg-amd-fullAUR, ffmpeg-libfdk_aacAUR, ffmpeg-obsAUR, ffmpeg-ffplayoutAUR)
- fftw
- libpng (libpng-gitAUR, libpng-apngAUR)
- openmpi (openmpi-gitAUR)
- python (python37AUR, python311AUR, python310AUR)
- qt6-charts
- cmake (cmake-gitAUR) (make)
- python-build (make)
- python-pip (make)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR) (optional)
- python (python37AUR, python311AUR, python310AUR) (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