Could you add _BUILD_GUI
or something similar that enables building of the Qt GUI (-DBUILD_LAMMPS_GUI=ON)?
Search Criteria
Package Details: lammps 20230802-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/lammps.git (read-only, click to copy) |
---|---|
Package Base: | lammps |
Description: | Large-scale Atomic/Molecular Massively Parallel Simulator |
Upstream URL: | https://lammps.sandia.gov/ |
Keywords: | physics simulation |
Licenses: | GPL |
Submitter: | gucong |
Maintainer: | fromtheeast710 |
Last Packager: | fromtheeast710 |
Votes: | 12 |
Popularity: | 0.089129 |
First Submitted: | 2013-04-05 23:32 (UTC) |
Last Updated: | 2023-08-13 17:50 (UTC) |
Dependencies (3)
- fftw (fftw-amdAUR)
- openmpi (openmpi-gitAUR, openmpi-ucxAUR)
- cmake (cmake-gitAUR) (make)
Required by (0)
Sources (1)
vedranmiletic commented on 2023-12-07 22:34 (UTC)
fromtheeast710 commented on 2022-11-08 12:14 (UTC)
I have decided to become the maintainer of this package. If you have any suggestions, feel free to post it.
sgsaenger commented on 2021-02-12 16:39 (UTC)
Fair enough, thanks anyways!
physkets commented on 2021-02-12 15:37 (UTC)
Hi @sgsaenger , I prefer not to make any changes to the default configuration, and decided that the bare setup is best. Since this is an AUR build-script, people are free to tack-on whatever options they like. You could add this package as an 'optional' dependency, and instruct users of your package to add those options. People installing stuff from the AUR should at-least be able to do that anyway.
sgsaenger commented on 2021-02-12 13:47 (UTC)
Hi, thanks for maintaining this package.
I have a package depending on lammps (vipster) and would welcome if this could depend on a global lammps installation.
Would you mind adding -DBUILD_SHARED_LIBS=ON -DLAMMPS_EXCEPTIONS=ON
to the build?
Also, are you aware of the cmake presets provided by lammps?
I guess you like to keep the unbiased nature of lammps, but it may be useful to at least include minimal.cmake
to cover most basic use cases (currently includes MOLECULE, KSPACE, RIGID and MANYBODY).
Thanks for considering!
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
physkets commented on 2020-04-15 06:00 (UTC)
@Scatola Put all your options above the comment. I should make that a bit more obvious in that statement.
Scatola commented on 2020-04-14 18:25 (UTC) (edited on 2020-04-14 18:27 (UTC) by Scatola)
@physkets First of all thanks for maintaining this package! I'm trying to build and install LAMMPS with additional packages I need (in particular MOLECULE, KSPACE, and RIGID), hence I'm using your PKGBUILD to do so.
I've modified the build function as follow (following what you have done):
build() {
cd "${pkgname}-stable_${_pkgver}/build"
cmake ../cmake \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_INSTALL_LIBDIR="lib" \
-DCMAKE_INSTALL_LIBEXECDIR="/usr/lib" \
"${_feature_args[@]}" \
# Add options for additional packages
-DPKG_MOLECULE=yes \
-DPKG_KSPACE=yes \
-DPKG_RIGID=yes \
make
But once I go with "makepkg -si" I get:
line 78: -DPKG_MOLECULE=yes: command not found
And the building is aborted. What is the problem?
AG_Caesar commented on 2019-03-20 09:59 (UTC)
@physkets tnak you for your work! It is working perfectly now!
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