01bbb28418
Merge pull request #3135 from akohlmey/next_patch_release
...
Step version strings for the next patch release
2022-02-17 15:05:43 -05:00
7fe194e59e
Merge pull request #3136 from rbberger/collected-small-changes
...
Collected small changes
2022-02-17 13:20:51 -05:00
f3e14e7b00
Mark MolPairStyle:soft unstable
2022-02-17 12:58:30 -05:00
45b92e519d
Merge pull request #3125 from oywg11/ilp-for-tmds
...
Anisotropic Interlayer potential for TMDs and Metal Surfaces
2022-02-17 11:42:15 -05:00
d95f0b3cd5
Adjust epsilon in force-style test
2022-02-16 17:43:16 -05:00
793d76c546
Adjust epsilon in force-style tests
2022-02-16 17:40:34 -05:00
12eeaee8a4
Correct bug in PairHybridScaled::single
2022-02-16 13:48:10 -05:00
8b627f92f0
address spelling and achor issues, and integrate into style overview tables
2022-02-16 08:10:29 -05:00
78b123fa4d
apply new convention for virtual functions and disable single() functions (for now)
2022-02-16 06:50:26 -05:00
47bb5f5ccd
use a local std::map with initializer to have variant specific strings
2022-02-16 06:36:17 -05:00
e541f006eb
replace copies of files with symbolic links
2022-02-16 06:34:31 -05:00
08968cbdbf
apply clang-format
2022-02-16 06:14:19 -05:00
32cde04000
Merge branch 'develop' into ilp-for-tmds
2022-02-16 06:04:34 -05:00
6d2f4343d9
Merge pull request #3133 from stanmoore1/kk_error
...
Add error if using multiple threads with Kokkos Serial backend
2022-02-15 22:25:04 -05:00
a7939b582a
step version strings for the next patch release
2022-02-15 22:10:06 -05:00
2951eb32a4
Merge pull request #3134 from rbberger/collected-small-changes
...
Collected small changes
2022-02-15 22:05:48 -05:00
55703f9027
update class instantiation unit test for kokkos to adapt to thread availability
2022-02-15 21:54:21 -05:00
d4bbb31270
Improve error check
2022-02-15 16:04:23 -07:00
f53fbf09a6
Fix memory leak in FixBondReact
2022-02-15 15:51:48 -05:00
f3c055e637
Undo change that forces BUILD_SHARED_LIBS=off
2022-02-15 14:53:18 -05:00
d9e06e326a
Merge branch 'develop' of github.com:lammps/lammps into kk_error
2022-02-15 12:11:52 -07:00
c2d59d5d5e
Add error if using multiple threads with Kokkos Serial backend
2022-02-15 11:52:59 -07:00
e3222a4bd0
Merge pull request #3126 from Bibobu/EAM_alloy_python_script
...
Added Python version of Zhou04_create_v2.f in eam_database
2022-02-14 19:48:51 -05:00
618b3ec94f
Merge pull request #3131 from akohlmey/lammps-cxx-style
...
More general LAMMPS code design info for the Programmer guide section of the manual
2022-02-14 18:13:32 -05:00
9a200c9b79
small tweaks
2022-02-14 18:07:29 -05:00
c46dd3675a
add Cr parameters to python database file
2022-02-14 18:06:48 -05:00
b0c0251154
delete unwanted files
2022-02-14 18:06:24 -05:00
c65dbd338b
change create_eam.py so it can be called as a function from another script
2022-02-14 17:44:33 -05:00
702a2dd3f6
Merge pull request #3130 from akohlmey/iwyu-update
...
Update list of include statements based on the IWYU utility
2022-02-14 17:25:32 -05:00
5f47ff770c
Merge pull request #3127 from akohlmey/gpu-opencl-updates
...
Update compiling OpenCL loader lib
2022-02-14 16:10:53 -05:00
baf443766a
fix a few typos or mistyped words and explain some details better
2022-02-14 16:09:52 -05:00
f84790ba62
add a more specific example to explain how values are rejected and how atoi() fails
2022-02-14 15:52:33 -05:00
8431d72d75
Added a test directory to tools/eam_database
2022-02-14 21:29:51 +01:00
5366621947
Merge pull request #3129 from ndtrung81/sw-hybrid-gpu
...
Fixed a bug with sw/gpu neigh no when used with pair hybrid for systems with multiple atom types
2022-02-14 14:21:52 -05:00
f4ce0f0b1c
Merge pull request #3101 from rbberger/python_use_setuptools
...
Use setuptools instead of distutils in setup.py
2022-02-14 13:47:46 -05:00
37cd4ba2ea
spelling
2022-02-14 11:55:09 -05:00
1a436c5aa9
fix some broken links
2022-02-14 11:55:04 -05:00
fbf95c2cbc
add notes about file parsing
2022-02-14 11:54:50 -05:00
1a6b627fa0
add section about memory allocations
2022-02-14 11:54:37 -05:00
12f746046f
finalize {fmt} lib info
2022-02-14 08:45:55 -05:00
3bc91386a0
apply include statement updates suggested by running IWYU
2022-02-13 19:39:15 -05:00
1307371942
update/correct iwyu additional mappings
2022-02-13 18:20:12 -05:00
b42aebc197
silence compiler warnings
2022-02-13 18:19:50 -05:00
83beffbb9f
whitespace
2022-02-13 17:08:18 -05:00
810717bfe5
discuss stdio vs iostreams and fmtlib
2022-02-13 16:01:27 -05:00
1ab5b9d7fd
re-sort list of false poisitives alphabetically with "sort"
2022-02-13 16:01:26 -05:00
1c7e1faeff
add sections on inheritance, compositing, polymorphism
2022-02-13 16:01:14 -05:00
6887a16fa1
start add general code design doc.
2022-02-13 16:00:51 -05:00
193dea6327
Updated the comment to be precise on the case
2022-02-13 14:51:00 -06:00
159f107abd
Corrected the added comment
2022-02-13 11:16:01 -06:00
bae4e45978
Added a comment to the added check while looping over the neighbors of ghost atoms
2022-02-13 09:17:05 -06:00
9d518ee1e2
must ensure that BUILD_SHARED_LIBS retains its original value
2022-02-13 10:00:19 -05:00
55a500cf8a
Fixed bugs with in the kernel sw_three_end kernel
2022-02-13 00:42:26 -06:00
4eedfeb774
detect if LAMMPS library initialization failed and raise an exception
2022-02-12 22:43:18 -05:00
78d149f118
update to download improved loader sources that make installing optional
2022-02-12 13:21:10 -05:00
d85788305d
update manual
2022-02-12 10:37:09 -05:00
4343e8194c
update README file
2022-02-12 10:20:49 -05:00
096ea21dd9
correct potential file output header (must have 3 comment lines)
2022-02-12 10:14:09 -05:00
8808b11d26
must write out 3 lines of comment in fortran code. sync output style with python
2022-02-12 10:04:24 -05:00
2fdadcfeb6
include UNITS: metadata tag
2022-02-12 10:01:20 -05:00
0113346e54
apply some pylint recommendations
2022-02-12 10:01:01 -05:00
3cca41b72e
print help without arguments. clarify help message and argument names text
2022-02-12 09:38:05 -05:00
69d3b1ebf3
output files are now named .eam.alloy
2022-02-12 09:37:23 -05:00
0f5fbf1c42
update citation info format
2022-02-12 09:36:53 -05:00
06d4bb3faf
set date dynamically
2022-02-12 09:33:37 -05:00
e9b11e3673
Added Python version of Zhou04_create_v2.f: create_eam.py and eamDatabase.py in tools/eam_database
2022-02-12 12:42:54 +01:00
a77680ac7b
Merge branch 'develop' into python_use_setuptools
...
# Conflicts:
# cmake/CMakeLists.txt
2022-02-12 00:37:03 -05:00
99c1b935b5
convert OpenCL loader build from ExternalProject_add to ExternalCMakeProject
2022-02-11 23:49:08 -05:00
eb2fe7d982
correct inconsistent prototypes
2022-02-11 23:37:40 -05:00
75dc7125e6
Update doc of pair sw/mod
2022-02-12 06:12:12 +02:00
e5dec93a1e
Update doc of pair ilp/graphene/hbn
2022-02-12 06:09:29 +02:00
922b240678
Interlayer Potential for TMDs and Metal Surfaces
2022-02-12 06:05:11 +02:00
a5fe8b0581
update OpenCL loader to latest OpenCL spec sources
2022-02-11 22:01:04 -05:00
a17bdf5652
silence compiler warnings and avoid infinite recursion in aspherical pair styles
2022-02-11 21:06:16 -05:00
81587527fe
Merge pull request #3120 from rbberger/collected_small_changes
...
Collected small changes
2022-02-11 20:26:10 -05:00
de08307aba
Merge pull request #3124 from akohlmey/hide-factory-symbols
...
Reduce number of visible symbols in LAMMPS library by removing factory function templates from class definition
2022-02-11 20:23:52 -05:00
54f975ff52
Merge pull request #3123 from stanmoore1/reax_error
...
Remove incorrect error check in ReaxFF
2022-02-11 19:34:53 -05:00
df02598fc1
convert one more factory template
2022-02-11 18:38:36 -05:00
6a0e93a18a
convert more style_creators to use local static functions
2022-02-11 18:29:52 -05:00
5ab9b46b67
enable and apply clang-format
2022-02-11 18:04:46 -05:00
a4244eb7ff
apply simplification suggested by @rbberger
2022-02-11 17:57:30 -05:00
04cff0b47b
remove make factory function templates from class and make them static functions
2022-02-11 16:00:12 -05:00
a8dbb3a172
Remove incorrect error check in ReaxFF
2022-02-11 13:39:24 -07:00
ea94095bf6
Change email in docs
2022-02-11 12:51:47 -05:00
ecd072a286
address spelling issues
2022-02-11 09:03:59 -05:00
1f6c4089bd
remove some more dead code in CG-DNA package
2022-02-11 07:41:09 -05:00
d750ef4890
simplify
2022-02-10 20:39:36 -05:00
c32dca2009
avoid failures with "most" presets
2022-02-10 20:11:27 -05:00
4ea4bee30c
apply virtual and override keywords consistently
2022-02-10 16:55:35 -05:00
61ff5250ee
add extra communication of special neighbors when using angle constraints
2022-02-10 16:17:56 -05:00
e94854d54f
always initialize arrays with extra grid points for non-periodic to support switching with change_box
2022-02-10 15:57:41 -05:00
9b1a267d85
fix another memory grid deallocation bug. delete before number of levels changes
2022-02-10 15:32:07 -05:00
ab1e68eb42
fix memory access bug with changing box volume/grid
2022-02-10 14:41:25 -05:00
4d5bb08ead
make searching for python interpreter and development version futureproof and more consistent
2022-02-10 14:41:25 -05:00
60d03f34cc
update create.f with changes from NIST database
...
also add parameters for Cr and document in README file and change
the code to create output files with .eam.alloy extension
2022-02-10 14:41:25 -05:00
6366972ef4
remove dead code and reduce compiler warnings
...
# Conflicts:
# src/RIGID/fix_rigid_small.cpp
2022-02-10 14:41:09 -05:00
44ded1c1fe
Reorder fields init in IntelBuffer ctor
2022-02-10 14:19:51 -05:00
df00d2225a
Remove unused variable
2022-02-10 14:13:55 -05:00
75f32a60a5
Add missing curly braces
2022-02-10 14:13:43 -05:00
c2ef4425c6
Update doc/utils/check-styles.py
2022-02-10 12:02:23 -05:00
08b16f1f23
Prevent GTest and GMock from being installed
2022-02-10 11:27:32 -05:00
a17a45c761
Fix large number of sign-compare warnings
2022-02-10 11:19:13 -05:00
ce83ca1efd
Merge pull request #3117 from akohlmey/collected-small-changes
...
Collected small changes
2022-02-08 20:21:46 -05:00
861195130c
incorporate suggested changes to github action from @rbberger
2022-02-08 12:08:28 -05:00
75727ed5af
comment out minimal run test outside of CMake/CTest
2022-02-07 20:52:12 -05:00
8e2581042e
remove unused local variables
2022-02-07 20:30:36 -05:00
b01716472b
Merge branch 'develop' into collected-small-changes
2022-02-07 19:59:10 -05:00
b75c306543
Merge pull request #3035 from rbberger/kokkos_unittests
...
Add force style tests for Kokkos OpenMP
2022-02-07 19:57:09 -05:00
2445f85dde
Merge branch 'develop' into collected-small-changes
2022-02-07 17:08:03 -05:00
044ada9f2b
update googletest library to current snapshot
2022-02-07 16:46:32 -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
35a4c0f501
skip tests that fail with Kokkos+OpenMP
2022-02-07 16:15:32 -05:00
2dfeb96fda
Merge pull request #3115 from rbberger/pylammps_update
...
PyLammps update
2022-02-07 15:09:10 -05:00
093c54d8ed
update to use settings from upstream
2022-02-07 14:42:07 -05:00
a7084c8fdb
Merge remote-tracking branch 'origin/develop' into kokkos_unittests
2022-02-07 13:04:59 -05:00
2548c49876
use fmtlib for formatted output
2022-02-05 17:01:47 -05:00
8209ae9513
fix optional argument parsing bug
2022-02-05 17:01:13 -05:00
59def25eb6
tweak test epsilon for portability
2022-02-05 16:08:43 -05:00
d91c1ff1f0
Merge pull request #3110 from stanmoore1/dump_balance
...
Fix issue in new dump balance command
2022-02-05 15:56:17 -05:00
a2ff443838
Use utils::flush_buffers() in error.cpp and thermo.cpp
2022-02-04 18:00:47 -05:00
bae6526b5f
Add missing doc entry
2022-02-04 17:55:37 -05:00
50a7d4e7fc
Add utils::flush_buffers()
2022-02-04 17:53:36 -05:00
ea0f31c997
Update SWIG library interface
2022-02-04 17:43:17 -05:00
f45663bfc2
Simplify loop structure to fix issues
2022-02-04 11:45:28 -08:00
0ff3ee0227
Add and use lammps_flush_buffers() in Python interface
2022-02-04 10:42:22 -05:00
293d529ee9
Add lammps_flush_buffers() library function
2022-02-04 10:40:05 -05:00
c0bae49956
simplify with new API and address coverity scan warning
2022-02-04 07:28:59 -05:00
c0ee491f18
protect unconditional "#pragma GCC" with if defined(__GNUC__)
2022-02-03 19:47:52 -05:00
6edb50b405
Force Python version in GH MSVC test
2022-02-03 18:08:17 -05:00
9bfd6375eb
avoid triggering bogus make file target errors
2022-02-03 18:00:34 -05:00
7d0b4cc131
make portable to cross-compiler
2022-02-03 18:00:12 -05:00
8fbaaffd3e
remove incorrect scope
2022-02-03 17:16:20 -05:00
2137ad04fd
remove non-portable custom (and unused) profiling support code
2022-02-03 17:13:10 -05:00
a56922edc9
include PYTHON package in windows test build
2022-02-03 16:55:26 -05:00
75f389f70c
Enable PyLammps unit test, require NumPy
2022-02-03 16:24:43 -05:00
22efbaf977
Output Capture has to replace FD 1 to work properly in Jupyter
2022-02-03 16:24:43 -05:00
050ce421e9
PyLammps: alternative OutputCapture using tempfiles
2022-02-03 16:24:43 -05:00
f804ea89b9
skip force test requiring cp command
2022-02-03 16:13:07 -05:00
2a7823686d
use introspection to check for Kokkos::OpenMP only when it is enabled
2022-02-03 16:08:00 -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
36c1db820f
Add command styles to PyLammps auto-completion
2022-02-03 15:44:55 -05:00
41da32d7de
Use modernized LAMMPS Python interface instead of output parsing for Atom properties
2022-02-03 15:44:55 -05:00
3ba85bc68d
replace VLA with explicit new/delete
2022-02-03 15:23:09 -05:00
2627e404b0
Add csforce field to numpy_wrapper detection
2022-02-03 15:14:22 -05:00
c6a17b900e
just call exit() on windows instead forwarding the SEGV signal
2022-02-03 13:31:24 -05:00
b7b7a74c52
when building KOKKOS as part of the LAMMPS build, always build static libs
2022-02-03 12:23:25 -05:00
82ac7c9e12
Merge remote-tracking branch 'origin/develop' into python_use_setuptools
2022-02-02 11:47:13 -05:00
efcb402fdc
Merge pull request #3111 from stanmoore1/kk_compile
...
Changes needed to compile LAMMPS with Kokkos upstream
2022-02-02 11:45:55 -05:00
d9c51ca124
Make sure LAMMPS and unit tests use same Python version
2022-02-02 11:44:25 -05:00
172f88a0d5
Merge pull request #3104 from ohenrich/cg-dna
...
CG-DNA unit test and performance enhancement
2022-02-01 18:30:13 -05:00
8f07289ed7
Changes needed to compile LAMMPS with latest Kokkos develop
2022-02-01 15:00:40 -07:00
e15ca1eeef
Fix bug in dump balance
2022-02-01 10:23:25 -08: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
705bfc10a1
Merge pull request #3100 from rbberger/kokkos_cleanup
...
Refactor some declarations in KOKKOS package
2022-01-31 19:35:55 -05:00
91614b64d2
Update from upstream
2022-01-31 15:42:05 -07:00
a6a2492282
Merge pull request #3082 from stanmoore1/reax_count
...
Improve PairReaxFFKokkos neigh list algorithm
2022-01-31 17:26:25 -05:00
b2916339a4
Add NeedDup_v and AtomicDup_v helpers to KOKKOS
2022-01-31 13:42:03 -05:00
a124ee4f44
Merge pull request #2233 from charlessievers/OptimizedDynamicalMatrix
...
Dynamical_matrix and third_order features+update
2022-01-31 12:57:28 -05:00
dd416f61b5
Rename function to avoid warning
2022-01-31 10:47:56 -07:00
cfd720e1fc
Remove another volatile return type to avoid warning
2022-01-31 09:58:44 -07:00
5d28d06a3c
Fix compiler warning
2022-01-31 09:47:32 -07:00
f537a31c19
Unify comment style
2022-01-31 09:25:25 -07:00
5142d8e968
Merge remote-tracking branch 'origin/develop' into kokkos_cleanup
2022-01-31 11:04:41 -05:00
9a81dc58a1
Merge remote-tracking branch 'origin/develop' into kokkos_unittests
2022-01-31 11:04:18 -05:00
d80ba0d57a
Merge branch 'develop' into mpi-stubs-simplify
2022-01-30 17:19:26 -05:00
7ee7d0c570
apply clang-format
2022-01-30 17:18:40 -05:00
3707b327c0
improve portability of python result value string conversion
2022-01-30 16:52:38 -05:00
a8a76dbbe2
port python module and package tests to be windows compatible. refactor environment processing
2022-01-30 16:48:47 -05:00
2e39971cbc
re-enable python module tests on windows
2022-01-30 16:48:11 -05:00
579ac61b5b
refactor environment variable settings. make windows compatible
2022-01-30 16:47:52 -05:00
fea41d5458
make windows compatible
2022-01-30 16:47:17 -05:00
af8d1bd768
fix typo
2022-01-30 09:00:39 -05:00
65b198f986
Revert "temporarily switch repo and branch to run on"
...
This reverts commit 213259b732 .
2022-01-30 08:48:52 -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
99cb494594
remove automatic generated tag
2022-01-30 07:08:15 -05:00
b17d8b4494
add building and running unit tests
2022-01-30 05:54:35 -05:00
213259b732
temporarily switch repo and branch to run on
2022-01-30 05:54:21 -05:00
4bb7457d6e
add option to allow skipping tests by setting a no${CMAKE_SYSTEM_NAME} tag
2022-01-30 05:14:57 -05:00
923b0cfc46
allow to override the LAMMPS dll location on windows
...
this is to work around the situation that windows
has no equivalent to LD_LIBRARY_PATH (short of augmenting %PATH%,
which is tricky for CMake before 3.20)
2022-01-30 05:13:17 -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
ebeb29adf6
skip python folder tests for now on windows
2022-01-29 21:34:51 -05:00
6ff157a099
use quoting to avoid issues with blanks and special characters
2022-01-29 21:05:19 -05:00
33be5ff0b4
allow that the include command may have quoted arguments with variables
2022-01-29 21:04:59 -05:00
cc0d91b222
re-add copies of linked files
2022-01-29 21:01:49 -05:00
571821694e
remove links broken on windows
2022-01-29 21:01:35 -05:00
02cadf1b71
port to windows where text file reading may gobble up carriage returns
2022-01-29 20:53:17 -05:00
6c98915a9c
port to windows
2022-01-29 20:52:37 -05:00
0bfc5269dd
fix mismatches causing failures on windows
2022-01-29 20:52:25 -05:00
9014664c13
really fix unit test regexes for windows
2022-01-29 19:07:35 -05:00
c420f804d9
make multi-line regex checks compatible with googletests Windows regex syntax
2022-01-29 18:52:49 -05:00
a1d186b5fa
Merge pull request #3105 from athomps/numdiff-stress
...
Add new numdiff/virial fix style
2022-01-29 18:37:57 -05:00
cd5d1f8a30
reformat
2022-01-29 18:13:01 -05:00
9323a09b39
reduce number of reported memory leaks with google test death tests
2022-01-29 18:12:53 -05:00
c464c40d67
avoid accessing uninitialized data and triggering bogus memcheck output
2022-01-29 18:12:15 -05:00
7b3adb3f1a
must always initialize jtag
2022-01-29 17:09:40 -05:00
c9de8fca1d
silence compiler warnings
2022-01-29 17:07:00 -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
845ab2dd71
On Windows the Regex matcher for '.' does not match '\n'
...
Thus we have to use ContainsRegex instead of MatchesRegex
2022-01-29 16:35:30 -05:00
d62e25decc
don't specify default working directory for tests explicitly
2022-01-29 11:10:23 -05:00
dad72a612a
correct statement (PPPM **does** support triclinic for a while already)
2022-01-29 08:18:08 -05:00
481bcfcd14
spelling
2022-01-29 08:12:28 -05:00
ee98f023b6
enable and apply clang-format
2022-01-29 08:02:59 -05:00
17960c8183
use constexpr instead of const
2022-01-29 07:56:11 -05:00
9427eb800f
add missing "override"
2022-01-29 07:55:58 -05:00
c1185acad7
enable and apply clang-format
2022-01-29 07:52:06 -05:00
d6fa3a08cd
roll back library aliasing changes as that negatively interferes with unit tests
2022-01-28 21:54:32 -05:00
8423ecb211
small tweaks to make things work with the new settings
2022-01-28 21:28:37 -05:00
7978bf671d
use canonical syntax for adding tests
2022-01-28 21:12:13 -05:00
5c0c3df035
make use of CMAKE_(RUNTIME|LIBRARY)_OUTPUT_DIRECTORY
2022-01-28 21:10:30 -05:00
fbecf0051e
Merge remote-tracking branch 'upstream/develop' into numdiff-stress
2022-01-28 18:36:27 -07:00
a9481733a0
Finished debugging, testing, documenting
2022-01-28 18:34:30 -07:00
c28b7c586a
Residual Merge Conflict
2022-01-28 14:59:07 -08:00
6258cf1b9d
Fixed merge conflict
2022-01-28 14:49:13 -08:00
e8ce01079d
whitespace
2022-01-28 17:20:32 -05:00
f6d0be1257
avoid integer overflow due to precedence
2022-01-28 17:08:16 -05:00
96502ae49d
whitespace
2022-01-28 17:07:03 -05:00
1d51f2d151
must not access invalid/uninitialized data
2022-01-28 16:57:58 -05:00
2a3a7c387b
Merge pull request #3103 from tc387/CR-update
...
fixed ewald self-energy update and updated documentation
2022-01-28 16:37:11 -05:00
e5b129fe8d
Grow exponentially to resize less
2022-01-28 13:35:09 -07:00
41c1c64be9
Merged with deveop branch
2022-01-28 20:27:38 +00:00
e76c8bbaa3
spelling
2022-01-28 14:52:31 -05:00
4225c6c288
whitespace
2022-01-28 14:48:34 -05:00
9feec51590
Merge branch 'develop' of https://github.com/lammps/lammps into reax_count
2022-01-28 12:32:37 -07:00
d6a6f64576
Merge pull request #3090 from rbberger/modernize_use_override
...
Modernize to C++11: use override
2022-01-28 14:10:45 -05:00
17cb137f3e
Merge branch 'master' into OptimizedDynamicalMatrix
2022-01-28 11:08:31 -08:00
bb89347bac
Fixed kspace issue and added suggested runtime check for intel accelerator
2022-01-28 11:06:29 -08:00
7aa17fbdf7
Merge branch 'develop' of github.com:lammps/lammps into reax_count
2022-01-28 11:58:50 -07:00
d3c45d3389
Removed whitespace
2022-01-28 17:58:00 +00:00
ef96b51a25
Merge branch 'deform-rebuild-rigid' into mpi-stubs-simplify
2022-01-28 05:44:43 -05:00
db4e69bf38
further simplification by making STUBS an interface and alias to MPI::MPI_CXX
2022-01-28 01:00:37 -05:00
ac815fdfba
use improved accessors for fixes
2022-01-27 22:16:43 -05:00
e4fe0a37a1
fixed ewald self-energy update and updated documentation
2022-01-27 16:48:22 -06:00
cd8b674f4b
expand path to include LAMMPS shared lib
2022-01-27 17:46:18 -05:00
0bf941219f
silence compiler warnings
2022-01-27 17:21:50 -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
265588d480
Reduce differences between original pair hybrid and kokkos variant
2022-01-27 16:14:46 -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
735d6926a1
Update to KK tersoff styles for consistent nofdotr
...
Inspired by f82096c46c
2022-01-27 14:36:45 -05:00
b3647d8e94
Add missing override keywords
2022-01-26 16:16:53 -05:00
a6ef114bfb
Ensure both Python Interpreter and Development header version match
2022-01-26 15:27:36 -05:00
293f4eb0ed
Add Python 3.10 to detection
2022-01-26 15:21:57 -05:00
2ed8e5cf02
Use setuptools instead of distutils in setup.py
...
distutils will be removed soon (Python 3.12)
2022-01-26 14:58:28 -05:00
415476983d
Merge branch 'develop' into cg-dna
2022-01-26 19:31:48 +00:00
9b6bb00d07
Added unit test for atom_style oxdna
2022-01-26 19:20:34 +00:00
d51017ff50
Merge pull request #3095 from akohlmey/collect-small-changes
...
Collected small changes and fixes
2022-01-26 12:04:44 -05:00
d861dbe8e0
Remove unused variable
2022-01-26 11:37:53 -05:00
71a373cadb
reshuffle Body struct members and add dummy for better alignment
2022-01-26 10:46:19 -05:00
8ca1004c03
cosmetic. align with clang-format
2022-01-26 10:45:46 -05:00
120662c438
correct citation info
2022-01-26 10:45:30 -05:00
cdd23ac9c2
Merge pull request #3097 from stanmoore1/dump_balance
...
Add option to balance dump file output
2022-01-25 15:53:38 -05:00
3297ed7c5f
Refactor some declarations in KOKKOS package
...
Adds C++11 template helpers to shrink larger declarations.
2022-01-25 14:29:00 -05:00
75a00f4d11
minor cleanup
2022-01-25 08:52:53 -07:00
64dbce26dc
Cannot shrink buf
2022-01-25 08:45:13 -07:00
35dbabd471
alternate fix for tag caching issue in INTEL package
2022-01-25 07:39:37 -05:00
0b693e729d
Whitespace
2022-01-24 17:33:36 -07:00
c914fc6baf
Small doc tweak
2022-01-24 16:33:11 -07:00
67af170929
Sorting is not required for balancing
2022-01-24 16:22:55 -07:00
cb9ba8c0a3
Simplify code
2022-01-24 16:05:27 -07:00
a80f7ed11f
Add error message to header file
2022-01-24 15:32:20 -07:00
aeb25b5a37
Tweak docs
2022-01-24 15:28:40 -07:00
1d60e4c463
Add docs
2022-01-24 15:16:49 -07:00
16810b84eb
Add option to balance dump file output
2022-01-24 14:35:27 -07:00
f9a2006d73
reorder includes
2022-01-24 08:44:29 -05:00
88dadd0fff
consistently refer to INTEL package in upper case
2022-01-23 21:12:22 -05:00
cd16556256
add missing break statements.
...
@GenieTim this bug may have tainted your results. you would always get the energy value for any of the dx, dy, dz keywords
2022-01-22 17:13:54 -05:00
81e7583a8d
initialize pointers, use provided constant, reorder include statements
2022-01-22 17:07:12 -05:00
f814dc5ff9
add checks after reading data
2022-01-22 17:06:28 -05:00
458ae4e38a
initialize pointers, remove unused class member
2022-01-22 17:06:13 -05:00
d854e58d00
add sanity check
2022-01-22 16:51:07 -05:00
c93fba5e2d
make certain that offset is always initialized
2022-01-22 16:45:38 -05:00
900ff39403
make consistent
2022-01-22 16:33:44 -05:00
7aed8954a5
Add paragraphs in Modify_style.rst
2022-01-22 11:03:44 -05:00
ef2969dfbf
use override keyword in plugin sources
2022-01-22 10:30:58 -05:00
79a9829e92
Apply override to remaining classes
2022-01-22 09:56:01 -05:00
3e3cd4c94d
Added correct units for pressure, still getting wrong answer
2022-01-21 19:46:54 -07:00
3286fcb13a
Added correct units for pressure, still getting wrong answer
2022-01-21 19:29:23 -07:00
c16caea13b
Fixed bounds error
2022-01-21 19:17:12 -07:00
384b715d8c
First pass at fix numdiff/stress
2022-01-21 18:53:06 -07:00
12d708b97c
Apply override to more classes
2022-01-21 18:24:06 -05:00
44bc766060
Apply override to more classes
2022-01-21 16:58:32 -05:00
06beb28d7d
Apply override to Pair classes
2022-01-21 16:13:49 -05:00
6506be9409
update programming style
2022-01-21 15:56:58 -05:00
ff3f762499
Apply override to Fix classes
2022-01-21 14:45:53 -05:00
f83271aa40
Apply override to Compute classes
2022-01-21 13:23:36 -05:00
0d4bbf60e6
Apply override to Dihedral classes
2022-01-21 12:48:11 -05:00
57def1a2d5
output reformatting and refactoring
2022-01-21 11:26:55 -05:00
75d20c40ed
remove threebody tag caching altogether since it is not reliable
2022-01-21 11:26:26 -05:00
3311b1344c
consolidate pair-wise vs pairwise spelling
2022-01-21 10:48:35 -05:00
3a6bd2e698
update comment about pair_write restrictions
2022-01-21 10:47:49 -05:00
67dec40afa
make certain pointers are initialized
2022-01-21 06:55:20 -05:00
9c8431bf87
correct calls to memset()
2022-01-21 06:55:06 -05:00
557e25d6fb
Apply override to Bond classes
2022-01-20 18:00:16 -05:00
4e89488f27
Apply override to Angle classes
2022-01-20 17:53:38 -05:00
d4ec931991
Apply override to FileReader classes
2022-01-20 17:49:23 -05:00
7387643b87
Apply override to Improper classes
2022-01-20 17:36:43 -05:00
5e37f9d5a7
Apply override to KSpace classes
2022-01-20 17:14:33 -05:00
586cf6c3bf
Apply override to Dump classes
2022-01-20 16:58:23 -05:00
e73158bd7e
whitespace/formatting
2022-01-20 16:56:12 -05:00
4104353d7a
plug memory leak
2022-01-20 16:55:59 -05:00
49dca516ea
simplify API of Force::store_style()
2022-01-20 16:48:44 -05:00
7c9b0c1e8e
Apply override to more core classes
2022-01-20 16:43:04 -05:00
5c62dc0986
Apply override to Comm classes
2022-01-20 16:39:36 -05:00
c9776dad6f
Apply override to Command classes
2022-01-20 16:35:59 -05:00
dbe267cb88
join lines, whitespace
2022-01-20 16:04:26 -05:00
0b24c5b498
workaround for segfaults due to NULL pointer dereference with hybrid styles
2022-01-20 16:04:07 -05:00
06cb86dfb9
Apply override to NTopo classes
2022-01-20 15:53:01 -05:00
7aaa85c3a1
Apply override to NBin classes
2022-01-20 15:44:16 -05:00
32a19d982a
Apply override to NStencil classes
2022-01-20 15:37:15 -05:00
222ea31d8d
Remove override = default destructor lines
2022-01-20 15:28:47 -05:00
7ee3171d16
Apply override to NPair classes
2022-01-19 21:51:21 -05:00
b45a6d7720
Apply override to AtomVec classes
2022-01-19 17:31:41 -05:00
a0e2a617e0
Merge pull request #3092 from stanmoore1/kk_makefiles
...
Small tweaks to Kokkos Files
2022-01-19 16:06:42 -05:00
9d8394fe63
Apply override to text_file_reader.h
2022-01-19 14:45:32 -05:00
c166549c74
Apply override to KOKKOS classes up to this point
2022-01-19 14:26:25 -05:00
b8d4030983
Update more core class destructors
2022-01-19 13:27:08 -05:00
e283bfa1fa
Apply override to Minimize classes
2022-01-19 13:23:28 -05:00
b7dc1d9dd6
Merge pull request #3091 from akohlmey/more-parsing-refactor
...
More file parsing refactoring
2022-01-19 12:41:13 -05:00
6e8d9cb532
Port bugfix in Kokkos
2022-01-19 10:27:02 -07:00
0a8cbcef2b
Add -DNDEBUG to Kokkos Makefiles
2022-01-19 10:19:50 -07:00
0a89e5bd24
Remove non-ASCII chars
2022-01-19 10:18:25 -07:00
4f0cde40fd
White no longer exists
2022-01-19 10:16:53 -07:00
4cd5c40374
Merge pull request #3089 from akohlmey/collected-small-changes
...
Collected small changes and fixes
2022-01-19 11:44:33 -05:00
7573e60a1e
Merge branch 'collected-small-changes' of github.com:akohlmey/lammps into collected-small-changes
2022-01-19 10:21:12 -05:00
c85cdb2732
always fall back to using the .so extension if available in the LAMMPS module folder
2022-01-19 10:11:16 -05:00
7676f66674
modernize potential file parsing
2022-01-19 06:29:27 -05:00
f5ad91f9fe
minor tweaks
2022-01-19 06:28:53 -05:00
0595e4d7cd
refactor parsing of pair style list parameter file
2022-01-19 00:24:01 -05:00
c4c3b545b2
modernize fix gle matrix file reading
2022-01-18 19:55:50 -05:00
e22f62f6db
add some metadata for fix gle matrix files
2022-01-18 19:55:30 -05:00
b890b564ca
modernize electron stopping file reader
2022-01-18 16:48:26 -05:00
ef13455d6b
add some metadata tags
2022-01-18 16:48:07 -05:00
0099d2584b
Apply override to Integrator classes
2022-01-18 15:17:04 -05:00
778879a0eb
Apply override to Body classes
2022-01-18 14:56:44 -05:00
1792b3b0cf
Apply override to Reader classes
2022-01-18 14:39:31 -05:00
d19f799585
Apply override to Region classes
2022-01-18 14:31:29 -05:00
576f2266ae
Mark virtual destructors in derived as override
...
Following C++ Core Guideline C.128
2022-01-18 14:28:25 -05:00
be7e6d0939
Avoid std::string copies
2022-01-18 13:22:55 -05:00
38bcc493b0
simplify and modernize CMAP file parser
2022-01-18 10:28:40 -05:00
389c35a2d3
use alternate method to create triclinic box for unit test
2022-01-18 09:09:37 -05:00
1c8f427e8a
detect when MSM::setup() is called before proper initialization and error out
2022-01-18 09:09:19 -05:00
29b5c2659c
source code formatting
2022-01-18 09:04:04 -05:00
c1f7685c98
Revert "before changing box settings, it must be initialized at least once"
...
Looking for alternate solution since this change has
too many unwanted side effects.
This reverts commit 2e85233b11 .
2022-01-18 08:30:54 -05:00
2e85233b11
before changing box settings, it must be initialized at least once
...
otherwise change_box would not really be needed,
but commands like boundary can (still) be used
2022-01-18 07:20:28 -05:00
752552e0f8
remove duplicate code
2022-01-18 06:39:20 -05:00
a02e11040d
whitespace
2022-01-18 06:34:57 -05:00
f0f4a8e6dc
plug some memory leaks in MSM kspace style(s)
2022-01-18 06:01:32 -05:00
241a44f1af
another workaround for rerun
2022-01-18 04:56:47 -05:00
e1d028ec88
Merge pull request #3087 from akohlmey/pair-harmonic
...
Add new pair styles harmonic/cut for repulsive-only harmonic interaction
2022-01-17 18:53:35 -05:00
5530927bd4
Merge pull request #3088 from stanmoore1/kk_hip_fixes
...
Fix Kokkos HIP compile issues
2022-01-17 18:07:29 -05:00
af231d5447
Fix comments in Makefiles
2022-01-17 08:54:17 -07:00
8b89be6061
Kokkos SNAP tuning for HIP
2022-01-17 08:49:00 -07:00
a93e5baa73
Add Kokkos HIP Makefiles
2022-01-17 08:44:49 -07:00
cb796e8b60
Fix HIP compile issues
2022-01-17 08:21:52 -07:00
dc6e558191
use Tokenizer class to parse bond colors
2022-01-16 20:20:07 -05:00
0eeb3b203c
add tests for molecule command
2022-01-16 16:50:23 -05:00
943fe487b5
update whitespace and argument formats for longer source lines
2022-01-16 15:36:01 -05:00
1e7969c7b9
add new pair styles harmonic/cut and harmonic/cut/omp
2022-01-15 19:34:47 -05:00
aa71ea6c40
Merge branch 'collected-small-changes' of github.com:akohlmey/lammps into collected-small-changes
2022-01-14 20:25:05 -05:00
e271a54802
re-enable using rerun after the changes from PR #3052
2022-01-14 20:25:00 -05:00
11cc8a6a59
whitespace
2022-01-14 15:59:05 -05:00
ed702b9309
don't allow exceptions to "escape" a destructor
2022-01-14 15:58:57 -05:00
dcb1ddb282
remove redundant code
2022-01-14 14:55:13 -05:00
2213eb8d3f
use enum with symbolic constants instead of numbers
2022-01-14 14:45:12 -05:00
7afa22f045
check return values for errors
2022-01-14 13:02:15 -05:00
698256f4fe
update fedora singularity image to Fedora 35
2022-01-12 08:17:54 -05:00
e0cde6270e
Merge branch 'develop' into kokkos_unittests
2022-01-11 12:59:36 -05:00
240db21054
silence possible warnings about missing files on "make clean-all"
2022-01-11 11:46:08 -05:00
8aaae8e6ee
Fix count issue
2022-01-07 15:22:53 -07:00
40c140e56e
Improve PairReaxFFKokkos neigh list algorithm
2022-01-07 14:48:07 -07:00
878557dd48
Merge pull request #3079 from akohlmey/next_patch_release
...
Step version strings for the next patch release
2022-01-07 11:31:23 -05:00
1f81e2afad
Added duplication of stdout into logfile
2022-01-07 13:45:54 +00:00
11d66f8f1d
Merge branch 'lammps:develop' into cg-dna
2022-01-07 12:45:38 +00:00
e3dd2908d9
Step version strings for the next patch release
2022-01-06 19:42:45 -05:00
b300a93b67
Merge pull request #3073 from akohlmey/fmtlib-8.1-update
...
Update included fmtlib to version 8.1.1
2022-01-06 19:40:00 -05:00
1f924e9fc1
Merge pull request #3071 from akohlmey/collected-small-changes
...
Collected small changes and bug fixes
2022-01-06 19:22:30 -05:00
9c9bc4790b
update to fmtlib-8.1.1
2022-01-06 18:31:15 -05:00
8e0622d523
Merge pull request #3046 from donatas-surblys/centroid-stress-constraint-rigid
...
Centroid atomic stress for shake, rattle and rigid/small
2022-01-05 12:36:27 -05:00
3ff2f53ead
add citations to centroid/stress/atom
2022-01-05 18:45:35 +09:00
e5416a9fee
update documentation for new centroid stress for shake and rigid/small
2022-01-05 19:02:25 +09:00
4aba9e9bb6
cosmetic and whitespace changes
2022-01-04 23:08:32 -05:00
40abc0886c
adjust for double precision floating point
2022-01-04 23:02:17 -05:00
d0f203127d
create missing de,df table elements from linear extrapolation
2022-01-04 23:01:38 -05:00
12420181e1
Merge pull request #3072 from akohlmey/refactor-data-file-parsing
...
Modernize parsing of topology data sections of data files
2022-01-04 13:21:14 -05:00
8ae68d71dd
Merge pull request #3062 from Luthaf/netcdf-standard
...
Follow Amber NetCDF standard more closely
2022-01-04 13:02:50 -05:00
ede7787741
Refactor Atom::data_bodies()
2022-01-04 11:56:56 -05:00
f557bf6e20
implement suggestion by @rbberger
2022-01-04 11:37:32 -05:00
fd3884d705
disable centroid stress for non-small rigid fixes
2022-01-04 18:09:49 +09:00
1225b609d8
disable centroid stress for fix rigid/small/omp
2022-01-04 17:43:32 +09:00
6a73fc0472
refactor reading last line of potential file code to be more efficient
2022-01-03 21:35:26 -05:00
8439f87b76
make consistent with other reference
2022-01-03 18:26:56 -05:00
de404d1ed8
Merge branch 'update_doc_file' of github.com:jddietz/lammps into collected-small-changes
2022-01-03 18:26:01 -05:00
49412ce0f7
implement workaround windows from https://github.com/fmtlib/fmt/issues/2691
...
this also reverts commit c5a7f4c3ac
and thus results in consistent crt behavior on windows
2022-01-03 18:01:33 -05:00
a9a568aefa
Updated references for pair_nm.rst
2022-01-03 11:50:04 -10:00
7e92809288
Merge pull request #3069 from Vsevak/fix-hip-ffast-math
...
Fix HIP Makefile under lib/gpu
2022-01-03 11:37:55 -05:00
b8ed590bde
Merge pull request #3068 from ndtrung81/gpu-lib-makefiles
...
Updates to Makefiles under lib/gpu
2022-01-03 10:48:45 -05:00
90726ca088
explain that the computed force in python pair is force/r same as in Pair:single()
2022-01-03 10:12:51 -05:00
8c95a8db23
Incorporate bugfixes from issue #3074 , a few additional cleanups
2022-01-03 10:11:03 -05:00
c5a7f4c3ac
fmtlib now uses UCRT instead of MSVCRT. add library to avoid linker failure
2022-01-02 15:24:04 -05:00
bb1c12d22b
import fmtlib v8.1.0
2022-01-02 13:42:27 -05:00
f3c5593c50
correct code example
2022-01-01 16:40:54 -05:00
e5c517c8d8
silence compiler warnings
2022-01-01 00:21:14 -05:00
9efa2369dd
join wrapped strings
2021-12-31 14:34:24 -05:00
c17a183816
do error checking already in read_data code
2021-12-31 14:34:09 -05:00
863de683ee
do not shadow "natoms" class member
2021-12-31 13:43:56 -05:00
6d9764e140
add missing advance of buffer pointer
2021-12-31 00:14:52 -05:00
ca3be99e77
correct function prototypes
2021-12-30 23:48:42 -05:00
e6e9aed385
modernize/correct parsing for Bonus and Bodies sections
2021-12-30 22:58:14 -05:00
8d53cd1e5d
modernize parsing of Velocities section of data files
2021-12-30 19:14:09 -05:00
def1072f0f
port data_atom() changes to KOKKOS
2021-12-30 18:42:15 -05:00
7f2b505df3
apply utils overloads
2021-12-30 11:14:48 -05:00
cf9429dc68
implement overloads so that utils::*numeric() functions can be safely used with std::string()
2021-12-30 11:03:37 -05:00
64d6a2fd1f
modernize parsing of the Atoms section
2021-12-29 20:24:27 -05:00
c97483c46f
modernize parsing of the Masses section in data files
2021-12-29 19:36:18 -05:00
78df5c2258
modernize parsing of Bonds/Angles/Dihedrals/Impropers section of data files
2021-12-29 19:18:42 -05:00
27a6c63aeb
correct format string for Error::one()
2021-12-29 16:18:48 -05:00
88b42503f9
address segfault issue with fix nve/gpu when group is not "all"
2021-12-29 14:06:22 -05:00
14e5474174
restore obsolete compilation settings similar to parallel makefile
2021-12-27 20:31:42 -05:00
053d915fc4
drop -ffast-math for HIP also when compiling with CMake
2021-12-27 20:14:30 -05:00
b781410f92
Delete fast-math flag from Makefile.hip for AMD platforms
2021-12-28 03:11:02 +03:00
47b0c8b33e
whitespace
2021-12-27 11:31:01 -05:00
5594a38bb7
replace explicit Makefile.mpi with symbolic link
2021-12-27 10:47:23 -05:00
3262140b65
more detailed unit tests. do not fail if ncdump is missing.
2021-12-27 10:35:38 -05:00
6357f19260
Added back Makefile.mpi in lib/gpu/ to be consistent with documentation; updated Makefile.*; and removed the unnecessary Makefile.turing
2021-12-27 00:14:04 -06:00
091f6164c8
add minimal unit test for netcdf dumps
2021-12-26 23:22:53 -05:00
30af0cb325
define and use LMP_MAX_VAR_DIMS instead of NC_MAX_VAR_DIMS to avoid stack overflows
2021-12-26 17:15:13 -05:00
84765f4b81
Merge branch 'develop' into netcdf-standard
2021-12-23 16:42:24 -05:00
b39d1993bb
Merge pull request #3052 from lammps/time-dumps2
...
Time-dependent dumps for variable timestep (alternate implementation)
2021-12-23 16:34:12 -05:00
6af36075ba
Merge pull request #3064 from rbberger/collected-small-changes
...
Collected small changes and fixes
2021-12-23 16:13:35 -05:00
a653ee6b2c
recover failing unit tests and whitespace fixes
2021-12-23 15:22:58 -05:00
7018ba65be
Merge branch 'time-dumps2' of github.com:lammps/lammps into time-dumps2
...
# Conflicts:
# src/dump_xyz.cpp
2021-12-23 15:18:56 -05:00
d694b7cc1c
recover compilation
2021-12-23 14:34:49 -05:00
b7dba37e2e
Merge branch 'time-dumps2' of github.com:lammps/lammps into time-dumps2
2021-12-23 14:34:00 -05:00
23f1c9de60
Merge branch 'develop' into time-dumps2
2021-12-23 14:29:04 -05:00
1185591c76
add missing fclose()
2021-12-23 08:20:47 -05:00
b2adb4df47
have internal fix/compute ids include the fix id for fix reaxff/species
...
this allows using the fix multiple times
also remove code and warning that checks for multiple fix instances
2021-12-23 08:20:28 -05:00
3748a14582
warn about problems with the MPIIO package
2021-12-23 01:59:45 -05:00
93c7b6928f
remove dead code, silence compiler warnings
2021-12-23 01:32:31 -05:00
3b183bafbb
cosmetic changes (simplify, use constexpr, remove dead code, join wrapped lines)
2021-12-23 01:23:13 -05:00
b53cda778c
Merge branch 'develop' into netcdf-standard
2021-12-22 22:54:30 -05:00
09944f5d7a
Merge pull request #2996 from stanmoore1/compute_phase
...
Add compute ave/sphere/atom
2021-12-22 21:16:25 -05:00
3dcfc0dfc6
skip redundant KOKKOS host/device styles info/help lists
2021-12-22 20:13:30 -05:00
8f62cd79f4
add missing list entry
2021-12-22 19:55:06 -05:00
586824be1b
Merge pull request #3021 from stanmoore1/big_dump_sort
...
Allow dump sort to work with more than 2 billion atoms
2021-12-22 19:23:39 -05:00
cde7dd34fd
Doc update
2021-12-21 16:46:53 -07:00
2788bc666a
Update .gitignore
2021-12-21 16:44:14 -07:00
9271323cc0
Add dependency
2021-12-21 16:33:14 -07:00
1bbf45784b
Rename and relocate
2021-12-21 16:29:11 -07:00
6a442e1df4
use compute_time() func in xyz output
2021-12-21 14:05:16 -07:00
6f6b384c55
Merge branch 'time-dumps2' of github.com:lammps/lammps into time-dumps2
...
# Conflicts:
# src/dump_xyz.cpp
2021-12-21 15:56:19 -05:00
2fec3eee6b
Add overflow check to dump_h5md
2021-12-21 13:28:36 -07:00
5932a3f6f9
Merge branch 'develop' of github.com:lammps/lammps into big_dump_sort
2021-12-21 12:58:24 -07:00
cc4d7215f1
simplify. only output absolute time during MD.
2021-12-21 14:37:34 -05:00
cad9f6bf6e
Merge branch 'time-dumps2' of github.com:lammps/lammps into time-dumps2
2021-12-21 12:18:38 -07:00
576e787839
make xyz dumps print out current simulation time
2021-12-21 12:18:26 -07:00
8ed35832f4
Merge branch 'develop' into time-dumps2
2021-12-21 14:16:23 -05:00
e06222099a
Small tweak to docs
2021-12-21 11:51:30 -07:00
192aa7fedb
Merge pull request #3065 from lammps/angle-class2-update
...
Angle class2 update and bugfix
2021-12-21 13:46:37 -05:00
c98f7b3e50
Clean up error message text
2021-12-21 11:40:04 -07:00
0576d525ad
simplify and avoid redundant output
2021-12-21 13:39:00 -05:00
364d0be28c
apply clang-format
2021-12-21 13:21:23 -05:00
c780768e91
put contents of netcdf_units into NetCDFUnits namespace
2021-12-21 13:16:23 -05:00
a2ab59b162
Fix cutoff logic
2021-12-21 11:07:03 -07:00
ded48cc031
more optimizations and extend to other dump styles
2021-12-21 10:57:42 -07:00
2533abb266
Add doc page
2021-12-21 10:46:23 -07:00
65204e5df0
Add error checks, tweak input
2021-12-21 10:46:00 -07:00
ecc0205436
reset force test references for Class2 angle styles
2021-12-21 11:28:26 -05:00
6187431399
Fix compile error in angle_class2_kokkos
2021-12-21 08:34:02 -07:00
4d31e300c6
change to checking timestep for time dumps at start of each step
2021-12-20 16:39:17 -07:00
f271d2180f
Remove unused variable
2021-12-20 16:05:44 -07:00
8d34fb8e1f
Merge branch 'develop' of https://github.com/lammps/lammps into compute_phase
2021-12-20 14:19:39 -08:00
4bc85f07e3
same changes in OPENMP and KOKKOS versions of angle class2
2021-12-20 14:29:17 -07:00
06c45fbe68
fix compiler errors
2021-12-20 14:26:22 -07:00
2ee88dab7e
same change for angle class2/p6
2021-12-20 10:35:41 -07:00
97b5651633
minor correction to angle class2
2021-12-20 10:33:05 -07:00
8dd61144cb
Merge branch 'develop' into kokkos_unittests
2021-12-20 10:54:27 -05:00
f1daa22cdf
Merge branch 'lammps:develop' into cg-dna
2021-12-20 13:13:41 +00:00
461398bc0e
join lines
2021-12-19 17:46:51 -05:00
88f8e41702
PHONON package is now only a soft dependency on KSPACE
2021-12-18 18:22:47 -05:00
3246fd62a7
size_t is unsigned, so can't be negative
2021-12-17 17:10:21 -05:00
a3a6077115
Use sfread and sfgets in reader_native.cpp
2021-12-17 17:03:58 -05:00
1c25c96aaa
netcdf: deduplicate gettings units as strings
2021-12-17 17:13:29 +01:00
f8ee6dc680
netcf: define units for all variable where this is possible
2021-12-17 11:49:25 +01:00
dc9d539b6c
netcdf: fix spatial, cell_spatial and cell_angular variable definitions
...
Dimension 0 refered to the frame dimension, but we need the spatial dimension instead
2021-12-17 11:49:25 +01:00
4bf065ed1c
netcdf: use float values for scale factors instead of double
2021-12-17 10:55:54 +01:00
d04f428c1a
netcdf: default to float variable for everything
...
The standard convention require all values to be stored as
float, users still have the ability to use double with
`dump_modify <id> double yes`
2021-12-17 10:54:43 +01:00
2d4f030f11
Merge pull request #3060 from rbberger/binary_dump_reader_bugfix
...
Bugfix for binary dump reader heap corruption
2021-12-15 17:20:12 -05:00
884dcbe4fa
Refactor reader_native.cpp
...
- Use std::string instead of error-prone char buffers
- Limit reading files to known magic strings DUMPATOM and DUMPCUSTOM
2021-12-15 16:09:50 -05:00
902f9dd1fa
Move allocation to correct location
2021-12-15 15:05:59 -05:00
9fbca5111d
fix runtime error from lack of comm->setup()
2021-12-15 11:52:38 -08:00
3748ddb1ae
Merge branch 'lammps:develop' into cg-dna
2021-12-15 09:02:57 +00:00
40c0925cb4
Updated and added third order kokkos
2021-12-14 14:25:49 -08:00
b3fcda3214
Merge pull request #3057 from akohlmey/next_patch_release
...
Step version strings for the next patch release
2021-12-14 17:08:29 -05:00
676c5a3666
Merge pull request #3059 from nw13slx/rerun_bin
...
[BUGFIX] Wrong block reading in ReaderNative::read_atoms when binary is True and natom > 1024
2021-12-14 16:09:35 -05:00
3efddc4fb6
whitespace
2021-12-14 14:50:38 -05:00
5051055c76
Remove dead code and move nchunk read to read_header
2021-12-14 14:33:17 -05:00
fd18403b0a
Merge pull request #3056 from Ruyk/dpcpp-anon-struct-workaround
...
DPC++ Anonymous Struct Workaround
2021-12-14 11:32:52 -05:00
80819f3793
reverse skip_buf with chunk
2021-12-14 11:09:36 -05:00
4be0e0a4e5
Merge branch 'develop' of https://github.com/lammps/lammps into big_dump_sort
2021-12-14 08:00:14 -07:00
26ebf97630
Merge branch 'develop' of https://github.com/lammps/lammps into compute_phase
2021-12-14 07:56:41 -07:00
62cdf7ab2d
update docs
2021-12-14 09:13:05 -05:00
1c38b7633f
generalize and simplify support for accelerated commands with suffixes
2021-12-14 09:06:04 -05:00
dee995f918
consistent author attribution
2021-12-14 09:05:28 -05:00
d6048ba576
added copyright/license header and updated author attribution
2021-12-14 08:41:49 -05:00
5b57d662c3
Merge branch 'develop' into OptimizedDynamicalMatrix
2021-12-14 08:35:58 -05:00
813f756382
Merge branch 'develop' into dpcpp-anon-struct-workaround
2021-12-14 06:59:12 -05:00
91633a4460
make workaround easier to disable and to remove
2021-12-14 06:59:03 -05:00
7c3deaa04b
limit the skip buf to MAXSMALLINT
2021-12-13 23:03:10 -05:00
b1d0dd65ea
simply the while loop and add correct initial m value
2021-12-13 22:57:39 -05:00
d4cec8ebe7
handle block reading in ReaderNative::read_atoms when binary is True
2021-12-13 21:38:16 -05:00
5a39efff19
Merge pull request #3055 from akohlmey/collected-small-changes
...
Final changes for next patch release
2021-12-13 21:24:11 -05:00
ccdb939a40
Merge pull request #3054 from nw13slx/rerun_bin
...
Support binary native dump files with read_dump and rerun
2021-12-13 19:22:00 -05:00
a887d880c6
debugged kokkos support to dynamical_matrix command
2021-12-13 14:14:14 -08:00
72420bad3a
Merge pull request #3058 from jtclemm/documentation_edits
...
Fixing some references to MISC package in documentation
2021-12-13 16:59:10 -05:00
ff41864cd9
remove redundant deletes
2021-12-13 15:28:27 -05:00
cdc831bb89
Update src/reader_native.cpp
...
Co-authored-by: Richard Berger <richard.berger@temple.edu >
2021-12-13 12:23:30 -08:00
f3543a839e
Update src/reader_native.cpp
...
Co-authored-by: Richard Berger <richard.berger@temple.edu >
2021-12-13 12:23:21 -08:00
3eae7b4200
Update src/reader_native.cpp
...
Co-authored-by: Richard Berger <richard.berger@temple.edu >
2021-12-13 12:23:14 -08:00
af2e295ac2
Update src/reader_native.cpp
...
Co-authored-by: Richard Berger <richard.berger@temple.edu >
2021-12-13 12:22:57 -08:00
bb6d581ef8
Update src/reader_native.cpp
...
Co-authored-by: Richard Berger <richard.berger@temple.edu >
2021-12-13 12:22:39 -08:00
1e73beca37
Merge pull request #2809 from rbberger/fmt_upgrade
...
Upgrades fmtlib to v8.0.1
2021-12-13 15:14:58 -05:00
2b85799729
Updating MISC to EXTRA-X in doc files
2021-12-13 12:27:00 -07:00
94ac1ad4a0
update version strings for the next patch release
2021-12-13 11:56:44 -05:00
9159b37e47
Merge branch 'develop' into fmt_upgrade
2021-12-13 10:03:38 -05:00
d33019d8e4
llvm anonymous struct workaround
2021-12-13 11:08:06 +00:00
94d5c75fdf
small updates for docs and comments
2021-12-12 18:11:33 -05:00
33aea05080
adjust example for changes in when reset_timestep may be used
2021-12-12 10:01:52 -05:00
7db29112d8
replace read_buf to skip_buf in skip function
2021-12-12 00:26:55 -05:00
913b1536d4
whitespace
2021-12-11 21:18:33 -05:00
274b14618f
fold match_fields() back into read_header() function
2021-12-11 21:17:41 -05:00
e23a2bfb55
Merge branch 'rerun_bin' of github.com:nw13slx/lammps into rerun_bin
...
# Conflicts:
# src/reader_native_bin.cpp
2021-12-11 21:05:01 -05:00
87501347ad
add minimal unit tests for reading binary dumps
2021-12-11 21:03:32 -05:00
0603dc6323
whitespace
2021-12-11 20:46:24 -05:00
86b696c78c
Merge branch 'develop' into rerun_bin
2021-12-11 20:31:48 -05:00
56fd07d88e
fold native binary reader class in to native reader class
2021-12-11 20:31:44 -05:00
565c8d6589
use fseek to skip bufs
2021-12-11 20:02:32 -05:00
8884acef24
Revert "add to compress read"
...
This reverts commit b22c409079 .
# Conflicts:
# src/platform.cpp
2021-12-11 19:40:21 -05:00
d7bb9b5f30
reverse clang-format on irrelevant lines
2021-12-11 17:49:29 -05:00
b22c409079
add to compress read
2021-12-11 17:44:41 -05:00
626889f534
move the rb mode to the overloaded open_file function
2021-12-11 17:36:29 -05:00
d59458fa37
clean up commands and documentation
2021-12-11 17:24:27 -05:00
8f99d8d1d9
fix skip bugs
2021-12-11 16:41:13 -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
250a5921a3
move match_field to protected method and format the docstring
2021-12-11 14:25:29 -05:00
2cdafb49a2
remove variable names from func declaration
2021-12-11 14:14:06 -05:00
e9f0351b67
reverse formatting on irrelevant files
2021-12-11 14:10:47 -05:00
eff26ba0b3
add read_buf method and fix bugs in inheritance
2021-12-11 14:02:58 -05:00
b1e7333348
remove wrong compression mode
2021-12-11 12:32:17 -05:00
7ab5d4edd4
add new ReaderNativeBin class
2021-12-11 11:54:21 -05:00
4f34c4374b
Merge pull request #3053 from stanmoore1/kk_desul
...
Enable Kokkos Desul atomics in Makefile to match CMake settings
2021-12-11 06:12:50 -05:00
62f5f4d126
Merge remote-tracking branch 'github/develop' into fmt_upgrade
2021-12-10 23:04:58 -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
fc64fca3d9
Whitespace
2021-12-10 13:34:38 -07:00
6bd3ddf908
Don't use fetch variant of atomic if not needed
2021-12-10 13:27:57 -07:00
e49b7d0514
Remove atomics for error/warning flags since they are not needed
2021-12-10 13:14:12 -07:00
0ab0e2747c
Update comment
2021-12-10 12:15:10 -07:00
7aeab56eb2
Enable Kokkos Desul atomics in Makefile to match CMake settings
2021-12-10 12:09:32 -07:00
fa8e2ccee8
Merge pull request #2958 from jddietz/nm_split_styles
...
nm split styles
2021-12-10 13:42:31 -05:00
5ead32f886
more debugging and features
2021-12-10 11:13:06 -07:00
6140503158
update local/density examples to follow conventions more closely
2021-12-10 08:50:58 -05:00
14fc42833f
modernize potential file reader for local/density
2021-12-10 08:45:01 -05:00
3fc0ea3e80
correct names of the pack/unpack routines for forward communication
2021-12-09 18:30:54 -05:00
a975d0506a
update examples for pair style local/density
2021-12-09 18:21:32 -05:00
e1e46b5322
Merge pull request #3033 from rbberger/unittest_tags
...
Add tags to force-style unit tests
2021-12-09 18:11:08 -05:00
146c6fe5ff
remove check that is no longer needed
2021-12-09 18:08:43 -05:00
0e4e830c79
document "slow" and "unstable" labels for unit tests
2021-12-09 17:02:20 -05:00
0d44c56ccc
use comma consistently
2021-12-09 15:50:57 -05:00
7d48324f51
tweak force test settings
2021-12-09 15:48:24 -05:00
facb49fc27
disallow reset_timestep for time averaging fixes
2021-12-09 15:09:42 -05:00
878dd746db
reduce warnings and improve portability
2021-12-09 13:55:53 -05:00
e2969d09e1
bug fix for fix dt/reset freq of 1
2021-12-09 11:53:47 -07:00
754610b9ee
Merge pull request #3041 from oywg11/modified-sw-potential
...
A modified Stillinger-Weber potential for transition metal dichalcogenide
2021-12-09 09:43:49 -05:00
d4149e9139
bug fixes to make a series of test inputs run correctly
2021-12-08 16:44:51 -07:00
8f0dea91c7
correct setting forward/reverse buffer size info
2021-12-08 13:54:47 -05:00
a5ee7ca73f
make certain did_mix is initialized
2021-12-08 00:51:04 -05:00
bea273fc3a
correct docs for pair style local/density
2021-12-08 00:22:37 -05:00
40c04a210b
correct handling of data packing for forward and reverse communication
2021-12-08 00:22:36 -05:00
021f6832d5
adjust epsilon for -std=c++14 and add more unstable tags
2021-12-07 17:11:29 -05:00
26492b13d5
logic for dumps every steps and time delta
2021-12-07 13:46:36 -07:00
5cee58a9c8
Merge pull request #3049 from Ruyk/sycl-pinned-host
...
Use SYCL pinned host memory from Kokkos.
2021-12-07 14:07:58 -05:00
605d2b7ab2
Use SYCL pinned host memory from Kokkos.
...
Depends on this PR from Kokkos:
https://github.com/kokkos/kokkos/pull/4268/
2021-12-07 16:49:27 +00:00
1afdd3c011
new output vars for dumps
2021-12-07 09:16:19 -07:00
a323b00fef
Merge branch 'develop' into unittest_tags
2021-12-07 10:24:46 -05:00
ac57c44552
update unit test for renamed bond style
2021-12-06 16:35:20 -05:00
6314290558
clarify docs for bond style fene/nm/split and rename to fene/nm
2021-12-06 16:21:12 -05:00
021a59965e
convert to ASCII
2021-12-06 15:54:34 -05:00
f88009c626
correct comments
2021-12-06 15:50:16 -05:00
fa913c3e5b
clarify r_0 versus sigma
2021-12-06 15:50:09 -05:00
a84c0a43bd
address spelling issues
2021-12-06 15:35:32 -05:00
c48810c545
whitespace
2021-12-06 15:29:23 -05:00
ef186d9628
Updated pair_nm.rst
2021-12-06 15:09:45 -05:00
1238f1b273
correct multiple math typesetting errors, typos, and inconsistencies
2021-12-06 14:10:41 -05:00
274ffe1f48
Consolidate "Jiang" citations
2021-12-06 14:07:36 -05:00
b0305a09e9
whitespace
2021-12-06 13:49:13 -05:00
3d3b153b35
add proper symlink
2021-12-06 13:45:04 -05:00
d7c8cb3e48
fix documentation issues
2021-12-06 05:57:52 +02:00
e36029293a
update documentation and examples
2021-12-04 17:38:29 +02:00
8aee8cc427
tweak documentation
2021-12-03 17:20:07 -05:00
8bc1f8b9ea
whitespace
2021-12-03 17:16:54 -05:00
085de6f857
update test and add test using maxdelcs keyword with non-default values
2021-12-03 17:16:46 -05:00
c72771ae1d
align with non-OpenMP version
2021-12-03 17:16:08 -05:00
6b28816c11
must set defaults for (optional) maxdelcs keyword, add consistency check
2021-12-03 17:15:44 -05:00
71edaca36c
update unit test reference
2021-12-03 14:20:23 -05:00
2d6e4d4d79
Merge branch 'develop' into nm_split_styles
2021-12-03 14:18:07 -05:00
405fea44da
convert from CR-LF to consistent line endings
2021-12-03 14:17:31 -05:00
859e0348ea
fixed some issues
2021-12-03 17:45:31 +02:00
1dd4a67771
add keyword for userdefined maxdelcs
2021-12-03 17:32:08 +02:00
262c103aaa
replacing hard-coded values with named constants
2021-12-03 15:46:00 +02:00
9a90803b23
Merge pull request #2984 from lammps/delete-atoms-porosity-group
...
Add new group arg for delete_atoms porosity
2021-12-02 16:07:49 -05:00
9307a376aa
Merge pull request #3044 from ellio167/kim-lib-install-py
...
Adjustments to lib/kim/Install.py and docs
2021-12-02 15:43:03 -05:00
ef90089d8d
Merge pull request #2867 from ndtrung81/gpu-newton-pair-on
...
Enabled newton pair on for gpu pair styles
2021-12-02 15:42:34 -05:00
2ba5aeec31
whitespace
2021-12-02 15:30:53 -05:00
4ecb894d9d
simplify by using new API
2021-12-02 15:27:06 -05:00
637c6bf28a
Merge branch 'develop' into delete-atoms-porosity-group
2021-12-02 15:15:47 -05:00
fc0aa0e844
Merge pull request #3043 from rbberger/container_updates
...
Container updates
2021-12-02 14:43:20 -05:00
42df189abd
update .gitignore
2021-12-02 13:49:26 -05:00
2527eb5914
reorganize integration of sw/mod into the sw pair style docs
2021-12-02 12:47:18 -05:00
3dff9cf2c1
update false positives
2021-12-02 12:27:54 -05:00
8847f359ba
integrate sw/mod pair style into documentation
2021-12-02 12:23:01 -05:00
7651be3e02
add force style test
2021-12-02 12:20:33 -05:00
ecd51ba4fe
remove obsolete/redundant files
2021-12-02 12:20:10 -05:00
718a9e2bae
whitespace
2021-12-02 12:13:12 -05:00
c33e6538bb
simplification by deriving pair style sw/mod/omp from sw/omp instead of sw/mod
2021-12-02 12:12:57 -05:00
3bf171d753
move pair sw/mod/omp to correct location
2021-12-02 12:01:05 -05:00
30d3b2c209
merge rst files and add omp style
2021-12-02 15:46:00 +02:00
47f578bcca
Fixup typos
2021-12-01 21:15:28 -06:00
65d31dfeb1
Adjustments to lib/kim/Install.py and docs
2021-12-01 16:49:00 -06:00
c03cdfdf60
Add libyaml-cpp dev package
2021-12-01 14:00:08 -05:00
195455faa8
Update GPU and NVIDIA container definitions
2021-12-01 13:48:54 -05:00
01ddfe95f0
prepare fix plumed to be compatible with version 2.8
2021-12-01 13:44:56 -05:00
e75312ddf6
Update ROCm containers to v4.5.0
2021-12-01 13:24:07 -05:00
ff919af3ef
Update container bundled PLUMED to v2.7.3
2021-12-01 11:39:05 -05:00
4d4c04dd7c
include support for building with plumed 2.7.3 and 2.6.5
2021-12-01 10:56:23 -05:00
e0770a2ac0
Add Ubuntu 20.04 OneAPI container definition
2021-12-01 10:41:01 -05:00
3bc36070a9
fix the invoking issue
2021-12-01 04:56:46 +02:00
8589ecd6c1
Merge pull request #3019 from stanmoore1/kk_update_3.5.0
...
Update Kokkos library in LAMMPS to v3.5.0
2021-11-30 16:58:38 -05:00
b3d7904120
Update docs
2021-11-30 11:12:30 -07:00
420c1097a9
Update Kokkos CMake file
2021-11-30 11:02:11 -07:00
b2410ee70b
Update Kokkos library in LAMMPS to v3.5.0
2021-11-30 10:57:43 -07:00
c0b827e006
Merge branch 'kk_update_3.5.0' of github.com:stanmoore1/lammps into kk_update_3.5.0
2021-11-30 10:52:51 -07:00
b61fc38711
Merge branch 'develop' of github.com:lammps/lammps into kk_update_3.5.0
2021-11-30 10:52:21 -07:00
4a05628938
bug fixes from Doug Spearot
2021-11-30 08:22:38 -07:00
8556b71949
derived class of sw
2021-11-30 10:14:20 +02:00
f1c52ddb5c
make documentation of a few pair styles more consistent with the rest
2021-11-29 15:57:11 -05:00
597054edf3
A modification to SW potential
2021-11-29 16:08:32 +02:00
ddf97fa8fc
tweak error messages
2021-11-24 15:34:43 -05:00
2a68c6edba
add (global) restart support to fix charge/regulation
2021-11-24 15:34:30 -05:00
ae0f4dcfc1
generate atom tags for newly created atoms, if tags are enabled. triclinic support.
2021-11-24 15:33:32 -05:00
4d19895a88
Merge branch 'master' into delete-atoms-porosity-group
2021-11-23 16:05:02 -07:00
2c5441257e
Disable tersoff with shift flag tests for kokkos_omp
2021-11-23 15:03:48 -05:00
9517467113
Add missing KOKKOS suffix in PairTersoffZBLKokkos
2021-11-23 14:56:35 -05:00
0b87039fbb
Skip MolPairStyle:hybrid-scaled test for kokkos_omp
2021-11-23 14:28:59 -05:00
2f6bf29adf
Fixup kokkos_omp test for dpd
2021-11-23 14:06:02 -05:00
d365cc7dfc
Add missing destroy_kokkos() calls in pair_lj_gromacs_kokkos.cpp
2021-11-23 13:57:53 -05:00
b603346a0d
Skip kspace-pppm_ad test for kokkos_omp
2021-11-23 13:56:19 -05:00
51c627df76
Add SCOPED_TRACE for better test error messages
2021-11-23 12:22:01 -05:00
073b586eee
Add EXPECT_POSITIONS() and EXPECT_VELOCITIES() test utils
2021-11-23 12:21:27 -05:00
32a53a1ae3
Use EXPECT_FORCES() in more testers
2021-11-23 11:46:33 -05:00
615b7ceca2
Simplify EXPECT_FORCES() utility function
2021-11-23 10:59:40 -05:00
946fd6fb55
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-11-23 10:46:22 -05:00
68360b9335
Add test utility method EXPECT_FORCES()
2021-11-22 16:27:18 -05:00
1a4511bb8d
Merge pull request #3034 from akohlmey/mixing-info
...
Provide information about pair_coeff mixing and improve hybrid docs
2021-11-22 16:22:24 -05:00
62b236a7cd
Use platform::path_join in unittest tree and remove redundant code
2021-11-22 15:34:23 -05:00
3d650a6bf7
Add test utility method EXPECT_STRESS()
2021-11-22 15:24:41 -05:00
ef2e51b344
whitespace fixes
2021-11-22 14:58:41 -05:00
6b605e932b
Merge branch 'develop' into mixing-info
2021-11-22 14:58:19 -05:00
a83329a1a7
Merge pull request #3032 from GenieTim/compute-pair-distance-vector
...
Add dx, dy and dz computes to compute bond/local and property/local
2021-11-22 14:50:15 -05:00
bb127603ff
Use platform::unlink in unittests
2021-11-22 14:40:51 -05:00
a6ccdd72ec
Move platform::rmdir docstring to right location
2021-11-22 11:49:09 -05:00
0931da9cad
Cleaned up comments in fix_gpu.cpp
2021-11-20 08:38:13 -06:00
a06c4767a0
Merge branch 'upstream' into gpu-newton-pair-on
2021-11-20 08:30:39 -06:00
f135d8bb4e
Fix issue where direction correction in compute bond/local might not have been correct
2021-11-20 14:34:24 +01:00
a354a763bb
Fix output capture mismatch
2021-11-19 17:14:52 -05:00
780cf82bb0
First version of kokkos_omp test variant
2021-11-19 16:23:05 -05:00
2c8c33fb9a
add slow tag to about 60 tests that take about as much time as the 430 others
2021-11-19 15:59:19 -05:00
b2dae36eb9
discuss mixing informational message
2021-11-19 14:36:00 -05:00
3d4b0121cb
improve pair hybrid documentation with respect to mixing
2021-11-19 14:18:55 -05:00
23d40a1d61
report how many pair_coeff settings parameters were generated from mixing
2021-11-19 13:43:32 -05:00
b55ea05f3b
Add some example tags for force style tests
2021-11-19 09:23:47 -05:00
4ac351eba6
Add tags to force-style tests
...
Adds an optional "tags" entry in the force style test YAML. This is a
comma-separated list of keywords, which are parsed by CMake and added as labels
for CTest. This allows more fine-grained filtering of tests. Any
newly-generated YAML file automatically adds the "generated" tag.
2021-11-19 09:23:31 -05:00
74577fa584
Fix issue where direction correction in compute pair/local might not have been correct
2021-11-19 08:08:07 +01:00
7f17c55198
Merge branch 'develop' of https://github.com/lammps/lammps into compute_phase
2021-11-18 14:08:01 -08:00
4b6090a8cb
Add direction consistency check to pair/local too
2021-11-18 19:28:51 +01:00
36e4e3e746
Add ddx, dy and dz computes to compute bond/local and property/local
2021-11-18 17:22:32 +01:00
15f1c2d960
Fix inaccurate error message
2021-11-18 08:50:09 -07:00
94b11964f8
Write dump header after sort to fix incorrect atom count for multiproc
2021-11-18 08:32:41 -07:00
5616336d5e
Allow sorting with reorderflag for more than 2 billion atoms
2021-11-18 07:59:45 -07:00
29471bd425
Merge branch 'develop' of github.com:lammps/lammps into big_dump_sort
2021-11-17 14:09:51 -07:00
7544f1bcf8
Fixed comm setup bug and external forces bug, still must look into if package omp needs to set external force flag to zero
2021-11-17 11:48:35 -08:00
229ce0a61b
Merge pull request #3027 from yihengwuKP/fix-reorder-remd
...
Fix the indent and ot bugs in reorder_remd_traj.py
2021-11-17 14:11:12 -05:00
377b5b4ab3
Merge pull request #3020 from akohlmey/collected-small-changes
...
Collected small changes and fixes
2021-11-17 14:00:13 -05:00
d178a5ffa3
Extended test script
2021-11-17 13:12:44 +00:00
ef30e3bd35
clarifications and corrections for the discussion of the main git branches
2021-11-17 06:58:44 -05:00
2b480f87f1
fix segfault when using atom style smd as part of a hybrid style
...
also remove redundant for clearing
2021-11-16 21:48:33 -05:00
d576b69dbc
plug memory leaks
2021-11-16 21:41:08 -05:00
d0a4c4467f
replace replicated functionality with shared code in base class
2021-11-16 13:53:52 -05:00
ed8c86d248
correct uninitialized data access bug due to shadowing of a base class member
2021-11-16 10:46:09 -05:00
1c1cd60baf
Fix the indent and ot bugs in reorder_remd_traj.py
2021-11-15 18:21:17 -06:00
766f975b74
Removed the newton checks in the gpu pair styles; reverted to mixed precision in Makefile.cuda
2021-11-13 07:00:12 -06:00
906e78c198
Merge branch 'gpu-newton-pair-on' of https://github.com/ndtrung81/lammps into gpu-newton-pair-on
2021-11-13 06:39:23 -06:00
65fb78b6d5
Finally updated the nm_split_styles, removed hard-coded r0=2^1/6 cutoff
2021-11-12 14:44:18 -05:00
f733453f05
Intpos ( #11 )
...
* hbond comm added for rsq_hb
* lrefpos removed, extract scaled for oxDNA1
* Update pair_oxdna_hbond.cpp
* nxyz extract scaled across DNA2/RNA2
* oxDNA2/RNA2 updated to match oxDNA styling from upstream merge
* whitespace corrections
also removed unnecessary local unit vector from oxRNA2_xstk
* whitespace correction in oxdna_coaxstk
2021-11-10 09:25:13 +00:00
3b30fbb218
Merge branch 'lammps:develop' into intpos
2021-11-10 09:13:00 +00:00
367c9dff05
Compilable kokkos dynamical matrix command
2021-11-09 15:21:39 -08:00
25db8a21bc
account for increased floating point errors when summing numbers to zero
2021-11-07 08:29:16 -05:00
ac6654cf0c
skip MPI tests if they would be oversubscribing the available processors
2021-11-07 08:28:16 -05:00
16c50b3873
whitespace
2021-11-07 08:27:25 -05:00
7c5640c1c9
we may call ->set_molecule() only in MOLECULE mode
2021-11-05 16:27:58 -04:00
49258e9301
add missing assignment
2021-11-05 16:19:19 -04:00
03e3dfa94d
Merge branch 'develop' of https://github.com/lammps/lammps into kk_update_3.5.0
2021-11-05 13:46:50 -04:00
d1403c62c8
update restrictions note for dump_modify
2021-11-05 10:56:54 -04:00
ebb3dcd9ff
Remove error message
2021-11-04 20:20:07 -06:00
07a25144ee
Remove error from dump.h
2021-11-04 20:06:30 -06:00
136c15a8ba
Allow dump sort to work with more than 2 billion atoms
2021-11-04 19:59:48 -06:00
a4ceda9706
Merge pull request #2940 from akohlmey/multi-config-support
...
Support multi-config builds with CMake
2021-11-04 15:21:58 -07:00
5e7f2cf54f
Changed tab spacing from 4 to 2, to be in line with lammps standards
2021-11-04 14:33:16 -07:00
18c78e1625
Merge branch 'master' into OptimizedDynamicalMatrix
2021-11-04 14:23:50 -07:00
b3c5f6a4fd
whitespace
2021-11-04 16:48:29 -04:00
935c17f02e
Document multi-configuration build support in CMake
2021-11-04 16:32:21 -04:00
1a940e052e
add support for and apply clang-format to lammps-shell code
2021-11-04 15:55:28 -04:00
aab4f71019
Merge branch 'develop' into multi-config-support
...
# Conflicts:
# unittest/force-styles/test_error_stats.cpp
2021-11-04 15:50:49 -04:00
2cd862e4a2
Update lebedeva potential file and docs based on email on mailing list
...
https://matsci.org/t/lammps-users-webpage-and-parameter-file-for-the-lebedeva-potential/39059
2021-11-04 15:24:41 -04:00
8e89c7c654
correct unit description of eta_n0 parameters. fixes #3016
2021-11-04 15:24:41 -04:00
825945f783
mention that dump sorting is limited to less than 2 billion atoms
2021-11-04 15:24:41 -04: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
3ec3085f39
Merge pull request #3017 from akohlmey/portability-improvements
...
Portability improvements
2021-11-04 12:21:11 -07:00
564098e629
Update Kokkos library in LAMMPS to v3.5.0
2021-11-04 12:45:59 -06:00
0909b4da92
Updated dynamical matrix command to work with intel potentials
2021-11-04 11:35:31 -07:00
7c80911f66
whitespace
2021-11-03 15:23:29 -04:00
439f997a10
skip test for file not readable due to permissions on windows
2021-11-03 14:54:38 -04:00
62fc7b6fa0
small tweaks to make replacing the CMakeLists.txt file work as expected
2021-11-03 14:44:16 -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
b7bf60ea53
use the portable platform::unlink() instead of unlink()
2021-11-03 14:26:50 -04:00
b86a3a5d6b
Added missing }
2021-11-03 10:24:22 -07:00
5241f93641
Update third order format
2021-11-03 10:12:17 -07:00
35ff47411b
Merge branch 'multi-config-support' of github.com:akohlmey/lammps into multi-config-support
2021-11-03 12:35:40 -04:00
7f0b2334a5
update plugin loader test
2021-11-03 11:52:32 -04:00
b95e12bb6c
add additional function argument where we can supply our own CMakeLists.txt file
2021-11-03 11:50:39 -04:00
eb3f928f31
tweak epsilon for portability with windows
2021-11-03 10:54:40 -04:00
1ad982aa85
improve portability of unit test code for windows compilers
2021-11-03 10:54:21 -04:00
50f39cd752
implement and use a platform neutral abstraction of unsetenv(3)
2021-11-03 10:53:45 -04:00
e8f6024eae
Fixed more whitespace issues
2021-11-03 11:46:56 +00:00
fc4fdd09ef
Fixed more whitespace issues
2021-11-03 11:44:29 +00:00
a37a113044
Merge branch 'lammps:develop' into intpos
2021-11-03 11:02:01 +00:00
b8970366e0
Fixed whitespace issues
2021-11-03 10:59:04 +00:00
7ba211a727
Update dynamical matrix format
2021-11-02 21:57:55 -07:00
a9c6f943e1
correct test comparisons
2021-11-02 23:07:44 -04:00
6479116419
Merge branch 'develop' into multi-config-support
2021-11-02 16:39:12 -04:00
515ef7bece
Merge pull request #3015 from lammps/dump-image-doc
...
Move dump_modify options specific to image/movie to dump image doc page
2021-11-02 13:22:27 -07:00
80579593e0
Merge pull request #3014 from akohlmey/collected_small_changes
...
Collected small changes and bugfixes
2021-11-02 13:02:31 -07:00
b044a2f88b
switch to https protocol for cloning MathJax
...
https://github.blog/2021-09-01-improving-git-protocol-security-github/
2021-11-02 15:26:45 -04:00
d3af16c1fd
Merge branch 'develop' into collected_small_changes
...
# Conflicts:
# src/fix_vector.cpp
2021-11-02 14:41:16 -04:00
71d48bc48a
Merge branch 'cmake_fixes' of https://github.com/pzeiger/lammps into collected_small_changes
2021-11-02 14:36:59 -04:00
91e6586e05
reorder
2021-11-02 14:35:36 -04:00
817e38fe68
change references to git:// protocol for accessing github to https://
2021-11-02 14:33:21 -04:00
278e531c14
fix typo
2021-11-02 14:33:00 -04:00
175f967051
change references to git:// protocol for accessing github to https://
2021-11-02 14:25:57 -04:00
59c060cc0e
switch to https protocol for cloning MathJax
...
https://github.blog/2021-09-01-improving-git-protocol-security-github/
2021-11-02 14:14:08 -04:00
0439671e86
Merge pull request #3001 from akohlmey/modify-fix-compute-accessors
...
Add accessor functions to `Modify` and `Domain` that do not require using class internal data structures
2021-11-02 11:02:01 -07:00
628091c510
add reference instead of replicating headline
2021-11-02 13:33:08 -04:00
a58242f24b
couple last tweaks to make the pages easier to navigate
2021-11-02 09:27:27 -06:00
dfc68e3c75
add header for dump_modify command summary
2021-11-02 08:49:34 -04:00
cf968ef286
Intpos ( #10 )
...
* hbond comm added for rsq_hb
* lrefpos removed, extract scaled for oxDNA1
* Update pair_oxdna_hbond.cpp
2021-11-02 09:52:56 +00:00
bb176318fe
Merge branch 'lammps:develop' into intpos
2021-11-02 09:48:24 +00:00
7a228eedd2
move dump_modify options specific to image/movie to dump image doc page
2021-11-01 15:16:39 -06:00
9caad2be4d
update security statement
2021-11-01 09:59:38 -04:00
d5bfa09faa
modernize argument parsing
2021-11-01 09:19:33 -04:00
0bc9f887ec
fix index error
2021-10-31 19:46:37 -04:00
6b3ddb8a72
fix logic bug
2021-10-31 19:29:12 -04:00
2e72d6b5a5
Merge branch 'develop' into modify-fix-compute-accessors
2021-10-31 18:25:42 -04:00
bbbde3cc15
fix indexing bug
2021-10-31 18:10:32 -04:00
3887b08c1d
update new LAMMPS paper citation info
2021-10-31 18:10:32 -04:00
64764cc7b0
clarify the difference between C++ and Fortran versions of MEAM
2021-10-31 18:10:31 -04:00
4f0f791417
use new API, join loops, modernize
2021-10-31 17:37:43 -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
4395530756
bugfix
2021-10-28 23:38:32 -04:00
ac4f2b2a32
use updated APIs
2021-10-28 23:25:04 -04:00
212d699078
implement Domain::get_region_by_id()
2021-10-28 23:24:38 -04:00
b15c02e3cd
Merge pull request #3012 from akohlmey/reserved_data_section_keywords
...
Check for reserved data section keywords - update fix processing for data files
2021-10-28 19:52:27 -04:00
ed5c0e74d4
Merge pull request #3011 from stanmoore1/kk_bug
...
Revert some changes in 7960a2d
2021-10-28 19:50:27 -04:00
9ae05facb8
Updating file locations to master locations
2021-10-28 16:32:04 -07:00
440a517a5e
update fix rigid + property/atom example to avoid runtime failure
2021-10-28 17:01:12 -04:00
7dbbb9a0e6
refactor fix cmap to use current style and modernized parsing
2021-10-28 16:54:53 -04:00
adf1beea74
add mechanism to check for known data file section names
...
using this mechanism we can reject custom section names that will
conflict with existing section names and thus avoid misleading errors.
apply this also to fix property atom, where the section name is
determined by the fix ID.
in addition, allow to specify NULL as section name, which will use
the fix ID.
2021-10-28 14:23:27 -04:00
e734eb837f
Revert some changes in 7960a2d7d2
2021-10-28 08:39:17 -06:00
608ad0bca0
Merge branch 'lammps:develop' into intpos
2021-10-28 09:48:17 +01:00
c8512249b7
Merge branch 'develop' into modify-fix-compute-accessors
...
# Conflicts:
# src/PLUGIN/plugin.cpp
2021-10-27 21:14:05 -04:00
4a048e3f57
Merge pull request #3008 from akohlmey/next_patch_release
...
Update version strings for next patch release
2021-10-27 20:19:33 -04:00
f72b532f0f
Merge pull request #3009 from rbberger/collected_small_changes
...
Collected small changes
2021-10-27 19:31:22 -04:00
95d08c6667
update all makefiles to use DYN_LIB variable from master makefile
2021-10-27 17:41:16 -04:00
18a7c15441
forward DYN_LIB variable to Makefile.mpi
2021-10-27 17:21:38 -04:00
9424571ce2
Use correct sizeof in memset
2021-10-27 17:01:03 -04:00
153e77864d
Use LAMMPS_THIRDPARTY_URL variable for EIGEN3_URL
2021-10-27 16:45:08 -04:00
4ea848b4e9
Merge pull request #3002 from akohlmey/more-clang-tidy-refactoring
...
Third chunk of semi-automatic refactoring with clang-tidy
2021-10-27 16:38:28 -04:00
2e9cdfa6dc
Merge remote-tracking branch 'origin/develop' into collected_small_changes
2021-10-27 16:38:01 -04:00
51bd05bb77
Make update_downloads.sh detect new URLs and report error
2021-10-27 16:33:21 -04:00
addb087aac
Merge branch 'lammps:develop' into intpos
2021-10-27 21:29:56 +01: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
a329de81bf
Update source URLs for offline compilation tool
2021-10-27 15:56:28 -04:00
28d86578a3
update version strings for next patch release
2021-10-27 15:26:58 -04:00
da3115be2c
Merge branch 'develop' into more-clang-tidy-refactoring
...
# Conflicts:
# src/MANIFOLD/manifold_thylakoid.cpp
2021-10-27 15:23:57 -04:00
bd053d6841
Merge pull request #3004 from akohlmey/collected_small_changes
...
Collected small changes and bugfixes for the next patch release
2021-10-27 14:24:37 -04:00
b5e3d69c82
change downloaded archive name to more closely follow the confvention
2021-10-27 14:23:53 -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
a063209b2b
update URL and filename for offline scripts
2021-10-27 08:31:36 -04:00
c911cd52bb
whitespace
2021-10-27 08:24:07 -04:00
11ee3759df
use consistent formatting
2021-10-27 08:22:18 -04:00
4957c8e382
Merge branch 'develop' into collected_small_changes
2021-10-27 08:20:19 -04:00
cc3349728b
Merge pull request #2997 from stanmoore1/kk_omp_target
...
Add preliminary support for Kokkos OpenMPTarget backend
2021-10-27 08:15:45 -04:00
45359847f2
Merge pull request #3007 from masterleinad/avoid_retrict_icpx
...
Don't use -restrict for icpx
2021-10-27 08:10:09 -04:00
1247f4d67b
add function to print information about available compressions tools
2021-10-26 20:00:55 -04:00
f0318fb874
try to make changing LMP_INC settings less confusing to inexperienced people
2021-10-26 19:16:13 -04:00
3376f3daa8
Remove unused import
2021-10-26 16:48:57 -04:00
008013ddfb
Explicitly check for None
2021-10-26 15:19:46 -04:00
fe9dfc6095
follow Python style guidelines
2021-10-26 14:17:31 -04:00
3d9e4638a7
Don't use -restrict for icpx
2021-10-26 13:08:03 -04:00
3044923cbf
less ambiguous tests for arguments being not None
2021-10-26 12:12:21 -04:00
f783958e39
add test for create_atoms()
2021-10-26 12:11:28 -04:00
20fec49635
Intpos ( #8 )
...
* use the term 'website' consistently (and not also 'web site')
* update for clang-format
* clarify
* split off the programming/submission style guide to a separate file
* Updates to support ROCm 4.3 in GPU package
* update and reorder the description of the process for submitting contributions
* correct and clarify Python compatibility
* refactor style guide and integrate text from issue
* update contribution guidelines for github
* mention when testing may be added
* integrate file with description of include file conventions
* update github workflow doc
* adapt section about domain decomposition from paper
* use a more compact image
* add communication section
* update man page with missing flags and correct URLs
* improve the load imbalance viz
* add section about neighbor list construction
* break large file into multiple smaller files by section and add toctree
* fix typo
* add section about parallelization in the OPENMP package
* add -skipruin to help message
* add discussion of OpenMP parallelization
* spelling
* add section on PPPM
* use larger version of FFT grid comm image
* minor tweak
* Update compute angle doc page
* Update Singularity definitions to use ROCm 4.3
* Update CUDA container definitions to CUDA 11.4
* Update container definitions to include PLUMED 2.7.2
* Update more definition files
* RHEL8/CentOS8 PowerTools is now powertools
* Add Rocky Linux 8 container definition
* Add omega field to numpy_wrapper detection
* Return None in case of null pointer
* Add more atom fields in numpy_wrapper and correct csforce size
* must not clear force array. will segfault in hybrid atom styles
* update example for dynamically loading LAMMPS with current library API
* update example to use current library interface. No need to use the namespace.
* add note to README files about age of the example
* simplify building shared libs on windows
* detect a few more compilers
* Revert "simplify building shared libs on windows"
This reverts commit fa3429ab02 .
* step version strings for next patch release
* fix mingw 32-bit vs 64-bit craziness
* detect C++20 standard
* build "fat" cuda binaries only with known toolkits
* spelling
* Try to improve the pair style hybrid docs
This specifically tries to avoid the ambiguous use of "mixing" and
clarify that similar is still different when pair styles are concerned.
See discussion here: https://matsci.org/t/confusion-about-mixing-and-pair-coeff-section/38317/3
* spelling
* use nullptr
* use symbolic constant
* small optimization
* use cmath header instead of math.h
* use explicit scoping when virtual dispatch is not available.
* cosmetic changes
* simplify/optimize code
* simplify
* Bugfix from Trung for crashes in pppm/gpu without local atoms
* fix typo
* refer to "XXX Coeffs" sections consistently
* small tweaks from static code analysis
* fix small bug
* small tweaks
* simplify and modernize code a little
* use correct data type for MPI calls
* simplify/modernize
* remove dead code
* about 1.5x speedup for pair style comb3 by using MathSpecial::powint()
* small performance optimization for pair style comb
* simplify
* modernize
* simplify
* removed dead code, reformat
* modernize
* use explicit scoping when virtual dispatch is not (yet) available
* reformat for increased readability
* move misplaced #endif and make code more readable
* make sure err_flag is initialized
* modernize
* remove redundant code: all struct members are initialized to defaults in the constructor
* enforce initialization and thus silence compiler warnings
* fix typo
* provide more comprehensive suggestions for GPU neighbor list errors
* add utils::logical() function to complement the *numeric() functions
* Add stable link in docs
* revert modernization change (for now)
* remove unused variable
* include EXTRA-DUMP in "most"
* small tweaks
* simplify
* Add log file printing of KIM search directories in 'kim init'
* use clang-format on kim_init.cpp
* Improve style in response to Axel's suggestions
* initialize all members
* format changes
* simplify. use utils::strdup() more.
* small corrections
* apply fix from balance command to fix balance
* dead code removal
* reformat strings
* implement utils::current_date() convenience function to reduce replicated code
* update list and order of include files from include-what-you-use analysis
* handle changes in GAP repo
* a few remaining updates to include statements
* expand mapping to handle "style_*.h" header files correctly.
* add support for compilation of OpenCL loader on FreeBSD
* more iwyu header updates
* small correction
* fix typo
* a few more (final?) IWYU updates
* expand tests for numeric values
* return int instead of bool to minimize code changes
* fix spelling issues
* some applications of the new function
* fix typo
* Change "offsite" to "external" to correct broken URLs to lammps.org
* improve error message
* insert missing atom-ID
* convert yes/no on/off flags in the package command(s)
* update version strings
* update death tests for change in error message
* correctly specify the destructor function name.
* apply utils::logical() to more commands
* apply utils::logical() in more places
* for consistency with utils::logical()
* only accept lower case to be consistent with the rest of the input
* a few more converted commands and updates for unit tests
* modernize and fix some memory leaks
* adjust for compatibility with C++20 compilers
* do not downgrade C++ standard when adding the KOKKOS package
* undo "risky" C++20 related changes
* mention how to set the path to the fftw3_omp library
* correct paths to downloaded PACE package sources in lib
* Update CMake variable descriptions
* possible workaround for some GPU package neighbor list issue
* final chunk of changes to apply utils::logical()
* update suffix command unit tests
* update citation info with new LAMMPS paper reference and acknowledge it
* update some formulations as suggested by @sjplimp
* add check and suitable error message when fp64 is required but not available
* do not call memset on a null pointer
* fix string formatting bugs in fix npt/cauchy
* must use a soft core potential to avoid a singularity
* in floating point math a*b may be zero even if both a>0 and b>0
* use proper integer type for atom IDs
* Building voro++ lib as part of LAMMPS requires the "patch" program
* silence output from hwloc when launching LAMMPS
* detect double precision support according to OpenCL specs (1.2 and later)
* Fix bug in Kokkos pair_eam_alloy
* calling fwrite() with a null pointer causes undefined behavior. avoid it.
* cosmetic
* apply current include file conventions
* include zstd libs in windows build
* update .gitignore for recent additions
* make check more obvious
* step version strings for stable release
* Adjust for kim-api bug
* cleaner variant of version check, add directory numbering
* hbond comm added for rsq_hb
* rsq_hb removed, exyz added (no MPI comm yet)
* Fix Colvars output files not written with "run 0"
See:
https://github.com/Colvars/colvars/commit/ff2f0d39ee5
which fixes a bug introduced in:
https://github.com/Colvars/colvars/commit/1e964a542b
The message applies to NAMD, but the logic used in LAMMPS when handling "run 0" is very similar.
The Colvars version string is also updated, however this commit does not
include other changes, such as the following:
https://github.com/Colvars/colvars/pull/419
which were not fully completed before the LAMMPS Summer 2021 finalization.
* add -std=c++11 to a number of machine makefiles for traditional make build
* copy request to mention lammps.org form home page instructions for citing
* be more specific about what the name of the LAMMPS executable can be
also provide a few more examples without a machine suffix
* small tweak
* remove references to USER packages, have package lists alphabetically sorted
"make package-update" or "make pu" must be processed in the special order
because of inter-package dependencies
* make "make package-update" and "make package-overwrite" less verbose
* freeze versions of pip packages for processing the manual of the stable version
this way we avoid surprises in case one of the packages get updated
to an incompatible new version. these are know-to-work versions.
* make sure the one_coeff flag is applied to sub-styles
since the check for Pair::one_coeff was moved to the Input class (to
reduce redundant code), hybrid substyles could "escape" that requirement.
Thus checks have to be added to the hybrid coeff() methods.
* Prevent neigh list from copying "unique" stencil/bin
* compiling ML-HDNNP with downloaded n2p2 lib requires the sed command
* detect and error out if BLAS/LAPACK libraries variables are a list
This will cause external project compilation to fail since the semi-colons
are converted to blanks, but one cannot properly escape the variables.
So far the only viable solution seems to be to convert the scripts from
using ExternalProject_add() to FetchContent and add_subdirectory()
* portability improvement
* must have patch command available to compile ScaFaCoS
* only need Tcl not Tk to compile Tcl swig wrapper
* correctly handle Tcl stub library if available
* add missing keyword
* hbond_pos added, MPI and values ok, Pair time slow.
* make C library example work with strict C compilers
* silence compiler warnings
* make Nevery keyword per-reaction
* recover cross-compilation with mingw64
* reverted wrong approach from last commits
- now intpos flag
- hbond_pos added
- (a/b)xyz WiP
* lrefpos working in serial, MPI wrong
* attempt to merge doubles into n(xyz)[3]
* save
* Update pair_oxdna_hbond.cpp
* hbond now working for MPI, comming lrefpos
* extracting nxyz in excv/bond working
Co-authored-by: Axel Kohlmeyer <akohlmey@gmail.com >
Co-authored-by: Richard Berger <richard.berger@temple.edu >
Co-authored-by: Ryan S. Elliott <relliott@umn.edu >
Co-authored-by: Stan Gerald Moore <stamoor@sandia.gov >
Co-authored-by: Giacomo Fiorin <giacomo.fiorin@gmail.com >
Co-authored-by: Jacob Gissinger <jrgiss05@gmail.com >
Co-authored-by: Oliver Henrich <ohenrich@users.noreply.github.com >
2021-10-26 16:45:44 +01:00
2a9a8adfc0
apply clang-format
2021-10-26 06:41:00 -04:00
886d6702c4
remove dead code
2021-10-26 06:38:47 -04:00
5141a80142
remove useless logical
2021-10-26 06:38:35 -04:00
30001f2698
use preprocessor
2021-10-26 06:37:59 -04:00
4551bf4bc0
yaml-cpp-pace: bugfix in CMakeLists.txt
2021-10-26 10:19:11 +02:00
8bf016eaef
use references when looping over fixes from list
2021-10-25 21:41:57 -04:00
52d99700ec
Download and compile modified YAML-cpp 0.6.3 in namespace YAML_PACE
2021-10-25 17:34:08 +02:00
d0416757b7
simplify using new APIs
2021-10-24 18:00:15 -04:00
a782f8f8e0
more specific warning about atoms inability to move
2021-10-24 17:59:30 -04:00
29a44e7065
remove parser_error exception class ambiguity completely
2021-10-23 04:25:20 -04:00
71a24580b8
remove parser_error exception class ambiguity completely
2021-10-23 04:24:54 -04: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
7abcdc8c4c
use anonymous namespace to manage visibility of multiple copies of parse_error class
2021-10-22 16:16:08 -04:00
47eab736bb
use anonymous namespace to manage visibility of multiple copies of parse_error class
2021-10-22 16:14:06 -04:00
c08093f768
modernize, avoid static buffers, use utility functions, remove debug code
2021-10-22 16:00:01 -04:00
7960a2d7d2
Fix link error with fix_acks2_reaxff_kokkos
2021-10-22 19:13:31 +00:00
b6c610ada2
tweak epsilon for portability to MSVC compilers
2021-10-22 14:12:19 -04:00
89808266dd
remove obsolete file
2021-10-22 13:46:13 -04:00
4edd5238b1
improve putenv() and unsetenv() implementation on windows by using _putenv_s()
2021-10-22 13:21:45 -04:00
0901540fda
Remove deprecated Kokkos code
2021-10-22 16:41:26 +00:00
3cce6b46e2
Fix thread divergence issue when not using CUDA/HIP
2021-10-22 16:20:37 +00:00
7318aa49d8
set define for static linkage to avoid issues linking libyaml on windows
2021-10-22 12:12:20 -04:00
614b751f5f
Add missing brace
2021-10-22 16:09:46 +00:00
228187978d
Merge branch 'develop' of https://github.com/lammps/lammps into kk_omp_target
2021-10-22 16:08:00 +00:00
5c9a4f4be0
implement platform abstraction of unsetenv()
2021-10-22 11:05:32 -04:00
69f5e1feac
Enable testing for Debug configurations in VS
2021-10-22 09:25:44 -05:00
bd9ad288b9
recover compilation of test on windows
2021-10-22 09:13:07 -05:00
d7d1c84b35
only build a custom YAML lib, if not installed
2021-10-22 08:56:00 -04:00
ced96441ef
update hash after change in repo
2021-10-22 08:44:30 -04:00
ad81dd3960
recover original new style library target names through ALIAS library definitions
2021-10-22 08:23:49 -04:00
b57c8bda51
build yaml library using custom CMakeLists.txt file
2021-10-21 23:39:56 -04:00
8d6461ffcd
whitespace
2021-10-21 23:39:14 -04:00
a796d6b824
fix logic bug
2021-10-21 21:04:15 -04:00
7cc5092547
make portable to MSVC++
2021-10-21 21:01:59 -04:00
7d16078cf4
always use .so suffix for plugins
2021-10-21 19:35:48 -04:00
3869e3fce8
adjust for compiling on windows
2021-10-21 19:27:59 -04:00
6ad03498c3
make finding plugins for testing multi-config compatible
2021-10-21 19:22:01 -04:00
e75757007e
always compile position independent code
2021-10-21 19:21:34 -04:00
6e3fcce9e1
move download and extract code into function
2021-10-21 17:35:49 -04:00
d8db9dd3ac
Merge branch 'develop' into multi-config-support
...
# Conflicts:
# cmake/Modules/GTest.cmake
2021-10-21 10:26:31 -04:00
ede188652b
update a few GPU kernels so they can be compiled on GPUs without double precisions support
2021-10-21 07:33:00 -04:00
a0b25acf35
refactor loops using (auto var : container) syntax
2021-10-20 21:58:31 -04:00
85433e8bd1
use true/false instead of 1/0 detected and changed by clang-tidy
2021-10-20 12:41:02 -04:00
682f862f43
apply clang-format
2021-10-20 06:56:54 -04:00
2e362b1f3f
use get_(fix|compute)_by_id() instead of find_(fix|compute)()
2021-10-20 06:56:46 -04:00
8cd4460c62
fix typo
2021-10-19 15:50:19 -04:00
89d70aeabf
work around issue with skipping creation of fix RESPA for whichflag == 0
2021-10-19 15:50:09 -04:00
2857577dda
replace find_region_by_style() with get_region_by_style() with same semantics as find_fix_by_style()
2021-10-19 12:38:00 -04:00
597ee207b1
remove now obsolete find_fix_by_style() and find_compute_by_style() members
2021-10-19 12:37:02 -04:00
3ae0aae018
update remaining uses of find_fix_by_style()
2021-10-19 12:36:31 -04:00
162789ad7f
Merge branch 'develop' into modify-fix-compute-accessors
2021-10-19 12:00:43 -04:00
84666543d1
Merge pull request #2998 from akohlmey/collected_small_changes
...
Collected small changes and bugfixes
2021-10-19 10:33:51 -04:00
1cd0551197
more direct version of clearing out loaded plugins
2021-10-19 08:27:49 -04:00
81a5beb8cc
must not have folders names differing only in case: "MC" versu "mc"
...
This is causing problems on MacOS and Windows with case preserving
but case insensitive file systems.
2021-10-18 18:13:21 -04:00
f9e99f1f4c
wipe out all loaded plugins before destroying the LAMMPS instance
2021-10-18 18:04:04 -04:00
241c816ad3
adapt fix shake and pair style spin
2021-10-18 17:29:25 -04:00
0e369fb9b5
update example to represent recent style changes.
2021-10-18 13:47:29 -04:00
5e102e1bfe
ML-PACE.cmake: find_package(yaml-cpp 0.6.3 EXACT QUITE) first, otherwise dowload from github/yaml-cpp tag 0.6.3
2021-10-18 18:43:38 +02:00
87b63f768f
Only check for GPU double precision support if a GPU is present
2021-10-18 12:15:05 -04:00
fc0e6af7dd
fix memory leaks
2021-10-18 07:11:55 -04:00
dd2ff737f1
port mdi/engine command to new fix accessor API
2021-10-18 06:50:28 -04:00
11a4920b30
refactor PERI package pair styles to use new accessors and to increase code sharing
2021-10-18 06:47:01 -04:00
f6fb392c4d
convert some more styles to use the new APIs
2021-10-17 19:19:23 -04:00
26b368848b
Add support for an "Update #" appendix to the version string
...
This is for informative output only, so that any code depending
on the LAMMPS_VERSION define will not have to be changed and no
warnings will be printed etc.
2021-10-17 18:06:29 -04:00
1e9da5a25b
port dump vtk to correctly support custom per-atom arrays and fix some bugs
2021-10-17 10:58:33 -04:00
6145ef9cd2
fix bugs related to custom per-atom properties in dump style custom
2021-10-17 10:57:16 -04:00
702d861a58
update to use new accessor APIs
2021-10-16 22:31:23 -04:00
064e7fde2f
must not dereference null pointer
2021-10-16 22:30:38 -04:00
f392b089a4
modernize
2021-10-16 21:40:17 -04:00
cfdf9cee5d
modernize
2021-10-16 21:28:18 -04:00
e990a1cf61
remove ambiguity between "double_precision" class member variable and function
2021-10-16 21:07:04 -04:00
8cf030e476
small tweak for mixed precision GPU runs
2021-10-16 07:28:16 -04:00
59d79ce176
update googletest to version 1.11
2021-10-16 07:16:40 -04:00
5b40e4cb38
new accessor APIs for fixes and computes in Modify plus a few applications
2021-10-16 06:00:28 -04:00
ab30ed4ca9
modernize
2021-10-16 05:35:24 -04:00
83e58eadb7
correct expansion of fix/compute/variable arguments to avoid bogus thermo outpu
2021-10-15 20:23:31 -04:00
6827f71f26
pppm kspace styles also require -DFFT_SINGLE when using GPUs in single precision
2021-10-15 20:23:07 -04:00
47523da16b
allow single precision FFT introspection
2021-10-15 20:03:39 -04:00
222063e5cf
Add preliminary support for Kokkos OpenMPTarget backend
2021-10-15 17:32:37 -06:00
20cd742b4a
whitespace & urls
2021-10-15 15:59:15 -06:00
fa412c13aa
Add compute phase/atom
2021-10-15 15:43:26 -06:00
5140d26748
plug memory leaks
2021-10-15 16:59:53 -04:00
98cdfa1016
fix bug detected by coverity scan
2021-10-15 09:29:47 -04:00
ef04f6ca69
Merge pull request #2993 from akohlmey/collected_small_changes
...
Collected small changes and fixes
2021-10-14 15:32:42 -04:00
5a90bca49e
Merge pull request #2994 from akohlmey/more-clang-tidy-refactor
...
Second chunk of semi-automatic refactoring with clang-tidy
2021-10-14 13:33:00 -04:00
64268de24b
Merge branch 'master' into collected-small-changes
2021-10-14 13:31:30 -04:00
356dbab587
Merge pull request #2991 from mphowardlab/bugfix-brownian
...
Fix Brownian noise scale factor
2021-10-14 12:23:04 -04:00
cd526ad54c
try to find system libyaml-cpp v.0.6.3 library, otherwise use downloaded one
2021-10-14 15:16:48 +02:00
267bc7ae2d
avoid (unlikely) integer overflows with very large systems
2021-10-14 08:07:43 -04:00
d857685e74
use emplace_back() instead of push_back()
2021-10-14 01:31:48 -04:00
2106075320
use call-by-value with std::move() function
2021-10-14 01:30:18 -04:00
e56cc9be00
use initializer list instead of explicit constructor
2021-10-14 01:12:44 -04:00
27145d2789
catch up on refactoring default destructors that were missed previously
2021-10-14 01:12:04 -04:00
3ad75c40ec
catch up on previous clang-tidy refactor for files that were skipped before
2021-10-13 23:59:43 -04:00
2fba6b44e4
use '= default' when default functions should be used
2021-10-13 23:59:05 -04:00
34d54247b6
Merge branch 'develop' into collected_small_changes
2021-10-13 22:55:21 -04:00
cc416b97f0
Merge pull request #2990 from akohlmey/clang-tidy-refactor
...
First chunk of semi-automated refactoring using clang-tidy
2021-10-13 22:51:25 -04:00
3f3d44bc25
add new files
2021-10-13 22:47:37 -04:00
a1572ce9a5
link with -ldl except on Windows for dlopen/dlclose/dlsym support
2021-10-13 22:47:25 -04:00
f4851e9103
change check for reset image flags to print messages only once per data file
2021-10-13 21:54:18 -04:00
a1fb6902d5
Merge pull request #2992 from lammps/molswap
...
Add a new fix mol/swap command
2021-10-13 21:33:52 -04:00
afad3f42d5
Report only compatible GPU, i.e. no GPU if mixed/double precision is requested by the hardware does not support it
2021-10-13 21:15:16 -04:00
c322064ff3
Merge pull request #2931 from stanmoore1/acks2_release
...
Add ACKS2 charge equilibration method to REAXFF and support for electric fields in qeq/reaxff
2021-10-13 20:27:57 -04:00
c5617dc006
fix spelling and make consistent
2021-10-13 19:25:09 -04:00
660bced187
whitespace, pointer initializer, and permission fixes
2021-10-13 19:17:42 -04:00
69a3b5b215
move common init() code into base class. warn when used with fix efield
2021-10-13 18:54:10 -04:00
a922c91c1a
document restrictions to using ReaxFF charge equilibration with fix efield
2021-10-13 18:53:09 -04:00
06ef216e61
protect against using multiple fix efield instances. improve error messages.
2021-10-13 18:26:09 -04:00
c8dc6c5010
whitespace
2021-10-13 18:25:13 -04:00
547b9850b9
tiny optimization
2021-10-13 18:18:58 -04:00
56ce880b32
update force-style test data with corrected efield strength computation
2021-10-13 18:06:49 -04:00
f206eab338
mv examples/gcmc to mc, add 2 scripts for fix mol/swap
2021-10-13 15:02:33 -06:00
74219585f3
Update log files
2021-10-13 14:03:50 -06:00
5f7e56e1c2
Fix Brownian noise scale factor
2021-10-13 14:51:58 -05:00
9cfb822847
Merge branch 'master' of github.com:lammps/lammps into acks2_release
2021-10-13 13:37:04 -06:00
727a028a6f
Add inputs with field
2021-10-13 13:08:08 -06:00
67673a6055
Fix negative sign in chi_field
2021-10-13 12:30:19 -06:00
552d960b39
Fix double space
2021-10-13 10:43:26 -06:00
87cc67778b
Merge branch 'master' into feature/ml-pace-multispecies
...
# Conflicts:
# src/ML-PACE/pair_pace.cpp
2021-10-13 17:34:29 +02:00
ac8cf33a51
Merge pull request #1 from srmnitc/master
...
Use only itype for scale variable in both forces and energy
2021-10-13 16:53:49 +02:00
1f9ce77c85
Use only itype for scale variable in both forces and energy
2021-10-13 16:34:33 +02:00
d207710b43
lrefpos (nx/y/z) now working in oxdna_hbond. Being comm'ed and MPI working ( #7 )
...
* use the term 'website' consistently (and not also 'web site')
* update for clang-format
* clarify
* split off the programming/submission style guide to a separate file
* Updates to support ROCm 4.3 in GPU package
* update and reorder the description of the process for submitting contributions
* correct and clarify Python compatibility
* refactor style guide and integrate text from issue
* update contribution guidelines for github
* mention when testing may be added
* integrate file with description of include file conventions
* update github workflow doc
* adapt section about domain decomposition from paper
* use a more compact image
* add communication section
* update man page with missing flags and correct URLs
* improve the load imbalance viz
* add section about neighbor list construction
* break large file into multiple smaller files by section and add toctree
* fix typo
* add section about parallelization in the OPENMP package
* add -skipruin to help message
* add discussion of OpenMP parallelization
* spelling
* add section on PPPM
* use larger version of FFT grid comm image
* minor tweak
* Update compute angle doc page
* Update Singularity definitions to use ROCm 4.3
* Update CUDA container definitions to CUDA 11.4
* Update container definitions to include PLUMED 2.7.2
* Update more definition files
* RHEL8/CentOS8 PowerTools is now powertools
* Add Rocky Linux 8 container definition
* Add omega field to numpy_wrapper detection
* Return None in case of null pointer
* Add more atom fields in numpy_wrapper and correct csforce size
* must not clear force array. will segfault in hybrid atom styles
* update example for dynamically loading LAMMPS with current library API
* update example to use current library interface. No need to use the namespace.
* add note to README files about age of the example
* simplify building shared libs on windows
* detect a few more compilers
* Revert "simplify building shared libs on windows"
This reverts commit fa3429ab02 .
* step version strings for next patch release
* fix mingw 32-bit vs 64-bit craziness
* detect C++20 standard
* build "fat" cuda binaries only with known toolkits
* spelling
* Try to improve the pair style hybrid docs
This specifically tries to avoid the ambiguous use of "mixing" and
clarify that similar is still different when pair styles are concerned.
See discussion here: https://matsci.org/t/confusion-about-mixing-and-pair-coeff-section/38317/3
* spelling
* use nullptr
* use symbolic constant
* small optimization
* use cmath header instead of math.h
* use explicit scoping when virtual dispatch is not available.
* cosmetic changes
* simplify/optimize code
* simplify
* Bugfix from Trung for crashes in pppm/gpu without local atoms
* fix typo
* refer to "XXX Coeffs" sections consistently
* small tweaks from static code analysis
* fix small bug
* small tweaks
* simplify and modernize code a little
* use correct data type for MPI calls
* simplify/modernize
* remove dead code
* about 1.5x speedup for pair style comb3 by using MathSpecial::powint()
* small performance optimization for pair style comb
* simplify
* modernize
* simplify
* removed dead code, reformat
* modernize
* use explicit scoping when virtual dispatch is not (yet) available
* reformat for increased readability
* move misplaced #endif and make code more readable
* make sure err_flag is initialized
* modernize
* remove redundant code: all struct members are initialized to defaults in the constructor
* enforce initialization and thus silence compiler warnings
* fix typo
* provide more comprehensive suggestions for GPU neighbor list errors
* add utils::logical() function to complement the *numeric() functions
* Add stable link in docs
* revert modernization change (for now)
* remove unused variable
* include EXTRA-DUMP in "most"
* small tweaks
* simplify
* Add log file printing of KIM search directories in 'kim init'
* use clang-format on kim_init.cpp
* Improve style in response to Axel's suggestions
* initialize all members
* format changes
* simplify. use utils::strdup() more.
* small corrections
* apply fix from balance command to fix balance
* dead code removal
* reformat strings
* implement utils::current_date() convenience function to reduce replicated code
* update list and order of include files from include-what-you-use analysis
* handle changes in GAP repo
* a few remaining updates to include statements
* expand mapping to handle "style_*.h" header files correctly.
* add support for compilation of OpenCL loader on FreeBSD
* more iwyu header updates
* small correction
* fix typo
* a few more (final?) IWYU updates
* expand tests for numeric values
* return int instead of bool to minimize code changes
* fix spelling issues
* some applications of the new function
* fix typo
* Change "offsite" to "external" to correct broken URLs to lammps.org
* improve error message
* insert missing atom-ID
* convert yes/no on/off flags in the package command(s)
* update version strings
* update death tests for change in error message
* correctly specify the destructor function name.
* apply utils::logical() to more commands
* apply utils::logical() in more places
* for consistency with utils::logical()
* only accept lower case to be consistent with the rest of the input
* a few more converted commands and updates for unit tests
* modernize and fix some memory leaks
* adjust for compatibility with C++20 compilers
* do not downgrade C++ standard when adding the KOKKOS package
* undo "risky" C++20 related changes
* mention how to set the path to the fftw3_omp library
* correct paths to downloaded PACE package sources in lib
* Update CMake variable descriptions
* possible workaround for some GPU package neighbor list issue
* final chunk of changes to apply utils::logical()
* update suffix command unit tests
* update citation info with new LAMMPS paper reference and acknowledge it
* update some formulations as suggested by @sjplimp
* add check and suitable error message when fp64 is required but not available
* do not call memset on a null pointer
* fix string formatting bugs in fix npt/cauchy
* must use a soft core potential to avoid a singularity
* in floating point math a*b may be zero even if both a>0 and b>0
* use proper integer type for atom IDs
* Building voro++ lib as part of LAMMPS requires the "patch" program
* silence output from hwloc when launching LAMMPS
* detect double precision support according to OpenCL specs (1.2 and later)
* Fix bug in Kokkos pair_eam_alloy
* calling fwrite() with a null pointer causes undefined behavior. avoid it.
* cosmetic
* apply current include file conventions
* include zstd libs in windows build
* update .gitignore for recent additions
* make check more obvious
* step version strings for stable release
* Adjust for kim-api bug
* cleaner variant of version check, add directory numbering
* hbond comm added for rsq_hb
* rsq_hb removed, exyz added (no MPI comm yet)
* Fix Colvars output files not written with "run 0"
See:
https://github.com/Colvars/colvars/commit/ff2f0d39ee5
which fixes a bug introduced in:
https://github.com/Colvars/colvars/commit/1e964a542b
The message applies to NAMD, but the logic used in LAMMPS when handling "run 0" is very similar.
The Colvars version string is also updated, however this commit does not
include other changes, such as the following:
https://github.com/Colvars/colvars/pull/419
which were not fully completed before the LAMMPS Summer 2021 finalization.
* add -std=c++11 to a number of machine makefiles for traditional make build
* copy request to mention lammps.org form home page instructions for citing
* be more specific about what the name of the LAMMPS executable can be
also provide a few more examples without a machine suffix
* small tweak
* remove references to USER packages, have package lists alphabetically sorted
"make package-update" or "make pu" must be processed in the special order
because of inter-package dependencies
* make "make package-update" and "make package-overwrite" less verbose
* freeze versions of pip packages for processing the manual of the stable version
this way we avoid surprises in case one of the packages get updated
to an incompatible new version. these are know-to-work versions.
* make sure the one_coeff flag is applied to sub-styles
since the check for Pair::one_coeff was moved to the Input class (to
reduce redundant code), hybrid substyles could "escape" that requirement.
Thus checks have to be added to the hybrid coeff() methods.
* Prevent neigh list from copying "unique" stencil/bin
* compiling ML-HDNNP with downloaded n2p2 lib requires the sed command
* detect and error out if BLAS/LAPACK libraries variables are a list
This will cause external project compilation to fail since the semi-colons
are converted to blanks, but one cannot properly escape the variables.
So far the only viable solution seems to be to convert the scripts from
using ExternalProject_add() to FetchContent and add_subdirectory()
* portability improvement
* must have patch command available to compile ScaFaCoS
* only need Tcl not Tk to compile Tcl swig wrapper
* correctly handle Tcl stub library if available
* add missing keyword
* hbond_pos added, MPI and values ok, Pair time slow.
* make C library example work with strict C compilers
* silence compiler warnings
* make Nevery keyword per-reaction
* recover cross-compilation with mingw64
* reverted wrong approach from last commits
- now intpos flag
- hbond_pos added
- (a/b)xyz WiP
* lrefpos working in serial, MPI wrong
* attempt to merge doubles into n(xyz)[3]
* save
* Update pair_oxdna_hbond.cpp
* hbond now working for MPI, comming lrefpos
Co-authored-by: Axel Kohlmeyer <akohlmey@gmail.com >
Co-authored-by: Richard Berger <richard.berger@temple.edu >
Co-authored-by: Ryan S. Elliott <relliott@umn.edu >
Co-authored-by: Stan Gerald Moore <stamoor@sandia.gov >
Co-authored-by: Giacomo Fiorin <giacomo.fiorin@gmail.com >
Co-authored-by: Jacob Gissinger <jrgiss05@gmail.com >
2021-10-13 10:47:41 +01:00
165708adeb
use nullptr in unittest tree
2021-10-12 22:52:50 -04:00
643a7a1acb
replace std::random_shuffle() with std::shuffle() to be compatible with C++17 and beyond
2021-10-12 22:39:30 -04:00
88631372ec
use nullptr instead of NULL or 0 where applicable
2021-10-12 21:47:02 -04:00
dd6f49a753
use 'noexcept' instead of the deprecated 'throw()'
2021-10-12 21:29:33 -04:00
7b6a3c4307
remove redundant void arguments
2021-10-12 21:17:46 -04:00
1002763df3
remove default class members except for the assignment copy constructor
2021-10-12 21:17:00 -04:00
1d1573c5f2
Merge branch 'develop' into multi-config-support
2021-10-12 14:42:32 -04:00
26cd988672
Merge pull request #2989 from rbberger/unittest_bugfixes
...
Avoid file name collisions in dump unit tests
2021-10-12 14:41:25 -04:00
a8f42bd534
tweak to atom/swap doc page
2021-10-12 11:50:04 -06:00
c22dae8d2c
add a new fix
2021-10-12 11:48:26 -06:00
113c53a5da
doc page for new fix mol/swap
2021-10-12 11:45:50 -06:00
0bc6373386
Merge pull request #2983 from akohlmey/collected-small-changes
...
Collected small changes and bugfixes
2021-10-12 13:26:50 -04:00
77d830bf3a
update YAML-CPP library target name to yaml-cpp-pace
2021-10-12 18:15:31 +02:00
a1ff9e35b7
Avoid file name collisions in dump unit tests
2021-10-12 12:15:19 -04:00
0a98ff3c38
add more features to mol/swap, sync with atom/swap
2021-10-12 09:56:51 -06:00
93d6e6dec9
update for new way of using googletest
2021-10-12 11:46:37 -04:00
2651e4650f
use the new name of the main branch
2021-10-11 23:23:24 -04:00
9cf6b927cb
Merge branch 'master' into collected-small-changes
...
# Conflicts:
# src/REAXFF/fix_reaxff_species.cpp
2021-10-11 21:24:11 -04:00
96a45224de
whitespace
2021-10-11 21:10:14 -04:00
27c9ba465b
avoid duplication of Accelerator package info in additional doc pages
2021-10-11 16:49:59 -06:00
eedd953258
remove debug logic
2021-10-11 16:20:19 -06:00
cb77555fa6
update title in reference to accelerator section
2021-10-11 17:26:24 -04:00
510987dc80
Merge branch 'master' into multi-config-support
...
# Conflicts:
# cmake/Modules/Packages/MSCG.cmake
# examples/plugins/CMakeLists.txt
2021-10-11 17:03:41 -04:00
7bed85ef19
add debug statements
2021-10-11 15:00:20 -06:00
e79930dfb9
add check to prohibit using fix efield component in periodic direction with reaxff
2021-10-11 16:48:38 -04:00
4faca6531a
fix typo
2021-10-11 16:35:54 -04:00
a45dbb6510
no need for static string buffers anymore
2021-10-11 16:35:42 -04:00
1f4c50037b
Merge branch 'master' into acks2_release
2021-10-11 16:13:20 -04:00
a6cde11896
Merge pull request #2985 from stanmoore1/kk_issues
...
Fix issues with Kokkos package
2021-10-11 15:27:58 -04:00
2290ade2f2
ensure that fix efield is initialized before accessing its data.
2021-10-11 15:06:24 -04:00
6d2b32f0b2
move chi field calculation to fix qeq/reaxff
2021-10-11 14:35:23 -04:00
2ea4c71125
Merge pull request #2979 from akohlmey/platform-namespace
...
Implement a "platform" sub-namespace with platform specific functions and wrappers
2021-10-11 13:41:15 -04:00
70cbb72e42
Merge branch 'master' into acks2_release
2021-10-11 09:58:44 -04:00
a3e59082bf
small adjustments and apply clang-format
2021-10-11 08:13:44 -04:00
124f7760d8
Merge branch 'master' into feature/ml-pace-multispecies
2021-10-11 07:30:22 -04:00
0c57267a85
update branch names
2021-10-10 04:44:45 -04:00
eb6b73c752
update documentation to refer to the new branch names (develop, release)
2021-10-10 04:39:16 -04:00
54e2e58aec
update fmtlib to version 8.0.1
2021-10-09 23:57:35 -04:00
cf4e671474
Merge branch 'master' into fmt_upgrade
2021-10-09 23:42:17 -04:00
64b27fa28e
only run windows compilation action on master branch in lammps repo
2021-10-09 20:54:18 -04:00
1bbed2579b
try alternate approach to make MSVC++ happy linking STUBS
2021-10-09 20:32:39 -04:00
c3629b5f01
MS VC++ needs to have STUBS with PUBLIC linkage
2021-10-09 20:27:47 -04:00
5ad7e5a815
correct path to preset file and do two quick runs for checking the binary
2021-10-09 19:55:30 -04:00
2e122ff62b
Add GitHub action compiling LAMMPS with Visual C++
2021-10-09 19:46:52 -04:00
f558a5c06f
update LAMMPS homepage URLs
2021-10-09 11:41:54 -04:00
5739621f5c
make single() function consistent with compute() function
2021-10-09 11:33:02 -04:00
c8c3e8f661
use predefined constant and apply optimization for power function with integer argument
2021-10-09 11:27:35 -04:00
3a4b68a464
modernize code
2021-10-09 11:18:33 -04:00
ed23a3aa69
correct comments
2021-10-09 11:18:16 -04:00
018e37a2e9
add unit tests for bond style fene/nm/split and pair style nm/cut/split
2021-10-09 11:06:18 -04:00
7bdf52eac5
do not shadow members of the BondFENE base class and use the corresponding allocation/deallocation
2021-10-09 11:00:19 -04:00
ba44d6aba2
must set define to "see" the lammps_open() library function
2021-10-09 10:20:47 -04:00
dd6e3c1acc
avoid variable length array and signed vs. unsigned warnings
2021-10-08 20:07:20 -04:00
241e01edba
whitespace
2021-10-08 19:00:30 -04:00
c5205be071
update src/.gitignore
2021-10-08 16:25:55 -04:00
a0fc74f1a9
make class names, include guards and formatting consistent. apply clang-format
2021-10-08 16:25:44 -04:00
3313d3bfa3
make documentation consistent and properly integrate it
2021-10-08 16:24:57 -04:00
fc42992cdf
Merge branch 'master' into nm_split_styles
2021-10-08 15:57:17 -04:00
09bcfc2116
document visual studio support
2021-10-08 15:33:49 -04:00
ae0fa17132
make consistent with include files
2021-10-08 15:33:26 -04:00
83bc70bf05
workaround for classic intel compiler on windows
2021-10-08 15:11:16 -04:00
fb137b26bf
silence compiler warnings
2021-10-08 13:59:17 -04:00
46efae5998
needed for compilation on windows. not really used because of platform::walltime()
2021-10-08 13:58:08 -04:00
6e8da80148
adjustments for intel compilers on windows
2021-10-08 13:57:09 -04:00
cc11fa37b2
whitespace
2021-10-08 11:44:09 -04:00
392ebf7db7
revise automatic seed generation
2021-10-08 11:35:55 -04:00
b5061b69be
add warning to fix reaxff/species to explain the impact of large averaging
2021-10-07 20:46:01 -04:00
30c146457a
improve messages
2021-10-07 20:29:01 -04:00
4b86dbd200
add cmake configuration file for visual studio
2021-10-07 17:11:33 -04:00
e12fa57794
A few more tweaks
2021-10-07 17:11:04 -04:00
4fca127ea4
copy MSVC++ compiler hacks to plugin CMakeLists.txt file
2021-10-07 15:59:12 -04:00
d5b3ea263b
awpmd requires blas, mgpt is not portable
2021-10-07 15:45:14 -04:00
5d5cc0ac55
preset with packages that build natively on windows with visual c++
2021-10-07 15:31:26 -04:00
ef8aa4de90
silence warning
2021-10-07 15:29:46 -04:00
3a3f07d91a
use portable logic operators
2021-10-07 15:05:32 -04:00
2b27af1572
fix a few more MSVC issues and reduce warnings
2021-10-07 14:37:37 -04:00
2c7b67203a
recover unit test compile
2021-10-07 13:44:18 -04:00
0f442fddd9
correct use of utils function
2021-10-07 12:40:29 -04:00
6a9bb577cf
rename "zip" functions to "compress" functions. update related docs
2021-10-07 12:38:11 -04:00
4f17082d74
use portable logic operators
2021-10-07 12:23:17 -04:00
3661b8cd50
optimize
2021-10-07 12:22:26 -04:00
a818be585d
use portable functions from platform and utils namespaces
2021-10-07 12:22:16 -04:00
7372211d90
there is no more need to keep a copy of the arguments
...
this also eliminates buffer overflow bugs where the terminating 0 bytes
of copied strings are overwritten causing the fix to fail.
2021-10-07 07:42:13 -04:00
c8ff66e07f
correct file extension for Zstd compressed files
2021-10-07 06:49:49 -04:00
059f450f1b
add uppercase string utility function (for symmetry)
2021-10-07 00:00:33 -04:00
b8d6df6461
add missing platform scope
2021-10-06 20:44:42 -05:00
98d9b675f9
Use portable logical operators
2021-10-06 20:44:27 -05:00
5c34fe4d5d
Replace strcasecmp()
2021-10-06 20:43:56 -05:00
b3ca238a61
silence warning
2021-10-06 17:44:57 -04:00
ef84435b7c
replace non-portable strcasecmp() with comparing two strings converted to lowercase
2021-10-06 17:44:45 -04:00
a9bccee7b2
add utility to convert a string to lowercase
2021-10-06 17:43:41 -04:00
aab3e085a2
silence compiler warning on windows
2021-10-06 16:49:48 -04:00
f643c2b98f
portability changes
2021-10-06 16:34:39 -04:00
50d997526c
a few more MSVC++ tweaks for improved compatibility and fewer warnings
2021-10-06 16:18:21 -04:00
4260d31b85
whitespace
2021-10-06 15:57:33 -04:00
7a1cf322e5
more tweaks for Visual C++ compilation and portability
2021-10-06 15:57:26 -04:00
6c7b42a190
small tweaks and fixes for compiling with MSVC++
2021-10-06 15:24:59 -04:00
ec1a55b35b
use platform code for reading/writing of compressed text file via a pipe
2021-10-06 15:04:48 -04:00
a539c317b3
Revert changes to makefile
2021-10-06 11:43:40 -07:00
3d86a0f5f6
Fix two bugs in compute_orientorder_atom_kokkos
2021-10-06 11:15:34 -07:00
891d4c278f
port dump movie to platform namespace
2021-10-06 14:08:45 -04:00
5059bfe32b
add Stan to Modify class as co-codeowner
2021-10-06 12:09:20 -04:00
d9288ae7e9
whitespace
2021-10-06 08:33:02 -07:00
bbfb2d2712
Add missing code to modify_kokkos
2021-10-06 08:27:25 -07:00
4aae11f8fb
port plugin loader to platform namespace
2021-10-06 08:59:56 -04:00
10a8a1b325
add dlerror() call wrapper
2021-10-06 08:59:51 -04:00
7801d112b3
enable building plugins for windows
2021-10-06 07:10:35 -04:00
9fc23a2bda
make use of platform namespace functions
2021-10-06 07:10:04 -04:00
e3cb5a5e25
restore old version of MPI_Wtime(). we're not using it anyway.
2021-10-06 07:09:36 -04:00
81492533e6
recover serial compilation
2021-10-05 23:19:52 -04:00
8b36061db4
replace MPI_Wtime() with platform::walltime()
2021-10-05 22:53:39 -04:00
f17aeebbcd
make compilable on windows
2021-10-05 22:31:39 -04:00
46eaa4888e
simplify using platform function
2021-10-05 22:31:25 -04:00
cc2d23de21
use platform::cputtime()
2021-10-05 22:31:06 -04:00
087c1b3a65
revive skipped code to detect OS revisions
2021-10-05 22:30:45 -04:00
6f2076a9b8
update docs
2021-10-05 22:11:19 -04:00
b2c4f08bbc
use C++11 functionality to determine wall time
2021-10-05 21:52:52 -04:00
fcdabe0002
implement a platform neutral usleep() using C++11
2021-10-05 17:58:27 -04:00
528050aa08
use platform namespace to delete file
2021-10-05 17:57:38 -04:00
0c6707bf0c
Fix compile issue with bond_class2_kokkos and UVM-enabled
2021-10-05 14:49:30 -06:00
e3e82df995
port "embedded" shell commands to use platform functions
2021-10-05 16:36:06 -04:00
5128eb7b43
port read/write_restart to use the platform namespace
2021-10-05 16:35:37 -04:00
af070aa351
add support for seeking to the end of a file
2021-10-05 15:44:58 -04:00
fc5920812f
new group arg for delete_atoms porosity
2021-10-05 13:07:34 -06:00
f0940104f5
first version of new fix mol/swap command
2021-10-05 11:06:32 -06:00
340207988c
fix a couple more bugs like in 5246cedda6
2021-10-05 10:36:25 -04:00
741cf9c7d5
remove obsoleted include statements
2021-10-05 07:36:22 -04:00
9f2c5116fa
make lammps and msi2lmp man pages use section 1
2021-10-05 07:35:26 -04:00
0bdc6d47e0
port molfile plugin reader to platform namespace
2021-10-04 22:56:23 -04:00
ee594a879b
make use of platform::putenv()
2021-10-04 22:39:43 -04:00
40f683c1a7
use platform functions to handle piping help output to a pager when on a console
2021-10-04 18:14:21 -04:00
7cdd82dee2
use platform functions for averaging fixes
2021-10-04 18:13:46 -04:00
dd2b5b22d4
fix saed/vtk does not use the overwrite option anywhere
2021-10-04 17:22:58 -04:00
485796f387
Merge branch 'master' into platform-namespace
2021-10-04 15:19:12 -04:00
ab51c1bd3d
Merge pull request #2977 from akohlmey/collected-small-changes
...
Collected small changes
2021-10-04 11:07:03 -07:00
c6a15064b3
Merge pull request #2976 from stanmoore1/update_gitignore
...
Update .gitignore file in /src
2021-10-04 10:10:23 -07:00
6e54295b38
pre-built singularity images have been removed due to lack of interest
2021-10-04 11:34:28 -04:00
9d96e10048
silence compiler warning
2021-10-04 07:32:25 -04:00
dc2453a22b
silence some compiler warnings
2021-10-04 06:56:13 -04:00
5246cedda6
Fix misplaced MPI calls bug in pair style drip
2021-10-04 06:50:38 -04:00
203b779622
also update eigen download for traditional build
2021-10-02 23:17:08 -04:00
45ea2b0431
update eigen3 to the latest release and move download to our own server
2021-10-02 22:52:03 -04:00
03f7bf6649
update eigen3 to the latest release and move download to our own server
2021-10-02 22:44:29 -04:00
c341c2c6a9
correct platform call in kim query command
2021-10-02 20:00:53 -04:00
7110e1c15e
small format tweaks
...
- brief description should not end in a dot as it becomes a title line
- add empty line to separate title from body of description
- revert order of file/path separator constants so that the Linux version shows up in doxygen
2021-10-02 18:28:33 -04:00
a6aa3fd3ee
apply clang-format
2021-10-02 18:26:46 -04:00
69a8dfe4d9
whitespace
2021-10-02 18:12:32 -04:00
dcaed72b6d
update embedded docs
2021-10-02 17:29:21 -04:00
c6bdab8b4c
disable optimization of cputime function for MSVC++ to avoid bogus 0s reports
2021-10-02 17:29:05 -04:00
2dcaa47b0e
unfreeze versions of python packages used to build the documentation
2021-10-02 16:55:19 -04:00
37bfe3d0ce
integrate platform sub-namespace into source code and documentation
...
this updates function calls to functions that have been moved from
the utils namepsace or the Info class to platform::
2021-10-02 16:55:11 -04:00
373dbcd9ae
fix typo
2021-10-02 16:40:05 -04:00
35bef7b1d3
unfreeze versions of python packages used to build the documentation
2021-10-02 16:32:58 -04:00
195fe81c60
correct test for loading shared objects and libraries
2021-10-01 23:52:02 -04:00
a8193f42b8
Merge branch 'master' into platform-namespace
2021-10-01 21:58:52 -04:00
0cbf70a385
make compatible with C
2021-10-01 15:24:59 -04:00
60c6669d68
Remove lammpsplugin.h from .gitignore
2021-10-01 13:21:42 -06:00
cf06620538
raise the C++ standard to be at least C++14 when Kokkos is enabled.
...
This still allows to request a later standard for as long as it is C++14 or later
2021-10-01 15:16:40 -04:00
139dfd89e2
for improved C++20 compatibility
2021-10-01 15:14:53 -04:00
cc2d08506e
accelerator_*.h files should not be ignored
2021-10-01 12:55:39 -06:00
bed1ff9a95
Remove more files from .gitignore
2021-10-01 12:46:06 -06:00
61c465c6f3
simplify creation of computes in fix ipi and fix plumed
2021-10-01 14:32:19 -04:00
7e7b8acf4b
Update .gitignore
2021-10-01 12:12:53 -06:00
05b368e1c6
Merge pull request #2971 from lammps/doc-thermostats
...
Clarify thermostat doc pages to mention applying the thermostat only to regions of atoms
2021-10-01 12:18:38 -04:00
912d55c46a
Merge pull request #2975 from rbberger/external_kokkos_fix
...
Avoid assertions in PythonCapabilities check when using external KOKKOS
2021-10-01 11:56:43 -04:00
dcf4b75ca2
Merge pull request #2973 from akohlmey/32bit-pointer-bugfix
...
32-bit pointer bugfix in bond/angle style gaussian
2021-10-01 11:36:26 -04:00
211df8b7b0
Avoid assertions in PythonCapabilities check when using external KOKKOS
2021-10-01 11:08:02 -04:00
434c170097
apply clang-format
2021-10-01 00:58:38 -04:00
01fb33cb5d
fix memory allocation bug causing memory corruption on 32-bit arches
2021-10-01 00:57:02 -04:00
b5b2f5c03c
additional tweak
2021-09-30 17:11:49 -06:00
f20bd63edf
clarify doc pages for thermostatting fixes to mention regions
2021-09-30 16:55:22 -06:00
277f7a7e51
reduce electric field strength
2021-09-30 08:29:55 -04:00
05d2002db6
add test for using fix acks2/reaxff with fix efield
2021-09-30 07:04:46 -04:00
f2755a8085
simplify
2021-09-30 00:40:30 -04:00
f6cb693d6b
whitespace
2021-09-30 00:40:15 -04:00
1840c51960
fmt::format() is no longer needed for this explicitly
2021-09-30 00:32:34 -04:00
359aa1d805
Merge branch 'master' into acks2_release
2021-09-30 00:26:25 -04:00
4d84ceb822
Merge pull request #2951 from akohlmey/parse-logical-keyword
...
Add utility function to parse boolean parameters
2021-09-30 00:09:37 -04:00
56cd66a6c3
Merge branch 'master' into parse-logical-keyword
...
# Conflicts:
# src/H5MD/dump_h5md.cpp
2021-09-29 23:05:59 -04:00
c30ba70fab
Merge pull request #2957 from akohlmey/next_release_version
...
Step version strings for stable release
2021-09-29 20:40:00 -04:00
8d6adfa0d1
Merge pull request #2966 from akohlmey/cmake-tweaks
...
Tweaks to CMake build for portability and early detection of build problems
2021-09-29 19:46:33 -04:00
111e9d9060
Merge pull request #2969 from jrgissing/bond/react-make-Nevery-per-reaction
...
bond/react: fix nevery keyword bug
2021-09-29 18:42:00 -04:00
15b3e875d5
import files for platform namespace from standalone project w/o updating LAMMPS
2021-09-29 16:29:25 -04:00
7fbd2138bd
recover cross-compilation with mingw64
2021-09-29 15:13:55 -04:00
a5ed701908
make Nevery keyword per-reaction
2021-09-29 14:40:22 -04:00
dd4b195552
silence compiler warnings
2021-09-29 14:04:01 -04:00
2651e6ec2f
make C library example work with strict C compilers
2021-09-29 10:37:15 -04:00
81d3eb0b2e
add missing keyword
2021-09-29 10:29:09 -04:00
32049c3484
adopt for new multispecies PACE implementation
2021-09-29 16:04:09 +02:00
3381f72b80
correctly handle Tcl stub library if available
2021-09-29 09:19:47 -04:00
b4307e2354
only need Tcl not Tk to compile Tcl swig wrapper
2021-09-29 09:01:01 -04:00
aa59f7bd91
must have patch command available to compile ScaFaCoS
2021-09-29 07:50:53 -04:00
af7c613200
portability improvement
2021-09-29 07:50:13 -04:00
f7238de5d5
detect and error out if BLAS/LAPACK libraries variables are a list
...
This will cause external project compilation to fail since the semi-colons
are converted to blanks, but one cannot properly escape the variables.
So far the only viable solution seems to be to convert the scripts from
using ExternalProject_add() to FetchContent and add_subdirectory()
2021-09-29 07:45:07 -04:00
23e173d44f
compiling ML-HDNNP with downloaded n2p2 lib requires the sed command
2021-09-29 07:27:49 -04:00
9e49a934c2
Merge pull request #2965 from stanmoore1/neigh_cutoff
...
Bugfix: prevent neigh list from copying "unique" stencil/bin
2021-09-28 19:28:32 -04:00
8a35ea05bc
Prevent neigh list from copying "unique" stencil/bin
2021-09-28 15:33:44 -06:00
ee0d439bbd
Merge pull request #2963 from akohlmey/hybrid-one-coeff-bugfix
...
Make sure the one_coeff flag is applied to hybrid sub-styles
2021-09-28 09:44:10 -04:00
b3c8f85ff9
make sure the one_coeff flag is applied to sub-styles
...
since the check for Pair::one_coeff was moved to the Input class (to
reduce redundant code), hybrid substyles could "escape" that requirement.
Thus checks have to be added to the hybrid coeff() methods.
2021-09-28 04:39:46 -04:00
c4616d4a11
Merge pull request #2962 from akohlmey/doc-updates
...
A few final updates to the LAMMPS manual
2021-09-27 20:39:06 -04:00
9d5aa757c3
Merge pull request #2961 from akohlmey/makefile-updates
...
Add -std=c++11 to a number of machine makefiles for the traditional make build system
2021-09-27 19:42:49 -04:00
34fe792fad
freeze versions of pip packages for processing the manual of the stable version
...
this way we avoid surprises in case one of the packages get updated
to an incompatible new version. these are know-to-work versions.
2021-09-27 18:31:46 -04:00
d171b92a57
Merge pull request #2959 from Colvars/fix-colvars-run0
...
Fix Colvars output files not written with "run 0"
2021-09-27 18:08:45 -04:00
53e227766a
make "make package-update" and "make package-overwrite" less verbose
2021-09-27 18:01:37 -04:00
09e0214f7d
remove references to USER packages, have package lists alphabetically sorted
...
"make package-update" or "make pu" must be processed in the special order
because of inter-package dependencies
2021-09-27 18:01:01 -04:00
913ce25a01
small tweak
2021-09-27 17:13:32 -04:00
9c4a82f286
be more specific about what the name of the LAMMPS executable can be
...
also provide a few more examples without a machine suffix
2021-09-27 16:50:25 -04:00
9dbd5bb27d
copy request to mention lammps.org form home page instructions for citing
2021-09-27 16:49:29 -04:00
be3468ae07
Trying to fix style error
2021-09-27 16:31:48 -04:00
395e22457c
add -std=c++11 to a number of machine makefiles for traditional make build
2021-09-27 16:28:55 -04:00
d69cb9e847
Changed \n to n \m to m
2021-09-27 14:54:15 -04:00
1e574b3e8a
updated pair_nm doc
2021-09-27 14:12:09 -04:00
7601001632
Fix Colvars output files not written with "run 0"
...
See:
https://github.com/Colvars/colvars/commit/ff2f0d39ee5
which fixes a bug introduced in:
https://github.com/Colvars/colvars/commit/1e964a542b
The message applies to NAMD, but the logic used in LAMMPS when handling "run 0" is very similar.
The Colvars version string is also updated, however this commit does not
include other changes, such as the following:
https://github.com/Colvars/colvars/pull/419
which were not fully completed before the LAMMPS Summer 2021 finalization.
2021-09-27 13:38:30 -04:00
6447bd822c
fixed fene_nm
2021-09-27 11:23:53 -04:00
7b11f916b7
Merge pull request #2952 from akohlmey/collected-small-changes
...
Final changes and bugfixes for the stable release
2021-09-26 20:18:34 -04:00
ea030c6dd8
Merge branch 'master' into collected-small-changes
2021-09-26 18:12:40 -04:00
f3b1da83f7
Merge pull request #2956 from stanmoore1/kk_eam_alloy
...
Fix bug in Kokkos pair_eam_alloy on GPUs
2021-09-26 17:57:03 -04:00
b1d65f001e
Merge pull request #2949 from ellio167/kim-print-dirs
...
Add log file printing of KIM search directories in 'kim init'
2021-09-26 16:34:15 -04:00
b24079fe33
cleaner variant of version check, add directory numbering
2021-09-26 11:24:03 -04:00
18a3728800
Adjust for kim-api bug
2021-09-26 08:36:02 -05:00
184e5fd779
step version strings for stable release
2021-09-25 23:04:53 -04:00
9da8c932ab
make check more obvious
2021-09-25 21:33:10 -04:00
0534d98987
update .gitignore for recent additions
2021-09-25 15:54:33 -04:00
9df8a12235
include zstd libs in windows build
2021-09-25 15:18:14 -04:00
64cfd90eeb
apply current include file conventions
2021-09-25 13:36:39 -04:00
6f87b1236a
cosmetic
2021-09-25 10:42:52 -04:00
53e773e438
calling fwrite() with a null pointer causes undefined behavior. avoid it.
2021-09-25 10:18:55 -04:00
1435a96d6e
Fix bug in Kokkos pair_eam_alloy
2021-09-25 07:20:24 -06:00
530912a930
detect double precision support according to OpenCL specs (1.2 and later)
2021-09-25 07:20:52 -04:00
24c9bd4cd2
silence output from hwloc when launching LAMMPS
2021-09-24 23:42:33 -04:00
0b2a4ec4e7
Building voro++ lib as part of LAMMPS requires the "patch" program
2021-09-24 17:07:59 -04:00
85bc9911b8
use proper integer type for atom IDs
2021-09-24 16:57:06 -04:00
b3a8a7bf6f
in floating point math a*b may be zero even if both a>0 and b>0
2021-09-24 16:43:07 -04:00
4d9cef823d
must use a soft core potential to avoid a singularity
2021-09-24 16:22:44 -04:00
2df1107561
fix string formatting bugs in fix npt/cauchy
2021-09-24 15:52:01 -04:00
973cf017a9
do not call memset on a null pointer
2021-09-24 15:32:59 -04:00
93cc1ae3bb
Removed comments in fene_nm
2021-09-24 14:04:54 -04:00
5229a4e765
Removed comments in fene_nm
2021-09-24 13:41:18 -04:00
42dca75225
add check and suitable error message when fp64 is required but not available
2021-09-24 12:17:58 -04:00
31f9f17c1b
Merge pull request #2917 from akohlmey/programmer-guide-updates
...
Updates to the Programmer guide section of the manual
2021-09-24 11:27:01 -04:00
a83797091b
Finally added Pair_nm_cut_split and bond_fene_nm_cut_split
2021-09-23 14:05:54 -04:00
46f331095a
update some formulations as suggested by @sjplimp
2021-09-23 13:51:06 -04:00
5b02f704cc
Finally added pair_nm_cut_split fene_nm_cut_split
2021-09-23 13:23:29 -04:00
16ab49cff4
update citation info with new LAMMPS paper reference and acknowledge it
2021-09-23 11:59:43 -04:00
5ef4913ebb
Merge remote-tracking branch 'github/master' into programmer-guide-updates
2021-09-23 11:16:31 -04:00
422cab8878
update suffix command unit tests
2021-09-23 07:30:50 -04:00
f641b1c659
final chunk of changes to apply utils::logical()
2021-09-23 07:30:40 -04:00
17ba0d5804
possible workaround for some GPU package neighbor list issue
2021-09-22 21:47:32 -04:00
7792a4db6b
Merge pull request #2932 from rbberger/container_updates
...
Container definition updates
2021-09-22 17:37:50 -04:00
1b1b6298cd
Merge remote-tracking branch 'origin/master' into container_updates
2021-09-22 16:29:42 -04:00
f5fa892ec8
Merge pull request #2916 from rbberger/rocm_updates
...
Updates to support ROCm 4.3 in GPU package
2021-09-22 16:23:19 -04:00
407f032a55
Update CMake variable descriptions
2021-09-22 15:14:39 -04:00
9906486578
correct paths to downloaded PACE package sources in lib
2021-09-22 12:40:19 -04:00
e79ae552c8
mention how to set the path to the fftw3_omp library
2021-09-22 12:23:20 -04:00
5142300b2e
undo "risky" C++20 related changes
2021-09-22 12:22:52 -04:00
d89e6f6765
do not downgrade C++ standard when adding the KOKKOS package
2021-09-21 23:52:49 -04:00
ce05ed15c1
adjust for compatibility with C++20 compilers
2021-09-21 23:52:30 -04:00
f2aacca803
modernize and fix some memory leaks
2021-09-21 22:03:38 -04:00
342ca7ff1d
add multi-config build support for MSCG package
2021-09-21 22:02:37 -04:00
914f035475
a few more converted commands and updates for unit tests
2021-09-21 17:23:41 -04:00
cbc5a2933a
tweak epsilon
2021-09-21 15:44:42 -04:00
c9a8319a93
use more relealistic element ratio
2021-09-21 15:02:45 -04:00
0ddf63acc9
update ACKS2 unit test with potential parameters from example
2021-09-21 14:41:37 -04:00
9063466c03
move ACKS2 force field file to potentials folder and add LAMMPS-style metadata
2021-09-21 14:37:37 -04:00
c3d34e8656
only accept lower case to be consistent with the rest of the input
2021-09-21 14:18:23 -04:00
6227396afd
for consistency with utils::logical()
2021-09-21 14:15:23 -04:00
1ba77e1629
apply utils::logical() in more places
2021-09-21 14:15:02 -04:00
41a3eccd1c
apply utils::logical() to more commands
2021-09-21 07:48:50 -04:00
afccf1933f
correctly specify the destructor function name.
2021-09-20 23:40:14 -04:00
fe64649e49
Merge branch 'master' into multi-config-support
2021-09-20 20:42:03 -04:00
6adac6b637
Merge branch 'master' into parse-logical-keyword
2021-09-20 20:41:48 -04:00
6e8091470c
update death tests for change in error message
2021-09-20 20:31:13 -04:00
100da95e3a
convert yes/no on/off flags in the package command(s)
2021-09-20 16:15:24 -04:00
d79b1b3145
Tweak example and add reference logs
2021-09-20 13:01:57 -06:00
9feab449fb
Add ACKS2 example
2021-09-20 12:23:19 -06:00
f80259dfae
some applications of the new function
2021-09-19 19:05:40 -04:00
860a93aa8b
fix spelling issues
2021-09-19 18:32:45 -04:00
61c71c6605
return int instead of bool to minimize code changes
2021-09-19 18:07:56 -04:00
bfa2ea1fba
expand tests for numeric values
2021-09-19 16:38:01 -04:00
8769c0ae98
reformat strings
2021-09-17 22:58:17 -04:00
029fd56c2a
Improve style in response to Axel's suggestions
2021-09-17 20:17:45 -05:00
eb3e8e19c6
use clang-format on kim_init.cpp
2021-09-17 20:14:37 -05:00
2709e06d25
Add log file printing of KIM search directories in 'kim init'
2021-09-17 19:43:54 -05:00
cef100991f
add utils::logical() function to complement the *numeric() functions
2021-09-16 17:52:51 -04:00
1adbd5f667
Fix remaining issues
2021-09-15 14:32:00 -06:00
c858703156
Remove unused variables
2021-09-14 20:20:09 -06:00
b4acacf5cb
add minimal example and a unit test input
2021-09-14 16:40:42 -04:00
19bc606a20
fix typo
2021-09-14 16:26:38 -04:00
254dcdf665
include formatting updates for the KOKKOS files as well
2021-09-14 16:23:48 -04:00
86578554bb
apply latest formatting conventions (w/o clang format on the .cpp file)
2021-09-14 15:34:28 -04:00
dfe0e313d5
fully integrate acks2/reaxff fix into documentation build
2021-09-14 15:31:36 -04:00
51cfbaa2ef
Remove tabs
2021-09-14 10:56:03 -06:00
3badb14b5a
Whitespace
2021-09-14 10:49:04 -06:00
65a085c067
Improve docs
2021-09-14 10:45:45 -06:00
2b17796d73
Switch max
2021-09-14 10:23:57 -06:00
f9236fbb33
Remove unused variable
2021-09-14 10:06:51 -06:00
15c7792c33
Fix issues with Kokkos package when ranks have zero atoms
2021-09-14 10:02:29 -06:00
fa3c29dda6
Merge branch 'master' of github.com:lammps/lammps into acks2_release
2021-09-14 08:41:23 -06:00
0202b1169a
Minor edits to the error message
2021-09-12 23:08:36 -05:00
daa39d680c
simplify
2021-09-11 13:43:25 -04:00
c394df5658
simplify and remove unused command. more multi-config adjustments
2021-09-11 07:30:18 -04:00
30558c0cd6
convert plugin compilation to also use add_subdirectory() instead of external project
2021-09-11 07:01:48 -04:00
932b3cabda
add missing include (since we not longer include GTest.cmake)
2021-09-11 06:05:29 -04:00
bf360ad50f
explicitly specify build folder for out-of-source subdirectory
2021-09-11 05:59:50 -04:00
68ddab0341
Report multi-config and adjust paths for python unit tests
2021-09-11 05:36:43 -04:00
84c945f7fb
Use multi-config compatible way to integrate googletest for unit testing
2021-09-11 04:50:04 -04:00
02da29513e
Merge branch 'master' into programmer-guide-updates
...
# Conflicts:
# doc/lammps.1
2021-09-09 23:34:46 -04:00
31214de51a
Update name
2021-09-09 12:08:09 -06:00
214725d1ee
Use full precision for 1/3
2021-09-09 09:20:24 -06:00
f9cd6a384b
Add Rocky Linux 8 container definition
2021-09-09 10:45:30 -04:00
8da122c6a4
RHEL8/CentOS8 PowerTools is now powertools
2021-09-09 10:31:17 -04:00
70cbc5e364
Add external field contribution to OPENMP QEq
2021-09-09 08:30:57 -06:00
ccbd24352e
Remove const to work around GCC 7 compiler bug
2021-09-09 08:03:06 -06:00
4f825db5ab
Add external field contribution to OPENMP QEq
2021-09-08 20:54:42 -06:00
826c4e1cd7
Allow fix acks2 to be backwards compatible with old reax name style
2021-09-08 20:40:57 -06:00
5c1fa54750
Update more definition files
2021-09-08 18:11:40 -04:00
7c5a9841f7
more whitespace
2021-09-08 16:01:45 -06:00
165efcdb07
homepage
2021-09-08 15:50:53 -06:00
ede892c83f
whitespace
2021-09-08 15:45:54 -06:00
d5f70ed347
Update container definitions to include PLUMED 2.7.2
2021-09-08 17:43:12 -04:00
9fb29b165d
Update CUDA container definitions to CUDA 11.4
2021-09-08 17:40:48 -04:00
8b9dd6b0c1
Add ACKS2 charge equilibration method to REAXFF and support for electric fields in QEq
2021-09-08 15:06:23 -06:00
b74a32c1e3
Update Singularity definitions to use ROCm 4.3
2021-09-08 16:07:54 -04:00
1ae15cf8b7
Merge branch 'master' into programmer-guide-updates
2021-09-07 19:01:21 -04:00
3562c76a66
Update compute angle doc page
2021-09-07 19:00:22 -04:00
a16fd25840
minor tweak
2021-09-07 14:26:19 -04:00
31a8940ae8
use larger version of FFT grid comm image
2021-09-06 15:50:02 -04:00
bb8b0ef157
add section on PPPM
2021-09-06 12:23:49 -04:00
c1599ffb3e
spelling
2021-09-06 09:52:32 -04:00
d8ba7a3e9a
add discussion of OpenMP parallelization
2021-09-06 09:52:19 -04:00
a7696d5f00
add -skipruin to help message
2021-09-05 22:44:37 -04:00
6e17446f38
add section about parallelization in the OPENMP package
2021-09-05 22:42:42 -04:00
6e57f4f08f
fix typo
2021-09-05 22:10:00 -04:00
4fc9753a69
break large file into multiple smaller files by section and add toctree
2021-09-05 21:57:03 -04:00
94f03f169f
add section about neighbor list construction
2021-09-05 21:22:39 -04:00
d3af77a876
improve the load imbalance viz
2021-09-05 17:56:58 -04:00
b34a3cec1e
update man page with missing flags and correct URLs
2021-09-05 12:45:29 -04:00
0c2d8ad210
Merge branch 'master' into programmer-guide-updates
2021-09-05 12:45:15 -04:00
59ef1737c6
add communication section
2021-09-03 22:42:01 -04:00
5be4fb86ea
use a more compact image
2021-09-03 21:05:16 -04:00
a98ded7722
adapt section about domain decomposition from paper
2021-09-03 16:59:41 -04:00
6cf2aa4fbb
update github workflow doc
2021-09-02 16:29:20 -04:00
0d765a824e
integrate file with description of include file conventions
2021-09-02 15:03:19 -04:00
5851692527
mention when testing may be added
2021-09-02 14:25:10 -04:00
d3447008a1
update contribution guidelines for github
2021-09-02 14:24:57 -04:00
ca7bab7e41
refactor style guide and integrate text from issue
2021-09-01 22:16:26 -04:00
72d92ac9e8
correct and clarify Python compatibility
2021-09-01 22:03:12 -04:00
af33724a38
update and reorder the description of the process for submitting contributions
2021-09-01 12:15:52 -04:00
d301c2a71f
Merge branch 'master' into programmer-guide-updates
2021-09-01 10:08:51 -04:00
7943cb2067
Merge branch 'master' into programmer-guide-updates
2021-08-31 18:27:25 -04:00
8db2d64f11
Updates to support ROCm 4.3 in GPU package
2021-08-31 17:56:01 -04:00
5257b8d280
split off the programming/submission style guide to a separate file
2021-08-29 22:00:05 -04:00
afc65993d0
clarify
2021-08-29 21:43:13 -04:00
be3348be86
update for clang-format
2021-08-29 21:42:59 -04:00
518b2c24f2
use the term 'website' consistently (and not also 'web site')
2021-08-29 21:42:49 -04:00
92d9efa1af
Merge branch 'master' into gpu-newton-pair-on
2021-08-19 23:25:49 -05:00
904a2ef910
Reverted the default setting of newton_pair off for FixGPU; newton_pair can be set to be on via command-line options of package gpu
2021-08-19 22:54:06 -05:00
0904ffa813
Enabled newton pair on for gpu pair styles
2021-08-06 01:11:31 -05:00
0867299adb
Fixed format error bug in third order tensor print
2021-07-19 11:54:49 -07:00
b3fed4d1a9
update regex to match with updated fmtlib
2021-06-24 10:13:52 -04:00
79cbafd3c7
Reapply LAMMPS changes to fmtlib
2021-06-21 11:55:41 -04:00
f7752da97f
Update fmtlib to 8.0.0
2021-06-21 11:50:57 -04:00
0423a3e537
Merge branch 'master' into OptimizedDynamicalMatrix
2021-04-27 13:36:34 -07:00
b982542ae6
update indentation to 2 blanks. avoid "hanging else" constructs.
2021-04-21 14:56:26 -04:00
598e82d236
small cosmetic changes
2021-04-21 12:16:43 -04:00
1ee8de42d9
minor cleanups and simplifications using fmtlib
2021-04-21 12:08:37 -04:00
cd236776de
Merge branch 'master' into OptimizedDynamicalMatrix
2021-04-21 11:46:36 -04:00
0fc73c9d67
support for centroid virial stress in rigid/small
2021-04-19 16:18:06 +09:00
b904d256cd
implement keeping track of geometric center in rigid/small
2021-04-20 14:06:53 +09:00
ac7c5592d7
add centroid virial tally function in preparation for rigid/small support
2021-12-06 17:45:49 +09:00
0ed44e0b81
Remove leftover merge conflict string
2021-04-16 18:05:20 -07:00
535384b235
Finish updating to current master
2021-04-16 17:14:55 -07:00
fed47b9ffc
Merged 1/29/2021 master and fixed merge conflicts
2021-01-29 12:33:17 -08:00
3ff8d8bf41
update centroid/stress/atom compute to correctly handle fixes with CENTROID_AVAIL
2020-12-14 19:41:34 +09:00
8520a71646
centroid stress support in shake (and rattle)
2020-12-14 19:31:38 +09:00
abba1204a8
support for centroid stress in fixes
2021-12-06 17:12:39 +09:00
3a9796d9b3
add flags for centroid stress
2020-12-14 19:29:18 +09:00
e57b391d40
Add threading capability to both commands
2020-07-20 11:35:10 -07:00
5abddfe68d
Fixed nitpicky details, updated output, moved mass out of folded check
2020-07-19 19:12:01 -07:00
9011cfaa96
Added neighbors of neighbors list indexed by tag and return tags.
2020-07-18 02:27:31 -07:00
dd6e5df356
Remove print statement
2020-07-16 14:16:12 -07:00
7133311d2d
Change Allreduce to fit bigint
2020-07-16 14:13:45 -07:00
999dd13924
Draft of force calculation reduction through neighbor lists
2020-07-15 12:45:46 -07:00
4b656b3961
Check if atom is part of group before computing forces
2020-07-14 15:47:14 -07:00
35f3aeb15a
Merge branch 'master' into OptimizedDynamicalMatrix
2020-07-13 19:48:16 -07:00
d368c46ea9
Merge remote-tracking branch 'origin'
2020-07-13 19:46:44 -07:00
57d674cc81
Merge branch 'master' into OptimizedDynamicalMatrix
2020-07-13 19:46:05 -07:00
3a4652613d
Add folded option, change ballistico to eskm, add post force modifications
2020-07-13 19:43:24 -07:00
255cc85b32
Merge branch 'master' of https://github.com/charlessievers/lammps
2019-09-04 16:18:57 -07:00
65399a6193
Merge branch 'OptimizedDynamicalMatrix' of https://github.com/charlessievers/lammps
2019-02-01 20:51:08 -08:00