99c1b935b5
convert OpenCL loader build from ExternalProject_add to ExternalCMakeProject
2022-02-11 23:49:08 -05:00
a5fe8b0581
update OpenCL loader to latest OpenCL spec sources
2022-02-11 22:01:04 -05:00
c32dca2009
avoid failures with "most" presets
2022-02-10 20:11:27 -05:00
4d5bb08ead
make searching for python interpreter and development version futureproof and more consistent
2022-02-10 14:41:25 -05:00
e4b5245f4d
Merge pull request #3116 from akohlmey/build-kokkos-staticlib
...
Build KOKKOS package updates for Python module and Windows compatibility
2022-02-07 16:36:46 -05:00
9bfd6375eb
avoid triggering bogus make file target errors
2022-02-03 18:00:34 -05:00
6bfb7a5521
require OpenMP 4 or later for KOKKOS with OpenMP enabled
2022-02-03 16:07:33 -05:00
f550460ecd
Update CMakeSettings.json
2022-02-03 15:44:55 -05:00
b7b7a74c52
when building KOKKOS as part of the LAMMPS build, always build static libs
2022-02-03 12:23:25 -05:00
76c57d54c1
Merge pull request #3102 from akohlmey/mpi-stubs-simplify
...
Porting unit tests to run natively on Windows
2022-01-31 21:37:48 -05:00
af8d1bd768
fix typo
2022-01-30 09:00:39 -05:00
4b22962ec1
roll back MPI target alias change one more time. must wait until CMake 3.11 or later is minimum
2022-01-30 08:47:46 -05:00
f8a4006da7
must promote imported target to global scope in order to be able to alias it
2022-01-30 08:32:21 -05:00
dc0e013297
create alias target MPI::ANY_CXX to be used instead of MPI::MPI_CXX
...
With this alias it is possible to transparently refer to either the
real imported MPI library or to the MPI stub library. this further
reduced the need for if statements related to MPI. Some uses of
MPI::MPI_CXX remain but they are all in branches of the script code
where BUILD_MPI is enabled and thus the imported target will be present.
2022-01-30 07:48:16 -05:00
a8632d5cb6
always have the lib prefix on the LAMMPS library (windows may drop it on the .dll file)
2022-01-30 05:11:32 -05:00
75d0a5098f
use -Og for Debug config for better warnings and debug experience
2022-01-29 17:06:30 -05:00
bd4814a51e
don't cache OUTPUT_DIRECTORY variable settings but set them every time
2022-01-29 16:37:40 -05:00
d6fa3a08cd
roll back library aliasing changes as that negatively interferes with unit tests
2022-01-28 21:54:32 -05:00
5c0c3df035
make use of CMAKE_(RUNTIME|LIBRARY)_OUTPUT_DIRECTORY
2022-01-28 21:10:30 -05:00
17cb137f3e
Merge branch 'master' into OptimizedDynamicalMatrix
2022-01-28 11:08:31 -08:00
db4e69bf38
further simplification by making STUBS an interface and alias to MPI::MPI_CXX
2022-01-28 01:00:37 -05:00
d391ae845b
convert static class members with git info to functions to simplify auto-export on Windows
2022-01-27 17:20:05 -05:00
62ff23abe7
simplify building serial executables by incorporating the STUBS/mpi.o object in LAMMPS library
2022-01-27 15:59:48 -05:00
053d915fc4
drop -ffast-math for HIP also when compiling with CMake
2021-12-27 20:14:30 -05:00
88f8e41702
PHONON package is now only a soft dependency on KSPACE
2021-12-18 18:22:47 -05:00
40c0925cb4
Updated and added third order kokkos
2021-12-14 14:25:49 -08:00
5b57d662c3
Merge branch 'develop' into OptimizedDynamicalMatrix
2021-12-14 08:35:58 -05:00
6e05aff3bf
Update CMake utility function get_lammps_version()
...
With the introduction of LAMMPS_UPDATE, version.h is no longer a single line
file. With this change the CMake utility will only process the LAMMPS_VERSION
line. Fixes issue #3038
2021-12-11 15:08:40 -05:00
abd3df0c5a
Merge pull request #3040 from akohlmey/collected-small-changes
...
Collected small changes and bugfixes
2021-12-10 15:51:13 -05:00
4d4c04dd7c
include support for building with plumed 2.7.3 and 2.6.5
2021-12-01 10:56:23 -05:00
420c1097a9
Update Kokkos CMake file
2021-11-30 11:02:11 -07:00
377b5b4ab3
Merge pull request #3020 from akohlmey/collected-small-changes
...
Collected small changes and fixes
2021-11-17 14:00:13 -05:00
367c9dff05
Compilable kokkos dynamical matrix command
2021-11-09 15:21:39 -08:00
461a7afc22
remove PYTHON from "most" cmake preset.
...
The PYTHON package cannot be compiled without the python development
support being installed, so it must not be in the "most" preset
2021-11-04 15:24:41 -04:00
7c80911f66
whitespace
2021-11-03 15:23:29 -04:00
37dfc9e141
simplify by not trying to use fetchcontent but do all steps manually
...
as it turns out, fetchcontent is calling external_project internally at
some point which to avoid is why this function was started in the first place
2021-11-03 14:43:18 -04:00
b95e12bb6c
add additional function argument where we can supply our own CMakeLists.txt file
2021-11-03 11:50:39 -04:00
6479116419
Merge branch 'develop' into multi-config-support
2021-11-02 16:39:12 -04:00
c5d6a310d8
Fixed cmake build script for QUIP in cases where MATH_LINKOPTS variable not set
2021-10-29 11:32:03 +02:00
153e77864d
Use LAMMPS_THIRDPARTY_URL variable for EIGEN3_URL
2021-10-27 16:45:08 -04:00
c9da75ef85
Merge pull request #2968 from yury-lysogorskiy/feature/ml-pace-multispecies
...
Add multi-species support to ML-PACE package
2021-10-27 16:04:15 -04:00
c0c45be357
bugfix Fedora CMake compilation
2021-10-27 17:19:18 +02:00
9895d8436a
update/clean downloading the ML-PACE/v.2021.10.25.tar.gz
2021-10-27 16:03:44 +02:00
c911cd52bb
whitespace
2021-10-27 08:24:07 -04:00
11ee3759df
use consistent formatting
2021-10-27 08:22:18 -04:00
3d9e4638a7
Don't use -restrict for icpx
2021-10-26 13:08:03 -04:00
4551bf4bc0
yaml-cpp-pace: bugfix in CMakeLists.txt
2021-10-26 10:19:11 +02:00
52d99700ec
Download and compile modified YAML-cpp 0.6.3 in namespace YAML_PACE
2021-10-25 17:34:08 +02:00
8a9117d511
add configurations for intel compilers
2021-10-22 16:32:16 -04:00
6f14cbf167
Small adjustments for compiling within VS
2021-10-22 16:32:02 -04:00