Commit Graph

574 Commits

Author SHA1 Message Date
Axel Kohlmeyer 178ca78dd9 add TODO comment for experimental and thus currently undocumented CMake option 2019-10-07 18:57:28 +02:00
Christoph Junghans 3f0d1cb270 cmake: LMP_KOKKOS define is always needed 2019-09-24 13:15:48 -06:00
Christoph Junghans d7a8792916 cmake: allow to build against an external libkokkos 2019-09-19 14:26:07 -06:00
Axel Kohlmeyer 2ea11b3195
implement test for C++11 and document it 2019-09-18 15:50:26 -04:00
Axel Kohlmeyer d62ef0df82
add omitted cmake entries for recent KOKKOS package changes 2019-09-13 12:26:07 -04:00
Axel Kohlmeyer 92c77a2b37
Merge pull request #1634 from junghans/kim-api-version
cmake: add version check for kim-api
2019-09-05 13:59:46 -04:00
Richard Berger 364ccf6361 Fix typo 2019-09-04 16:26:03 -04:00
Richard Berger 09937c9941 Add missing npair style for KOKKOS when using CMake 2019-08-22 18:36:36 -04:00
Ryan S. Elliott 5cee51204c Adjust warnings for default kim download behavior settings 2019-08-17 12:04:00 -05:00
Ryan S. Elliott 3a4e6c0dfd Revert "Update FindKIM-API.cmake"
This reverts commit 2f531d0dab.
2019-08-17 11:40:13 -05:00
Christoph Junghans 2f531d0dab
Update FindKIM-API.cmake 2019-08-16 12:05:20 -06:00
Christoph Junghans 379fa22147 FindKIM-API.cmake: address Ryan's comments 2019-08-16 10:30:09 -06:00
Ryan S. Elliott 42711245a2 bump kim-api to 2.1.3 2019-08-16 10:08:23 -06:00
Christoph Junghans cd77f71e99 cmake: add version check for kim-api 2019-08-15 12:56:15 -06:00
Christoph Junghans edbd525bcb cmake: install chain.x as well 2019-08-14 17:16:43 -06:00
Axel Kohlmeyer 3ef93d6e1b
cannot forced enable FFMpeg and gzip on windows yet. 2019-08-05 16:59:18 -04:00
Axel Kohlmeyer 16bf916dd0
Merge pull request #1616 from akohlmey/fixes-for-stable
Collected small fixes for stable release
2019-08-05 16:48:50 -04:00
Richard Berger f2757eaf41 Mention LAMMPS_LIB_SUFFIX in docs 2019-08-05 14:00:56 -04:00
Axel Kohlmeyer 096c225594
Merge pull request #1613 from rbberger/cmake_docs_update
Update CMake documentation
2019-08-04 18:32:11 -04:00
Axel Kohlmeyer 58d27403f1
CMake tweaks to improve building LAMMPS for windows with mingw on Linux 2019-08-04 18:28:26 -04:00
Axel Kohlmeyer 5b3423c60e
tweaks for Linux to Windows cross-compilation 2019-08-03 11:16:14 -04:00
Richard Berger eb7fa1b6cb Update CMake documentation 2019-08-02 17:04:59 -04:00
Axel Kohlmeyer 5b4b418289
use check_language() instead of enable_language() to get fortran compiler name 2019-08-01 18:24:14 -04:00
Axel Kohlmeyer 8df7f51470
Merge branch 'master' into timeout-for-replica 2019-08-01 16:56:49 -04:00
Axel Kohlmeyer f9e34825f0
workaround for xcode oddity with compiling voro++ 2019-08-01 16:42:52 -04:00
Axel Kohlmeyer bc79412203
list(TRANSFORM ...) is not portable to older versions of cmake. work around it. 2019-07-30 22:54:02 -04:00
Axel Kohlmeyer 528ec75f88
special case for MacOSX not needed 2019-07-30 16:38:40 -04:00
Axel Kohlmeyer f5bf86b32d
more improvements to CMake build for USER-PLUMED on MacOSX
default to shared linkage on MacOSX to avoid linker issues from
configure/cmake library detection differences

link/depend on GSL and LAPACK explicitly only for static linkage
2019-07-30 16:27:00 -04:00
Axel Kohlmeyer 2d93a713e2
Merge branch 'master' into collected-small-changes 2019-07-30 14:14:11 -04:00
Axel Kohlmeyer 7ab7691c51
update PLUMED support to version 2.5.2 2019-07-30 05:57:57 -04:00
Ryan S. Elliott c9f3f99ee8 Update to kim-api-2.1.2 2019-07-29 21:48:12 -05:00
Axel Kohlmeyer 6833d6def6
Merge branch 'master' into kim-simulator-models
# Resolved Conflicts:
#	src/KIM/kim_query.cpp
#	src/KIM/pair_kim.cpp
2019-07-29 20:43:10 -04:00
Axel Kohlmeyer 96e0b03ede
.frc files only need to be installed if msi2lmp is built 2019-07-29 13:38:38 -04:00
Axel Kohlmeyer 5307558727
need to install some base C++ headers for C++ library use 2019-07-29 13:34:04 -04:00
Ryan S. Elliott 010cb0edf3 Add warning to cmake if PKG_KIM=ON but DOWNLOAD_KIM not set & KIM is not found
This can be a scenario where the user has KIM installed but does not have the
environment setup correctly to be found.  The config. step should provide some
warning of this.  Otherwise, it is easy to miss the fact that KIM is being
downloaded and built.
2019-07-26 11:10:54 -05:00
Axel Kohlmeyer 0bb9df76c2
correct shell profile variables to point to the installation directory 2019-07-26 09:58:18 -04:00
Axel Kohlmeyer e8d891c0dd
simplify installation of data folders and make it consistent
fixes #1586
2019-07-26 06:06:03 -04:00
Ryan S. Elliott ca291f1015 Update to kim-api-2.1.1 2019-07-25 11:47:56 -05:00
Axel Kohlmeyer 6ee38d4887
use ${CMAKE_SHARED_LIBRARY_SUFFIX) for better portability 2019-07-24 16:02:36 -04:00
Axel Kohlmeyer 24d9c537c0
only search for LAPACK when building in static mode and when it is not needed for something else 2019-07-24 16:01:46 -04:00
Ryan S. Elliott 03d26f6f6f Merge branch 'master' into kim-simulator-models 2019-07-21 13:59:48 -05:00
Axel Kohlmeyer bcf600d781
let CMake configuration default to Release with debug settings
this way we can more easily get detailed stack traces from people compiling with CMake
2019-07-17 15:47:28 -04:00
Axel Kohlmeyer 06275b03c0
refactor FFT handling in CMake module for KSPACE.
This also improves the FFT info output in the PPPM styles
2019-07-17 15:46:39 -04:00
Ryan S. Elliott 354f4d19fd Update to kim-api-2.1.0 release 2019-07-16 22:11:23 -05:00
Axel Kohlmeyer 41e8cf3d69
Merge branch 'master' into kim-simulator-models
# Conflicts:
#	src/input.cpp
2019-07-02 01:15:29 -04:00
Ellad Tadmor 483353a017 Merge remote-tracking branch 'lammps/master' into kim-simulator-models 2019-06-24 15:35:06 -05:00
Axel Kohlmeyer f8f8e441b9
add missing cmake package module 2019-06-19 07:06:54 -04:00
Axel Kohlmeyer 995b6b31a2
flag a couple more packages that contain sub-builds of downloaded code 2019-06-17 16:05:54 -04:00
Axel Kohlmeyer f4f4a7c850
adapt for Ninja build tool, which cannot handle sub-builds and fortran
so builds of downloaded libraries are not supported right now
2019-06-17 14:24:51 -04:00
Axel Kohlmeyer 5fc3081a55
make building tools (msi2lmp, chain.x) an option, which is off by default 2019-06-17 14:23:30 -04:00