Compare commits

..

1120 Commits

Author SHA1 Message Date
9159a43d5d Merge pull request #1737 from akohlmey/next_patch_release
Step version string for next patch release
2019-10-30 17:47:10 -04:00
fed1a72bb5 Merge pull request #1569 from JunChiehWang/random_deposit
throw away random numbers to avoid unexpected correlations
2019-10-30 16:55:45 -04:00
224ea41838 Merge pull request #1751 from akohlmey/user-vtk-bugfix
USER-VTK bug fix
2019-10-30 16:54:54 -04:00
5b2301c2b5 whitespace cleanup to re-trigger jenkins 2019-10-30 16:28:05 -04:00
28483c085a Merge pull request #1746 from wmbrownIntel/gayberne-fix
Bug fix for gay-berne potential when mu != 1.0.
2019-10-30 14:00:33 -04:00
2f9f4557fe Merge pull request #1750 from rbberger/fix_pour_bugfix
Bugfix for fix pour and PBC
2019-10-30 14:00:22 -04:00
3af7ce17f4 don't segfault if some derived class deletes the list of user format strings 2019-10-30 13:53:09 -04:00
a35279a0cc don't delete arrays the base class expects to be present 2019-10-30 13:52:22 -04:00
3e2b572efd Fix special case for outside check in fix pour
If the range between lo and hi is bigger than the extent in that dimension, in
the periodic case the value will always be inside.
2019-10-30 12:01:38 -04:00
4a0495aefc Fixes issue #1695
There was a logic error in the outside() function used by fix pour.
The previous implementation was essentially doing this:

outside = outside_pbc_range || outside_regular_range

It should have been:

outside = outside_pbc_range && outside_regular_range
2019-10-29 17:09:29 -04:00
1962bc00eb revert changes that would undo parts of PR #1731 2019-10-28 15:41:02 -04:00
98fc1deb6a fix typo in C++11 non-compliance pre-processor error message 2019-10-28 14:03:49 -04:00
67b174701e Merge pull request #1744 from akohlmey/collected-small-fixes
Collected small fixes for next patch release
2019-10-28 12:17:35 -04:00
fe5d62c82d whitespace cleanup 2019-10-28 09:08:33 -04:00
c7900cee55 partial2 is never initialized changing code to be like ewald/dipole instead 2019-10-28 09:06:03 -04:00
a0d74ca2ae Bug fix for gay-berne potential when mu != 1.0. 2019-10-27 22:31:00 -07:00
b3dbf7925a print warning when GPU pair style increases the communication cutoff 2019-10-26 05:15:58 -04:00
9a7caebf57 fix c-syntax in python error. 2019-10-26 05:14:55 -04:00
b631362137 Merge pull request #1735 from ndtrung81/gpu-mem-leak-init
Gpu mem leak with init invoked multiple times
2019-10-25 17:08:21 -04:00
c5b7b9649f Merge pull request #1742 from athomps/python-extract-compute-bug
Fixes bug in extract_compute() python method
2019-10-25 17:07:01 -04:00
f21b059cd4 fix another bug in extract_compute() method of LAMMPS python module 2019-10-25 16:16:39 -04:00
873e01424e Merge pull request #1721 from akohlmey/fix-compiler-warnings
Reduce compiler warnings and try to correct problems flagged by them and a few others
2019-10-25 16:01:24 -04:00
f7a6edd5f9 fix typos 2019-10-25 15:32:12 -04:00
5f39771f28 use fdotf consistently and not fdotfloc. 2019-10-25 15:24:17 -04:00
9588de08e3 not using fdofloc, so store results in fdotf 2019-10-25 15:22:39 -04:00
a54f191c2a revert changes to force tolerance computations 2019-10-25 15:06:19 -04:00
22288e06b7 Merge branch 'master' into fix-compiler-warnings 2019-10-25 14:07:50 -04:00
33b14891ab Merge pull request #1730 from ohenrich/user-cgdna
USER-CGDNA quasi-unique base pairing
2019-10-25 13:45:29 -04:00
9ecbaf0407 Merge pull request #1732 from wmbrownIntel/doc-gayberne-update
Fixing Gay-Berne "extra" documentation to define epsilon parameters c…
2019-10-25 13:43:40 -04:00
d805c7db33 Merge pull request #1733 from wmbrownIntel/intel-cpp11-make
Adding -std=c++11 specifier to Intel Makefiles
2019-10-25 13:43:26 -04:00
3d7881b3d7 Merge pull request #1734 from jrgissing/arrhenius_constraint
Bond/react: Arrhenius constraint
2019-10-25 13:42:28 -04:00
6282f9aa58 Merge pull request #1731 from akohlmey/safe-fread-calls
Replace calls to fread() with a "safe" version
2019-10-25 12:41:41 -04:00
8f8bcf5f7b Fixes bug in extract_compute() python method 2019-10-24 16:17:32 -06:00
634c0537a1 Merge pull request #1738 from akohlmey/singularity-update
Update singularity definition files in tools folder
2019-10-23 00:19:52 +02:00
648799ef5e Add PowerTools repo for CentOS8 Singularity definition
Some packages were moved into a PowerTools repo in RHEL8/CentOS8.
2019-10-22 11:22:34 -04:00
cac57ec7e0 Move release date ahead by another week to 30 October 2019 2019-10-22 16:48:39 +02:00
054766a380 include info about ready-to-use images uploaded to the singularity library 2019-10-21 14:54:30 +02:00
5200d60dd3 update singularity definition files 2019-10-21 11:29:08 +02:00
57da9d177f step version string for next patch release 2019-10-21 04:02:08 -04:00
e7cb2f4cac put back overly eager deleted code that is used without -DNDEBUG 2019-10-21 03:25:21 -04:00
b4b071ee60 modernize fortran code in eam_database to replace features no longer allowed in fortran 2018 2019-10-21 03:12:17 -04:00
08b55c4ca5 silence compiler warning 2019-10-20 19:00:54 -04:00
c144b1af71 fix typos 2019-10-20 18:42:22 -04:00
6767fa5604 update supported plumed library to version 2.5.3 2019-10-20 16:27:32 -04:00
67512f8afc remove bogus POEMS header files from AtC lib folder 2019-10-20 16:13:03 -04:00
e44402326f doc typo 2019-10-20 13:21:20 -06:00
b705525734 resolve unused parameter warnings in USER-ATC package 2019-10-20 13:36:06 -04:00
86f644979c Updated pppm 2019-10-20 00:18:28 -05:00
a69bd0405a add lowercase 'arrhenius' keyword to spellcheck 2019-10-19 23:09:10 -06:00
dfbee32575 Fixing issues with growing memory allocation with multiple init calls 2019-10-19 23:35:52 -05:00
d429143589 bond/react: Arrhenius constraint 2019-10-19 22:15:52 -06:00
5d47508829 Merge pull request #58 from lammps/master
rebase
2019-10-19 20:21:53 -06:00
118c2e5be3 missed one unchecked call to ftruncate() 2019-10-19 16:36:13 -04:00
fd9da6f934 make use of utils::sfgets() in a few more places 2019-10-19 13:26:55 -04:00
d8c86d9abc avoid buffer overflow 2019-10-19 11:46:00 -04:00
fb37c6eb17 reorder initialization to match definition 2019-10-19 11:45:45 -04:00
0c433d5773 update formatting to not be misleading 2019-10-19 11:45:26 -04:00
95c515420a remove dead code 2019-10-19 11:44:56 -04:00
bf537dedf5 check status of ftruncate() in ave/* fixes 2019-10-19 10:49:05 -04:00
f4fcd2a911 flag that MESSAGE package is not compatible with -DLAMMPS_BIGBIG 2019-10-19 09:50:07 -04:00
73892711a5 mass replace calls to fread() with utils::sfread() 2019-10-19 09:25:49 -04:00
7358a3ce06 mirror changes to conventional build to forcibly enable c++11 for intel compilers 2019-10-18 18:34:39 -04:00
e057ae186f fix off-by-one errors in ndx_group 2019-10-18 18:22:14 -04:00
e2988c5c20 refactor sfgets() and sfread() to both allow NULL filenames and guess from /proc if needed and possible 2019-10-18 17:55:28 +02:00
34899ad8b6 some more OpenMP related warnings squashed and code simplified 2019-10-18 17:17:04 +02:00
d1bf4d5793 reduce warnings related to OpenMP with clang 2019-10-18 16:52:16 +02:00
ed208fa4cf reduce some more compiler warnings 2019-10-18 16:16:43 +02:00
4e5520ced6 remove some dead code and reduce compiler warnings in SNAP package 2019-10-18 16:05:39 +02:00
a3f7d04199 no need to overload Pair::init_style() when doing exactly the same in USER-CGDNA styles 2019-10-18 16:05:14 +02:00
d684b70555 reduce compiler warnings in USER-AWPMD 2019-10-18 15:57:07 +02:00
5b47b0b098 formatting and reduce compiler warnings 2019-10-18 07:14:35 -04:00
f0a3628a00 reduce compiler warnings 2019-10-18 07:14:16 -04:00
dee631878d refactoring of SPIN pair class initialization to increase code reuse 2019-10-18 07:13:42 -04:00
dcb1b6500b allow regexp matches for Modify::find_fix_by_style() and consolidate usage of searching for fixes 2019-10-18 06:59:27 -04:00
3017f78e2e Adding -std=c++11 specifier to Intel Makefiles 2019-10-18 03:22:41 -07:00
30cff3faf3 Fixing Gay-Berne "extra" documentation to define epsilon parameters consistent with LAMMPS input. 2019-10-18 03:10:31 -07:00
bb21847f8a have sphinx configuration switch math formula renderer for epub
this still needs work, that has to be done after we switched to RST
2019-10-18 04:47:18 -04:00
24b54026e2 fix some more fgets() related warnings in pair style airebo 2019-10-18 02:42:50 -04:00
d9d22658fd Merge pull request #62 from giacomofiorin/fix-compiler-warnings
Enable COLVARS_LEPTON for make, update build doc for USER-COLVARS
2019-10-18 08:41:10 +02:00
693e34b587 Print parsed compiler flags, some cosmetic changes for added consistency 2019-10-17 22:53:13 -04:00
c578e4e7fc Enable COLVARS_LEPTON for make, update build doc for USER-COLVARS 2019-10-17 22:48:57 -04:00
fe20490891 more use of utils::sfread() 2019-10-17 17:06:12 -04:00
84165da4e7 Deleted old log files 2019-10-17 19:34:04 +01:00
c6f637f78f Merge branch 'master' into user-cgdna 2019-10-17 18:40:50 +01:00
5652154b3c Added log files 2019-10-17 18:37:55 +01:00
63cb0775ef handle the case where /proc/self/fd/# does not exist (anymore) 2019-10-17 13:17:19 -04:00
cad6293078 use new utils::sfread() utility function in several classes 2019-10-17 11:29:08 -04:00
b29a962032 Corrected r_stk_high coefficient 2019-10-17 16:16:28 +01:00
68dc2a7966 Added description of quasi-unique base pairing 2019-10-17 16:06:06 +01:00
d1581f20a9 Modified initialisation of sequence-dependent stacking and h-bonding strength 2019-10-17 15:26:32 +01:00
7d1cd63e1d added a safe fread variant with error checking. 2019-10-17 09:46:18 -04:00
27d3d44297 step version number, year, and changelog to reflect fixed bug. 2019-10-17 09:30:08 -04:00
595aa7dff3 fix segfault in atom map hash when using "clear". 2019-10-17 09:29:21 -04:00
09c15ee630 we need int64_t for both LAMMPS_BIGBIG and LAMMPS_SMALLBIG 2019-10-17 08:15:58 -04:00
108b9a0a36 USER-MOLFILE cannot be configured with CMake 2.8.12, requiring 3.10. 2019-10-17 06:33:13 -04:00
9a4f208e4e need to enable C compilation to detect BLAS/LAPACK on CMake 2.8.12 2019-10-17 06:32:35 -04:00
68adc56e93 Merge branch 'master' into fix-compiler-warnings 2019-10-17 06:03:59 -04:00
e4c77f047f document COLVARS_LEPTON flag to CMake configuration 2019-10-16 16:19:12 -04:00
4e6f83ced2 Merge pull request #1726 from akohlmey/singularity
Add Singularity definition files suitable for compiling and debugging LAMMPS
2019-10-16 21:12:22 +02:00
437c0e59f2 Merge pull request #1724 from lammps/lepton-cxx11-handling
Upgrade Lepton library, handle its C++11 requirement
2019-10-16 21:11:00 +02:00
7d5bf968f5 Merge pull request #1728 from evoyiatzis/patch-2
Update compute_gyration_shape.cpp
2019-10-16 21:10:12 +02:00
10031e91bd Update false_positives.txt
Added the name of Mattice in the list
2019-10-16 20:25:53 +02:00
38c819c281 Update compute_gyration_shape.txt
Addition of a textbook where the computed quantities are presented in more detail
2019-10-16 20:12:46 +02:00
2c9ae7ab4b Add -DCOLVARS_LEPTON, track user's choice via DISABLE_CXX11_REQUIREMENT 2019-10-16 08:35:37 -04:00
d02f806735 Merge pull request #1727 from yafshar/master
Set KIM pointer appropriately for Energy
2019-10-16 11:52:44 +02:00
b023e93ac2 Update compute_gyration_shape.cpp
Correct for squaring the eigenvalues of the gyration tensor and simplifying the expressions for the shape parameters
2019-10-16 10:19:06 +02:00
4aa47386ea make handling of (temporary) C++11 check disabling define behave consistent across CMake versions 2019-10-15 18:42:59 -04:00
6b0aba9db0 Merge pull request #1725 from charlessievers/fix_gjf_bugs
Fix gjf bugs
2019-10-16 00:36:08 +02:00
44fb441f99 Merge branch 'master' into user-cgdna 2019-10-15 22:46:42 +01:00
45e8a41704 document support for r-RESPA in pair style zero 2019-10-15 17:34:37 -04:00
b9727e0dfa add support for single() and r-RESPA to pair style zero 2019-10-15 17:22:27 -04:00
681a0e12e3 Set KIM pointer appropriately for Energy 2019-10-15 15:38:19 -05:00
bfcab685ce add reference outputs to example input 2019-10-15 17:28:35 +02:00
3ab4be859c Merge branch 'master' into fix_gjf_bugs 2019-10-15 17:16:33 +02:00
f3b2ec80af add false positives and correct spelling to have a clean spellcheck run on centos 7 2019-10-15 16:56:23 +02:00
faf5ded721 fix formatting and include example for setting compiler flags to enable C++11 2019-10-15 16:55:51 +02:00
9a3824bfc1 add SNAP to "most" preset, since it seems to be used more frequently these days 2019-10-15 16:55:10 +02:00
645df22eb9 fix incorrect order of commandline flags in example 2019-10-15 16:36:50 +02:00
e4bbfc992b Singularity definition files for compiling LAMMPS 2019-10-15 16:22:08 +02:00
e7d1d547a1 Merge pull request #1719 from akohlmey/pppm-tip4p-triclinic
Correct pppm/tip4p styles for triclinic boxes
2019-10-15 10:10:39 +02:00
37456733bf prefer local mpi.h file by using '#include "mpi.h"' instead of '#include <mpi.h>' 2019-10-15 09:28:34 +02:00
d53b882a5a Fixed vfull tally bug in KOKKOS 2019-10-14 19:28:20 -07:00
623e8078e3 Fixed vfull tally bug 2019-10-14 19:11:50 -07:00
a517cffd8f Corrected differing syntax in fix_langevin.cpp 2019-10-14 14:41:03 -07:00
9c5c33e869 Updated gjf examples 2019-10-14 14:39:45 -07:00
b6af3c7ad0 Conventional make tweaks to handle Lepton C++11 requirement 2019-10-14 16:05:45 -04:00
b6a6638f49 Add CMake recipe for USER-COLVARS, test C++11 before including Lepton 2019-10-14 16:05:45 -04:00
e04a18fc4f Upgrade Lepton library to version 2019-06-02 2019-10-14 16:05:45 -04:00
6b197057ed one more line of dead code 2019-10-14 16:52:03 +02:00
31aa68db31 remove unused variables and reduce unused parameter warnings 2019-10-14 16:42:21 +02:00
4fca2f1f1d fix "implicit fallthrough" warnings 2019-10-14 16:41:12 +02:00
661238f627 try to fix code processing norms for minimizers that looked incorrect 2019-10-14 16:40:24 +02:00
29f2569ee2 correct prototype for -DLAMMPS_SMALLBIG (bigint == int only for -DLAMMPS_SMALLSMALL) 2019-10-14 16:38:38 +02:00
28c9255f99 don't include USER-PLUMED in "most" preset 2019-10-14 08:02:59 -04:00
25b114eeb4 avoid compilation failure without installed packages 2019-10-14 07:56:37 -04:00
be01cfffa3 fix typo and port find_M() code to USER-OMP version 2019-10-14 07:53:24 -04:00
79809975b8 Merge branch 'master' into user-cgdna 2019-10-14 11:49:12 +01:00
94b80f9ac6 correct pppm/tip4p to give correct forces with tip4p with triclinic cells 2019-10-13 17:47:09 -04:00
8f431b0fb8 Merge pull request #1716 from akohlmey/topology-interaction-check
Add topology interaction check to Force::init()
2019-10-11 20:47:14 +02:00
cd0e408d90 Merge pull request #1714 from athomps/clebsch-gordan-check
Added invisible helper function to check values of Clebsch-Gordan coeffs
2019-10-11 20:45:50 +02:00
346b3c53ee Added comm->me check 2019-10-11 11:07:02 -06:00
29574eaa45 added "likewise" as suggested by @sjplimp 2019-10-11 17:19:47 +02:00
da56c7fc66 document freshly added warnings in header and manual 2019-10-11 16:47:35 +02:00
7bf2b99785 print warnings if force styles and topology data are inconsistent
print a warning if there are bonds/angles/dihedrals/impropers in the
bond topology, but no corresponding style defined.
print an additional warning when special bonds scaling factors
for this kind of interaction is not 1.0 and thus the neighbor list
for pair styles may be affected, too.
2019-10-11 16:18:02 +02:00
2b8f300ce8 Merge pull request #1713 from jrgissing/bond/react-angle-constraints
Bond/react: angle constraints bugfix
2019-10-11 14:48:56 +02:00
a1c49159a4 Added invisible helper function to check values of Clebsch-Gordan coefficients 2019-10-10 18:32:16 -06:00
4804acbb9b angle constraint bugfix 2019-10-09 21:17:39 -06:00
01f8071865 Merge pull request #56 from lammps/master
rebase
2019-10-09 21:08:55 -06:00
6e244bc8dc Merge pull request #1631 from jibril-b-coulibaly/patch-2
Bug fixes for pair style granular
2019-10-09 14:14:48 +02:00
0cf60d0c62 Merge pull request #1709 from lammps/units-example
New example/UNITS dir
2019-10-09 13:28:30 +02:00
f2840176b3 clarified the README 2019-10-08 18:14:32 -06:00
945f903683 added an examples/UNITS dir 2019-10-08 18:02:21 -06:00
e77e286d95 Merge pull request #1707 from charlessievers/lammps_gjf
Lammps gjf small updates
2019-10-08 23:06:36 +02:00
0e10fbb133 Merge pull request #1690 from charlessievers/third_order
Added third order, added documentation, took out extraneous lines, ad…
2019-10-08 21:57:15 +02:00
9b15f4e2dc Added the change to langevin gjf documentation 2019-10-08 12:47:30 -07:00
4f57332a89 Merge pull request #1706 from TOFarmer/create_bonds_improper
Add single/improper to create_bonds
2019-10-08 21:40:31 +02:00
23b21a82b5 Merge pull request #1699 from akohlmey/collected-small-changes
Collected small changes for next patch release
2019-10-08 21:39:55 +02:00
b13be8f953 Merge branch 'master' into lammps_gjf 2019-10-08 12:21:29 -07:00
bd269ac59c Merge branch 'master' of https://github.com/lammps/lammps 2019-10-08 12:16:59 -07:00
fe9f7f4d8d Merge pull request #1693 from stanmoore1/kk_snap_opt
Port more SNAP optimizations to the KOKKOS Package
2019-10-08 14:55:02 +02:00
ac8f2e431e fix a few cut-n-paste issues 2019-10-08 14:49:20 +02:00
cf11e4be3c Added documentation for single/improper 2019-10-08 11:51:19 +01:00
b8b07061d4 Added function for creating an improper using single/improper 2019-10-08 10:46:27 +01:00
1f372e27e9 initialize/reset more unallocated pointer variables to NULL 2019-10-08 02:41:35 -04:00
ac82f78667 do not reset box (i.e. apply shrink-wrapping) for systems without atoms 2019-10-08 02:40:08 -04:00
63c1ffd605 Clean up langevin gjf documentation, fixed potential langevin gjf bugs 2019-10-07 19:41:17 -07:00
7794304f88 Merge branch 'master' of https://github.com/lammps/lammps 2019-10-07 18:22:27 -07:00
85d62e4f57 Merge branch 'master' of https://github.com/charlessievers/lammps 2019-10-07 17:50:55 -07:00
80610d82df Merge branch 'collected-small-changes' of github.com:akohlmey/lammps into collected-small-changes 2019-10-07 18:57:44 +02:00
178ca78dd9 add TODO comment for experimental and thus currently undocumented CMake option 2019-10-07 18:57:28 +02:00
8c063343a1 Merge branch 'master' into collected-small-changes 2019-10-07 18:54:33 +02:00
edda8a4d07 Merge pull request #1688 from junghans/external_kokkos
cmake: allow to build against an external libkokkos
2019-10-07 18:25:17 +02:00
22df08f01b Merge branch 'master' of github.com:lammps/lammps into kk_snap_opt 2019-10-07 08:58:09 -06:00
9fc32f5f3f small update to naming conventions 2019-10-05 12:38:28 -04:00
65edb2a601 Merge pull request #1598 from alxvov/OSO
Adding the conjugate gradient algorithm and L-BFGS to the SPIN package
2019-10-05 14:11:17 +02:00
043606d351 Merge pull request #1701 from athomps/neigh_check_distance_box
Fixed error in neighbor distance check for box dimensions
2019-10-05 14:10:03 +02:00
ed467d8867 Merge branch 'master' of github.com:alxvov/lammps into OSO
- solved conflict in doc/src/fix_nve_spin.txt
2019-10-04 08:56:49 -06:00
f864a52720 Merge branch 'master' into random_deposit 2019-10-04 14:55:29 +02:00
ed5678d646 Merge pull request #1673 from charlessievers/lammps_gjf
Lammps fix langevin updates for gjf option
2019-10-04 10:02:46 +02:00
a102d2343e Merge pull request #1692 from julient31/restart-correction
Bug correction in the SPIN package, and fix nve/spin option modification
2019-10-04 09:55:40 +02:00
ed87faec17 Merge pull request #1697 from jrgissing/bond/react-angle-constraints
Bond/react: angle constraints
2019-10-04 09:54:23 +02:00
d117ed2b14 remove unnecessary operations. calloc only if rho is positive 2019-10-03 22:14:15 +00:00
747bfa31f2 apply changes suggested by Andrew Santos 2019-10-03 18:31:42 +02:00
6580700943 print C++ standard in use message with help page and "info config" command 2019-10-03 17:21:20 +02:00
26427cc4cb Fixed error in neighbor distance check for box dimensions 2019-10-01 11:40:21 -06:00
bb4dc59803 fix typo 2019-09-30 16:33:07 -04:00
01214de6bd add support for adding an ITEM: TIME output to some dump files 2019-09-30 11:03:22 -04:00
6cd460072b add docs for dump_modify time yes. consolidate keywords 2019-09-30 11:01:41 -04:00
fc10817950 Merge remote-tracking branch 'origin/OSO' into OSO 2019-09-30 14:55:45 +00:00
14933958f7 change units 2019-09-30 14:55:33 +00:00
23040a98f8 adds an angle constraint option for reacting molecules
also, previously, reaction templates had to contain more than two atoms
2019-09-28 23:10:34 -06:00
0f7108028b Merge pull request #55 from lammps/master
rebase
2019-09-27 21:25:02 -06:00
12803b7dcf add newton_pair flag to ev_tally_xyz function 2019-09-26 16:01:24 -05:00
8c4798b692 added dynamical matrix python script 2019-09-26 12:39:55 -07:00
67a284c28a Collapse loop in compute_zi 2019-09-26 11:44:12 -06:00
36897c96bc Port more of Rahul's changes 2019-09-26 11:23:06 -06:00
b463b8cd00 Merge remote-tracking branch 'origin/master' into external_kokkos 2019-09-25 19:34:35 -06:00
ca159b7b20 Fix langevin removed gjf special message and adapted whitespace style 2019-09-25 17:30:41 -07:00
5927f056c5 Removed redundant and out of scope gjf info from fix_langevin.txt 2019-09-25 17:22:15 -07:00
b771225f3d Edit gjf option syntax within fix_langevin.txt 2019-09-25 17:19:27 -07:00
e53a9aceda WIP 2019-09-25 16:15:25 -06:00
2be848e5df Remove team from compute_yi 2019-09-25 15:41:45 -06:00
5d88e12583 correct model comment and remove trailing whitespace 2019-09-25 14:33:07 -04:00
a5db0463ec list lines in doc source files with non-ASCII characters 2019-09-25 13:36:57 -04:00
107369518e replace non-ASCII characters with their ASCII equivalents
# Conflicts:
#	doc/src/fix_wall_stochastic.txt
2019-09-25 13:36:18 -04:00
bfacab7be7 remove non-compliant comments 2019-09-25 08:55:33 -05:00
a6a78208aa Commit3 JT 092419
- modified other doc files
2019-09-24 16:01:37 -06:00
a0974bc09d Commit JT 092419
- changed the nve/spin lattice option
- from (yes/no) to (moving/frozen)
- changed the doc and all examples
2019-09-24 15:58:22 -06:00
2fad4e0f97 Commit JT 092419
- corrected read_restart in exchange (same correct as in Neel)
2019-09-24 14:50:55 -06:00
d9306a5865 Commit JT 092419
- added inf norm option
2019-09-24 13:58:56 -06:00
3f0d1cb270 cmake: LMP_KOKKOS define is always needed 2019-09-24 13:15:48 -06:00
af1e119a7c Commit JT 092319
- initial commit
- started correction restart pair_spin_neel.cpp
2019-09-23 17:30:16 -06:00
a0f0c23578 Commit3 JT 092319
- corrected src/min.h merging conflict
2019-09-23 14:32:39 -06:00
cf13284bf4 change fsflag in fix_langevin_kokkos 2019-09-23 13:31:50 -07:00
876a57209f resolve fsflag conflict fix_langevin 2019-09-23 13:29:10 -07:00
a31aa5debc Merge branch 'master' of github.com:alxvov/lammps into OSO 2019-09-23 14:22:26 -06:00
61f4a4c498 add back fsflag fix_langevin 2019-09-23 13:18:31 -07:00
34f8104146 Commit3 JT 092319
- corrected a typo in doc/src/min_modify.txt
2019-09-23 13:52:48 -06:00
bc0ff0db61 Commit2 JT 092319
- added enum to min.h (for norm choice)
- completed doc min_modify
- corrected torque tol issue in spin/min
2019-09-23 13:48:33 -06:00
e51fc5a5bf remove comment to resolve conflict 2019-09-23 11:54:27 -07:00
9635d228c2 switched fsflag for nvalues to reuse old name 2019-09-23 11:53:03 -07:00
a44f2cc3bb changed flag name in fix_langevin 2019-09-23 11:48:54 -07:00
d0d2797b41 Fixed conflicts 2019-09-23 11:46:16 -07:00
56e1a05287 Commit JT 092319
- modified norm input in min_modify
- corrected doc/src/min_modify.txt
- added expression of the norms
- added a min max method in src/min.h
2019-09-23 11:12:31 -06:00
0abbc59006 multiple changes to integrate into LAMMPS more smoothly
- indentation at 2 blanks
- use BIGINT_FORMAT consistently
- use MathSpecial::square() instead of pow(x,2)
2019-09-23 12:11:34 -04:00
fddc164d5b register a couple more false positives to clear doc test 2019-09-23 11:54:46 -04:00
03de73f66f rename "ballistico" keyword to "eskm" to match dynamical_matrix 2019-09-23 11:54:26 -04:00
2da6083df2 fully integrate third_order command into manual and READMEs 2019-09-23 11:53:37 -04:00
804a49c3ea Merge branch 'master' into third_order 2019-09-23 11:39:01 -04:00
74d6e52808 Fixed compilation issues 2019-09-20 15:51:05 -07:00
cf1c31cd3d Added third order, added documentation, took out extraneous lines, added documentation figures. 2019-09-20 14:42:04 -07:00
aa2b885783 Merge pull request #1687 from akohlmey/next_patch_release
Step version string for next patch release
2019-09-19 17:18:12 -04:00
d7a8792916 cmake: allow to build against an external libkokkos 2019-09-19 14:26:07 -06:00
d84cbe49a4 Merge pull request #1686 from cusentino/snap-WBe-example
Added W-Be example to example/snap folder
2019-09-19 15:38:35 -04:00
6f06b3ecf1 Merge pull request #1645 from jrgissing/bond/react-max_rxn-bug
Bond/react: max_rxn bugfix + restart reaction counts
2019-09-19 15:21:40 -04:00
3fd43224b3 update comments in example inputs 2019-09-19 15:17:52 -04:00
b7d9337da4 remove a tab 2019-09-19 15:13:53 -04:00
077647b4e2 whitespace cleanup 2019-09-19 14:54:48 -04:00
95f59f5bf1 cosmetic changes 2019-09-19 13:58:30 -04:00
415698d570 update examples/README 2019-09-19 13:53:54 -04:00
12071eec1a Merge pull request #1683 from wmbrownIntel/user-intel-g2s
USER-INTEL: Explictly disabling G2S opts to improve lj/cut, eam, and …
2019-09-19 13:48:05 -04:00
5c74782c84 step version for next patch release 2019-09-19 11:54:24 -04:00
b0b340051c Merge pull request #1684 from akohlmey/cxx-11-test
Implement test for C++11 and document it
2019-09-19 11:46:08 -04:00
ed6dd1a632 Merge pull request #1666 from tanmoy7989/local_density
added LD potential and wrote html-style doc
2019-09-19 11:45:46 -04:00
d4dbc32ba2 Merge pull request #1672 from akohlmey/dump-with-unit
Add ITEM: UNITS line to native text format dumps
2019-09-19 10:31:13 -04:00
eab66f27fd Merge pull request #1681 from akohlmey/collected-small-fixes
Collected small changes for next patch release
2019-09-19 10:27:54 -04:00
c26c8aca4f get rid of (evil) tabs and trailing whitespace in bundled Pizza.py components 2019-09-19 07:34:27 -04:00
b049b59015 revised documentation and added a citation trigger in .cpp file 2019-09-19 00:25:22 -07:00
5dba4b66c8 add warning banner to the LAMMPS output and refer to the C++11 issue on github 2019-09-18 16:56:14 -04:00
e847777e43 Added W-Be example to example/snap folder 2019-09-18 14:34:20 -06:00
2ea11b3195 implement test for C++11 and document it 2019-09-18 15:50:26 -04:00
df3fad3b49 output number of processors when reporting a mismatch on reading a restart 2019-09-18 14:35:12 -04:00
572235e66a Merge pull request #1660 from tanmoy7989/reorder_remd_traj
python tool to reorder replica traj
2019-09-17 17:29:50 -04:00
28b634f20d some more whitespace cleanup 2019-09-17 16:10:32 -04:00
fd63b08f99 Merge branch 'reorder_remd_traj' of github.com:tanmoy7989/lammps into reorder_remd_traj
# Conflicts:
#	tools/replica/reorder_remd_traj.py
2019-09-17 16:09:13 -04:00
636a8aaef9 whitespace cleanup, mention pip install --user 2019-09-17 16:06:12 -04:00
aba472df3b removed excess line in langevin docs 2019-09-17 12:25:07 -07:00
eba10b10e8 Merge remote-tracking branch 'origin/master' into lammps_gjf 2019-09-17 12:08:12 -07:00
d4d5f241eb use improper style fourier instead of non-existing style opls 2019-09-17 14:48:58 -04:00
8ff6122560 correct documentation of improper style fourier 2019-09-17 14:48:11 -04:00
5cf0a5bf6d USER-INTEL: Reverting whitespace in Makefiles from last changes. 2019-09-17 09:31:51 -07:00
22f0ca7440 Merge branch 'master' into user-intel-g2s 2019-09-17 19:30:11 -07:00
7f037b6c30 some more whitespace cleanup 2019-09-17 12:05:04 -04:00
27f9ae1017 evil tab removal 2019-09-17 08:37:32 -04:00
0c9697a685 documentation whitespace cleanup 2019-09-17 08:35:20 -04:00
b2c6244b79 fix typos 2019-09-17 08:24:40 -04:00
fb7a439cd2 Merge pull request #1662 from akohlmey/hybrid-svector-fix
Fix bugs in handling of local pair property computes with hybrid pair styles
2019-09-17 08:21:15 -04:00
3e4f1d1cb8 replace tabs 2019-09-17 08:02:30 -04:00
66ddcd86a3 USER-INTEL: Explictly disabling G2S opts to improve lj/cut, eam, and dpd performance. Removing -fno-alias flag from Makefiles due to issues with 2019 compilers and adding explicit _noalias qualifier for some variables to compensate. 2019-09-17 02:50:37 -07:00
f81c1aae26 Merge branch 'master' into hybrid-svector-fix 2019-09-16 22:28:48 -04:00
357ca4605c Merge pull request #1677 from athomps/update-steinhardt-example
Added log files and updated README
2019-09-16 21:11:55 -04:00
971f4763e3 removed text referencing removed graphs 2019-09-16 16:36:50 -07:00
e51e25882b Merge branch 'master' to clear KOKKOS CI failures 2019-09-16 16:39:50 -04:00
d357259cc4 Merge pull request #1669 from stanmoore1/kk_ports
Port misc files to Kokkos
2019-09-16 16:35:55 -04:00
c1eff7d576 fix misplaced fix_langevin_kokkos 2019-09-14 11:02:42 -07:00
0366a5aae9 Fix langevin changed <utils.h> to utils.h 2019-09-14 00:13:05 -07:00
09b6794631 Updated fix langevin errors and warnings as well as associated doc files. Updated fix langevin kokkos errors and warnings as well as associated doc files 2019-09-13 23:25:48 -07:00
790d7d9fae Added log files and updated README 2019-09-13 15:59:25 -06:00
c37d001178 fix stupid typo 2019-09-13 16:13:16 -04:00
7cf9ef42a2 Enabled unique base-pairing 2019-09-13 20:06:09 +01:00
c1e7294b42 Merge branch 'master' into kk_ports 2019-09-13 12:30:53 -04:00
e8f94447f7 Merge branch 'master' into hybrid-svector-fix 2019-09-13 12:28:45 -04:00
d62ef0df82 add omitted cmake entries for recent KOKKOS package changes 2019-09-13 12:26:07 -04:00
4593e159ef update docs to indicate KOKKOS support for dihedral style harmonic 2019-09-13 12:25:23 -04:00
5a07db8465 tweak docs for dump_modify units command some more 2019-09-13 12:07:39 -04:00
0a176d48d8 clarify that each created file will have the ITEM: UNITS lines 2019-09-13 11:59:55 -04:00
ca301f040b add missing include for compiling with intel compilers without TBB 2019-09-13 09:47:02 -04:00
548fd40e9a make certain that nvalues class member is initialized 2019-09-13 09:15:39 -04:00
7386956dc5 remove misspelled word from false positives list 2019-09-13 08:52:09 -04:00
be0587eab5 Merge pull request #1670 from akohlmey/fix-rigid-nh-no-extended
Consolidate constants and enumerators across rigid fix styles
2019-09-13 08:04:16 -04:00
1f9decadf8 fix typo 2019-09-13 08:03:02 -04:00
c26b1d1839 fixed indentations in fix_langevin.cpp 2019-09-12 16:50:42 -07:00
a948a34f8a added false positive, removed graphs from examples, updated langevin kokkos, improved diff readability in langevin 2019-09-12 16:34:15 -07:00
be38ef0eb0 make native dump reader compatible with dump files containing ITEM: UNITS 2019-09-12 15:26:02 -04:00
0c52a7ed70 update documentation 2019-09-12 15:23:15 -04:00
b9af05d7f4 add dump style local/gz to COMPRESS packages 2019-09-12 14:38:09 -04:00
e413aaf217 add support for optionally including unit information in standard dump files 2019-09-12 14:37:42 -04:00
fa164fffba explain new semantics for accessing pN for hybrid styles 2019-09-12 13:59:05 -04:00
1e0cd0b202 separate out svector handling to new virtual functions, so it can be handled differently for pair styles hybrid and hybrid/overlay 2019-09-12 12:30:22 -04:00
5d0c86be48 add omitted cmake entries for recent KOKKOS package changes 2019-09-12 07:33:22 -04:00
1631ecb3fe integrate pair style local density into manual builds 2019-09-11 14:18:27 -04:00
ae1054a243 change formatting so that sphinx is happier 2019-09-11 14:17:53 -04:00
ce7c3e6864 Merge pull request #1648 from athomps/add_w_l_orientorder
Add w l orientorder
2019-09-11 14:08:33 -04:00
df63a53788 Merge pull request #1650 from stanmoore1/kk_minimize
Add Kokkos version of minimize
2019-09-11 14:04:47 -04:00
102db258bc Merge pull request #1667 from edwardsmith999/master
Adjusted compute_bond_local to allow components of force to be obtained.
2019-09-11 14:02:09 -04:00
07cda306a6 Merge pull request #1668 from stanmoore1/kk_hpe
Add support for HPE MPI to Kokkos package
2019-09-11 14:00:24 -04:00
d918b17ee7 Merge pull request #1664 from jrgissing/comm_modify-docs-tweak
Comm modify docs tweak
2019-09-11 13:58:17 -04:00
Ed
34f73fddfe Added a missing break statement in fz component 2019-09-11 11:59:59 +01:00
1e8e34f33d appended fix_langevin.txt documentation 2019-09-10 17:34:49 -07:00
7aab3797b3 Updated MD results readme 2019-09-10 17:14:44 -07:00
90296b76e3 Added a readme to the md results folder 2019-09-10 17:11:49 -07:00
3df5321e00 Fixed extraneous paragraph in doc/src/fix_langevin.tct 2019-09-10 16:56:31 -07:00
e34b7840d5 Updated documentation and added MD results 2019-09-10 15:53:32 -07:00
3b54eb6538 finalized fix_langevin 2019-09-10 15:41:09 -07:00
f0b6ca82dd Merge branch 'master' into lammps_gjf 2019-09-10 15:39:28 -07:00
00ee32b582 Merge remote-tracking branch 'upstream/master' 2019-09-10 15:33:04 -07:00
4bbe4c73aa whitespace cleanup 2019-09-10 09:38:44 -04:00
15d2e1b260 consistent formatting 2019-09-10 09:36:17 -04:00
cd846e1bbb add ITEM: UNITS line to native text format dumps 2019-09-10 09:18:38 -04:00
f34f133f7d bugfix for pair style lubricate when used with walls 2019-09-09 18:03:43 -04:00
cde16580c0 fixed alphabetical ordering in Tools.txt and added a line highlighting the tool in temper.txt 2019-09-09 14:15:05 -07:00
493f1cf65b correct overlapping definitions of bitmask flags 2019-09-09 15:33:56 -04:00
345d6cc7fe Compute pe doesn't touch atom data 2019-09-09 12:29:46 -06:00
fb0dee49a2 Small changes to base dihedral_harmonic class 2019-09-09 12:06:52 -06:00
c36c4d50cc Add Kokkos verison of dihedral_harmonic 2019-09-09 11:16:31 -06:00
51786a459f Add support for HPE MPI to Kokkos package 2019-09-09 10:14:30 -06:00
Ed
b08b3b90da Adjusted compute_bond_local to allow components of force to be obtained 2019-09-09 14:43:34 +01:00
22fde86fd0 possible spelling mistake report from Sphinx for unidentified word ccache; added this to the false_positives.txt file 2019-09-09 02:27:54 -07:00
e7d8165a46 fixed spelling mistakes reported by sphix 2019-09-09 02:16:30 -07:00
91a1971977 added a line to tools/README and fixed the alphabetical ordering in docs 2019-09-09 02:04:59 -07:00
8c113f5fdb added LD potential and wrote html-style doc 2019-09-09 01:51:04 -07:00
450f437d9f bond/react:another edge atom clarification 2019-09-08 22:59:59 -06:00
2e0fcac744 bond/react: define MAXLINE take 2 2019-09-08 21:11:24 -06:00
f41a1f8303 vectorized in parts and made changes as suggested by evoyiatzis 2019-09-08 10:43:22 -07:00
48ea1eecb6 make as in master 2019-09-08 15:51:54 +03:00
9b955a6c1c Some tweaks 2019-09-06 14:49:14 -06:00
bbb0f5740e link to data.peptide was deleted by me by mistake. Now that it's re-added, I revoked (un-necessary) changes I made since to the in.peptide input script 2019-09-06 11:18:33 -07:00
ce02cb58a5 replace explicit potential files with links to the potentials folder 2019-09-06 13:37:49 -04:00
82423ff4e0 re-add link to data.peptide file, which got deleted somehow 2019-09-06 13:25:31 -04:00
e40a710f04 comm_modify docs tweak
comm_modify cutoff usage clarification, when using restart files
2019-09-06 01:38:17 -06:00
9ba26a3145 Merge pull request #54 from lammps/master
rebase
2019-09-06 01:30:04 -06:00
0235b1a286 bond/react: move MAXLINE to header 2019-09-06 00:18:24 -06:00
49b5825e8d bond/react docs tweak: address a common mistake
no atom of a small molecule should be specified as an edge atom
2019-09-05 23:50:57 -06:00
718567f0c0 merging after deleting data.peptide per PR 1660 2019-09-05 21:25:13 -07:00
4fdece59a5 (a)fixed bz2 import, (b)linked to data.peptide in examples/peptide, (c)added a runlog 2019-09-05 21:19:57 -07:00
bb0225c02e clear svector for every invocation. document changes 2019-09-05 14:29:10 -04:00
cfd72aacce Merge pull request #1653 from cjknight/make_theta
Cleaning Theta Makefile
2019-09-05 14:14:35 -04:00
24f1981e31 use link instead of copy of data file for replica tool example 2019-09-05 14:10:02 -04:00
41d9dbff33 append all svector entries instead of copying over each other 2019-09-05 14:08:26 -04:00
4a9ca6eca2 Merge pull request #1661 from wmbrownIntel/user-intel-make-update
USER-INTEL: Adding explicit include path for MKL and updating benchma…
2019-09-05 14:02:49 -04:00
d28e5136b8 Merge pull request #1654 from nmhamster/master
Add support for Astra/Arm system to LAMMPS build files
2019-09-05 14:00:44 -04:00
92c77a2b37 Merge pull request #1634 from junghans/kim-api-version
cmake: add version check for kim-api
2019-09-05 13:59:46 -04:00
bb1cb2e5a8 Add transpose for ulisttot 2019-09-05 10:23:52 -06:00
cffe43c96c bugfix for copying svector data with hybrid pair styles 2019-09-05 12:11:32 -04:00
1e3938835b consolidate rigid fix constants and enumerators into a single header and namespace 2019-09-05 11:32:13 -04:00
96c21bec98 added new valid words to doc/utils/sphinx-config/false_positives.txt 2019-09-04 23:16:19 -07:00
21699b89e0 python tool to reorder replica traj 2019-09-04 15:26:10 -07:00
fc50ae5951 clean up description 2019-09-04 16:11:19 -05:00
364ccf6361 Fix typo 2019-09-04 16:26:03 -04:00
039665c635 USER-INTEL: Adding explicit include path for MKL and updating benchmark script. 2019-09-04 07:53:33 -07:00
50af20d194 bond/react: remember reaction counts
allow restart files to restore cumutative reaction counts
2019-09-01 23:31:31 -06:00
86c21264b9 correct string assignment, take 2 2019-09-01 23:09:01 -06:00
c981dd7cf4 another one-liner: incorrect string assigment
does not affect any current features
2019-08-31 22:51:06 -06:00
5ed720e79c Add support for Astra/Arm system to LAMMPS build files. Testing on Astra at Sandia using ATSE environment. 2019-08-29 08:54:37 -06:00
43a004daac Cleaning Theta Makefile 2019-08-28 17:00:59 -05:00
c24486c824 Fall back to base class function 2019-08-28 09:47:26 -07:00
9961229226 Update docs 2019-08-28 10:01:00 -06:00
02e6ce32ea Add Kokkos version of minimize 2019-08-28 09:41:15 -06:00
f1563ed988 Commit JT 082719
- correcting min_modify.txt
2019-08-27 17:44:04 -06:00
3ec9317d03 Modified documentation 2019-08-26 14:28:09 -06:00
07fceec1ee Tweaked doc page 2019-08-25 23:26:42 -06:00
fb702fa9d6 Added FCC, BCC, and ICOS examples 2019-08-25 23:02:41 -06:00
0b34db7881 Merge pull request #1642 from lammps/chunk-doc
add another example to Howto chunk doc page
2019-08-25 20:16:35 -04:00
438400e5fe Merge pull request #1644 from rbberger/kokkos_cmake_fix
Add missing npair style for KOKKOS when using CMake
2019-08-25 20:15:38 -04:00
f8e3ea2839 Added Wlhat 2019-08-25 12:06:25 -06:00
8e1b3116a7 Added Clebsch-Gordan coefficients 2019-08-23 22:29:41 -06:00
8b7c0e13b3 updated onsite velocity 2019-08-23 18:34:43 -07:00
aa9b805cc9 started on W_l 2019-08-23 18:11:52 -06:00
f44470fe63 Added fcc and bcc examples for the Steinhardt-Nelson parameters 2019-08-23 16:28:13 -06:00
ed02c25cfc bond/react: bug in 'max_rxn' option
fix one-line bug in 'max_rxn' option of bond/react
2019-08-22 22:36:48 -06:00
7d0ac95121 Merge pull request #52 from lammps/master
rebase
2019-08-22 22:28:28 -06:00
3736fc2758 fix gjf on site velocity 2019-08-22 19:08:01 -07:00
09937c9941 Add missing npair style for KOKKOS when using CMake 2019-08-22 18:36:36 -04:00
cb999ad65f fix typo 2019-08-22 13:46:24 -04:00
c74f5ae416 add another example to Howto chunk doc page 2019-08-22 11:37:21 -06:00
8ec4e3fc91 Commit JT 082219
- modified min spin names (removed oso from spin/cg and spin/lbfgs)
- modified associated option name (from spin_oso_cg to spin/cg, same for
lbfgs)
- modified .gitignore, doc pages, and examples accordingly
2019-08-22 10:48:58 -06:00
f74c5fc956 add RanPark pRNG warmup also to fix evaporate and create_atoms 2019-08-22 09:38:55 -04:00
ceeb7da591 Added onsite GJF formalism 2019-08-21 20:47:17 -07:00
801c165653 Added onsite GJF formalism 2019-08-21 20:11:43 -07:00
1599fcef12 Merge pull request #1640 from akohlmey/fix-wall-morse
Implement fix wall/morse
2019-08-21 22:17:08 -04:00
52a51ea470 Simplified GJF formalism 2019-08-21 19:14:08 -07:00
ad83f0e2e3 update docs to add morse in a similar style to fix wall/region 2019-08-21 17:12:04 -04:00
aac557a98f integrate fix wall/morse docs properly into manual 2019-08-21 16:00:14 -04:00
6a584672e8 implement fix wall/morse based on fix wall/region and fix wall/harmonic 2019-08-21 16:00:14 -04:00
82b3fad152 Merge pull request #1628 from erozic/feature-wall-region-morse
Added "morse" style to the "wall/region" fix
2019-08-21 11:47:43 -04:00
bf85bff783 Merge pull request #1641 from rbberger/fix_external_via_python
Extend lib interface to allow setting fix external callbacks
2019-08-21 10:54:59 -04:00
12c73e7a61 Merge branch 'upstream-master' into OSO 2019-08-21 14:03:42 +00:00
c71e869a33 define params in creator as init is called after modify 2019-08-21 14:02:34 +00:00
cfa9179b28 Merge pull request #1503 from etomica/master
Implement HMA compute in LAMMPS
2019-08-21 00:12:16 -04:00
42b282fe36 Merge pull request #1637 from dsbolin/granular_bug_fixes
Bug fix for fix/wall/gran
2019-08-21 00:09:04 -04:00
c686df1aba Merge pull request #1621 from akohlmey/collected-small-fixes
Collected small fixes and updates
2019-08-20 19:36:10 -04:00
ffc023adfe Merge pull request #1626 from erozic/feature-pair-cossq
New pair_style cosine/squared
2019-08-20 19:35:45 -04:00
9fc021d8db Merge pull request #1638 from ellio167/kim-api-2.1.3
bump kim-api to 2.1.3
2019-08-20 19:34:44 -04:00
91a80c3c21 Silence another compiler warning 2019-08-20 19:28:03 -04:00
fffe2eb958 Silence compiler warning 2019-08-20 19:26:26 -04:00
14b93f91e2 Compute HMA style name should be lowercase (and match the docs) 2019-08-20 19:25:19 -04:00
6b1df07298 compute HMA style name should be lowercase 2019-08-20 19:24:22 -04:00
b79e5401d4 Increase string buffer size to 128 2019-08-20 16:55:36 -06:00
9b703c6675 Fix file name 2019-08-20 16:54:37 -06:00
f4254cba09 Use snprintf instead of sprintf 2019-08-20 16:47:43 -06:00
b5a79f9616 update fix wall/region docs as requested by @sjplimp (i hope) 2019-08-20 16:50:49 -04:00
7beb2a53f2 Add missing comment 2019-08-20 14:12:14 -06:00
2b42428d28 Extend lib interface to set fix external callback
This allows creating a callback in Python and attaching it to
a fix external instance.
2019-08-20 14:04:49 -06:00
88ff8ce2d7 fix spelling issues in docs 2019-08-20 12:05:14 -04:00
6d5089e078 Merge branch 'master' into collected-small-fixes 2019-08-20 12:01:52 -04:00
3d9e737a19 change order of morse style wall potential parameters to be consistent with pair morse and bond morse 2019-08-20 11:27:29 -04:00
a0f49f27d9 Final tweaks to HMA documentation 2019-08-19 18:15:19 -04:00
9a849a4d4f Merge branch 'master' into master 2019-08-19 15:55:39 -06:00
5cee51204c Adjust warnings for default kim download behavior settings 2019-08-17 12:04:00 -05:00
3a4e6c0dfd Revert "Update FindKIM-API.cmake"
This reverts commit 2f531d0dab.
2019-08-17 11:40:13 -05:00
a5acf1655b resolve small formatting glitch
Text blocks must all be flush on the left side or else sphinx gets confused since indenting is part of the syntax.
2019-08-16 17:30:37 -04:00
cc14103f28 Bug fixes in granular pair style:
- correct formula for tangent forces in style with no history in compute() and in single() functions
- remove tangent history update in the single() function
- implement correct output for tangent, normal and rolling forces in single() function
- correct typos in documentation
2019-08-16 15:28:36 -05:00
2f531d0dab Update FindKIM-API.cmake 2019-08-16 12:05:20 -06:00
b72215fe02 add support for automated checksumming of downloaded sources to kim api conventional build 2019-08-16 12:43:37 -04:00
379fa22147 FindKIM-API.cmake: address Ryan's comments 2019-08-16 10:30:09 -06:00
42711245a2 bump kim-api to 2.1.3 2019-08-16 10:08:23 -06:00
8cfdf4fad5 Merge pull request #1632 from ellio167/kim-query-user-agent
Add user-agent setting to kim_query curl command
2019-08-16 12:05:55 -04:00
72c5808cfe Merge pull request #1633 from junghans/chain.x_install
cmake: install chain.x as well
2019-08-16 12:05:33 -04:00
578bcf0fb0 Fixes normal force calculation bug in fix wall granular, allows twisting to be used without rolling in fix/wall/gran 2019-08-16 01:19:08 -06:00
cd77f71e99 cmake: add version check for kim-api 2019-08-15 12:56:15 -06:00
edbd525bcb cmake: install chain.x as well 2019-08-14 17:16:43 -06:00
259176c590 Add user-agent setting to kim_query curl command 2019-08-14 17:16:10 -06:00
37a046cf1e Update pair_granular.cpp
Modified PairGranular::single function to return the total normal force into argument fforce.

This was done for pair styles gran/* but not for the granular pari_style, resulting in the variable fforce being uninitialized.
2019-08-14 17:39:56 -05:00
f2068ece84 restored regular langevin functionality 2019-08-13 16:06:17 -07:00
e4e2342641 no need to include mpi.h in headers that include pointers.h (directly or indirectly) 2019-08-13 11:04:13 -04:00
8078ac3849 cleaned up src files 2019-08-12 15:32:13 -07:00
47533bc526 Update fix_wall_region.txt 2019-08-13 00:31:03 +02:00
ff09c19149 documentation for fix_wall_region morse 2019-08-13 00:10:50 +02:00
915e0b30cf Merge branch 'master' into feature-wall-region-morse 2019-08-12 23:01:01 +02:00
39050265c2 Added gjf zero flag functionality and tbias functionality 2019-08-11 20:23:57 -07:00
fa6cf0fa8f reduce compiler warnings 2019-08-09 16:00:02 -04:00
42239bf480 update USER-MISC README 2019-08-09 15:51:49 -04:00
18725ce060 reformat documentation to match typical LAMMPS conventions, change links 2019-08-09 15:42:32 -04:00
5f442d7b64 add a couple of false positives 2019-08-09 15:31:22 -04:00
11f1ba220b fix typo 2019-08-09 15:30:55 -04:00
a12b959f39 Merge pull request #1625 from ellio167/kim-logs
Added logs for examples/kim
2019-08-09 13:47:41 -04:00
d90d2316d1 small tweak on include file list 2019-08-09 11:11:48 -04:00
ef3f382f61 fixed tbias 2019-08-07 17:27:35 -07:00
838238b1ca documentation 2019-08-08 00:38:41 +02:00
8619462b3b Added logs for examples/kim 2019-08-07 16:14:22 -05:00
55a7200246 updates to src/fix_langevin.cpp 2019-08-07 12:13:49 -07:00
131d5f0e69 Merge branch 'master' into lammps_gjf 2019-08-07 12:09:22 -07:00
f0f909996a Merge remote-tracking branch 'upstream/master' 2019-08-07 12:03:33 -07:00
b084ad519d Merge branch 'master' into feature-pair-cossq 2019-08-07 19:19:16 +02:00
131c5aadd2 Error/warning tweaks 2019-08-07 19:16:54 +02:00
d08d6b5fb0 Merge pull request #1623 from akohlmey/next-version
Step version string for stable release
2019-08-06 11:17:40 -04:00
db621fc897 Merge pull request #1622 from akohlmey/fix-ave-histo-bugfix
fix inconsistent enumerator bug in fix ave/histo vs fix ave/histo/weight
2019-08-06 10:54:49 -04:00
c820c92225 Merge pull request #1620 from lammps/replicate
fix formatting and augment explanation for bbox option
2019-08-06 10:12:19 -04:00
59046e7444 step version number for stable release 2019-08-06 08:52:54 -04:00
4a55e9dd0c fix inconsistent enumerator bug in fix ave/histo vs fix ave/histo/weight 2019-08-06 07:28:00 -04:00
71ce1c2027 use cube() and square() from math_special.h instead of pow(x,3.0) and pow(x,2.0) 2019-08-05 23:25:06 -04:00
21f3f51ea2 better error messages on accessing invalid IDs in variable expressions 2019-08-05 23:17:38 -04:00
2d64323354 fix formatting and augment explanation for bbox option 2019-08-05 17:21:11 -06:00
25b504d4fd Merge pull request #1615 from akohlmey/next_version
Step version string for stable release
2019-08-05 19:13:17 -04:00
34cc7ed5b1 Merge pull request #1619 from ellio167/kim-doc-update
Update kim query url in docs
2019-08-05 17:39:40 -04:00
3ef93d6e1b cannot forced enable FFMpeg and gzip on windows yet. 2019-08-05 16:59:18 -04:00
2092b2c010 Step version string for stable release 2019-08-05 16:58:26 -04:00
16bf916dd0 Merge pull request #1616 from akohlmey/fixes-for-stable
Collected small fixes for stable release
2019-08-05 16:48:50 -04:00
3a4bce1e52 Merge pull request #1617 from rbberger/cmake_docs_additions
Mention LAMMPS_LIB_SUFFIX in docs
2019-08-05 16:36:48 -04:00
0bd5704107 Merge pull request #1618 from giacomofiorin/colvars-update
Bugfix for Colvars library (update to version 2019-08-05)
2019-08-05 16:36:16 -04:00
e39b85b62f Update kim query url in docs 2019-08-05 15:23:57 -05:00
97501f0946 Fix typo 2019-08-05 14:59:40 -04:00
51ba9bd520 Bugfix for Colvars library (update to version 2019-08-05)
Bugfix for group2CenterOnly (coordNum option):
https://github.com/Colvars/colvars/pull/278
2019-08-05 14:14:33 -04:00
f2757eaf41 Mention LAMMPS_LIB_SUFFIX in docs 2019-08-05 14:00:56 -04:00
096c225594 Merge pull request #1613 from rbberger/cmake_docs_update
Update CMake documentation
2019-08-04 18:32:11 -04:00
58d27403f1 CMake tweaks to improve building LAMMPS for windows with mingw on Linux 2019-08-04 18:28:26 -04:00
b65ae605e5 Added one-liner for HTML-only docs in Build.txt 2019-08-03 15:17:18 -04:00
d82ae64d16 minor tweak for consistency 2019-08-03 11:16:55 -04:00
5b3423c60e tweaks for Linux to Windows cross-compilation 2019-08-03 11:16:14 -04:00
faefcc776a sched_getaffinity() is a Linux specific system call. add preprocessor guards 2019-08-03 10:38:41 -04:00
0774e92ece use KIM-API 2.1.2 consistently with CMake and conventional build system 2019-08-03 06:40:31 -04:00
91fdd98fbc restore accidentally deleted text 2019-08-02 18:44:40 -04:00
bd87b67232 Update false_positives.txt 2019-08-02 17:35:26 -04:00
eb7fa1b6cb Update CMake documentation 2019-08-02 17:04:59 -04:00
aff5f06e8f Merge pull request #1612 from akohlmey/new_version
Step version string for next patch release
2019-08-02 14:27:13 -04:00
bd3ffe1321 Merge pull request #1603 from eagunn/iss1572clean
Iss1572clean: Clean fix for error handling, clarify data requirements for fix bocs input
2019-08-02 10:43:30 -04:00
11198e9d29 Merge pull request #1607 from giacomofiorin/colvars-update
Update Colvars to version 2019-08-01
2019-08-02 10:43:13 -04:00
a857e7f790 Merge pull request #1608 from wmbrownIntel/intel-eam-eatom-fix
Bug fix for eam/intel per-atom energy calculation.
2019-08-02 10:42:54 -04:00
9c691ddd0f Merge pull request #1610 from wmbrownIntel/intel-ncache-alias-fix
Bug fixes for use of uninitialized variable and strict-aliasing in USER-INTEL
2019-08-02 10:42:37 -04:00
828ddfd957 Merge pull request #1611 from evoyiatzis/patch-1
small clean-up of fix.txt
2019-08-02 10:42:20 -04:00
7ba6b8a06a Merge pull request #1604 from akohlmey/timeout-for-replica
Add support for timeouts to temper commands and a few small fixes
2019-08-02 10:41:44 -04:00
d750cc02c0 Changed the code in the read_F_table function to conform to the "expected behavior" description in #1572. Adopted a best-of-both-worlds approach, though, and processed the whole input file all the way through, emitting a message for each problem found, before issuing a final error message to stop processing. Updated doc to clarify requirement for uniform spacing of pressure correction points. 2019-08-02 08:46:04 -04:00
9ed43e55f0 add some more descriptions for fixes to list of style in fix command docs 2019-08-02 08:41:34 -04:00
8fd28cd78d fix typo 2019-08-02 08:40:59 -04:00
b5f19b93c2 Step version string for next patch release 2019-08-02 05:15:29 -04:00
5076f1a36c small clean-up of fix.txt 2019-08-02 10:55:18 +02:00
f61cd68ca4 add missing parenthesis 2019-08-01 20:43:33 -04:00
5b4b418289 use check_language() instead of enable_language() to get fortran compiler name 2019-08-01 18:24:14 -04:00
8df7f51470 Merge branch 'master' into timeout-for-replica 2019-08-01 16:56:49 -04:00
f9e34825f0 workaround for xcode oddity with compiling voro++ 2019-08-01 16:42:52 -04:00
52e2db44a1 Update Colvars to version 2019-08-01
One new feature (geometric path variables) and bugfixes.

Minimize occurrence of file-read errors in multiple-walker metadynamics
https://github.com/Colvars/colvars/pull/276

Better error messages for RMSD
https://github.com/Colvars/colvars/pull/272

Ensemble-biased metadynamics documentation
https://github.com/Colvars/colvars/pull/261

Fix bug on multiple walkers metadynamics, pmf included twice
https://github.com/Colvars/colvars/pull/259

Implementation of the geometric path collective variables (C++11-only feature)
https://github.com/Colvars/colvars/pull/249
2019-08-01 15:15:58 -04:00
de366c27e2 Merge pull request #1606 from oywg11/fix-ILP-bug
Fix a communication bug of potential #839
2019-08-01 15:01:13 -04:00
5fd323fe32 simplify example folder for ilp/graphene/hbn potential
- flatten directory structure
- remove CPU time and reduce excess precision from output
- delete redundant and unused files
- regenerate reference outputs
2019-08-01 14:24:47 -04:00
64b682b9f9 library compilation fix for clang with exceptions and -DLAMMPS_BIGBIG 2019-08-01 13:40:50 -04:00
083841ab2a another compilation fix 2019-08-01 13:34:05 -04:00
fa6a990536 reduce output precision to default and don't output per-step cpu time 2019-08-01 13:31:52 -04:00
73d2b824bd fix compilation issue of library.cpp with exceptions enabled 2019-08-01 13:31:13 -04:00
e17e6bb45d Merge pull request #1605 from akohlmey/fix-compilation-errors
Fix some compilation errors
2019-08-01 11:24:30 -04:00
2fe4a6490c restore include file cleanup changes 2019-08-01 11:20:06 -04:00
5fe457667e restore showing references to potential files without pathnames 2019-08-01 11:19:39 -04:00
02511a0ae5 Merge branch 'fix-compilation-errors' of https://github.com/akohlmey/lammps into fix-ILP-bug 2019-08-01 17:40:01 +03:00
76bac4cedc Fix communication bug of ILP 2019-08-01 16:39:42 +03:00
8f5cd8661f Fix communication bug of ILP 2019-08-01 16:38:19 +03:00
e57c3c04d0 Bug fixes for use of uninitialized variable and strict-aliasing in USER-INTEL. 2019-08-01 05:32:18 -07:00
c967c09561 correct compilation error with exceptions enabled in main.cpp 2019-08-01 08:14:27 -04:00
a6bd86eb77 make USER-OMP code compatible with pre-c++ 11 compilers again 2019-08-01 08:14:03 -04:00
e3c91626c8 need to include update.h when exceptions are enabled 2019-08-01 07:07:21 -04:00
2a74832a1e protect MPI library version detection from incompatible MPI libraries 2019-08-01 07:04:24 -04:00
86e3740fb3 use more common syntax for CPP's "defined" keyword 2019-08-01 07:03:51 -04:00
892e4759df protect Spectrum MPI detection from failing to compile with MPI libraries implementing MPI version 2 or 1 2019-08-01 07:02:55 -04:00
207976f4e9 avoid abort when timeout appears in temper commands 2019-08-01 06:11:05 -04:00
074ae06b36 Bug fix for eam/intel per-atom energy calculation. 2019-08-01 02:19:49 -07:00
75c1e28566 fix typo 2019-07-31 23:28:57 -04:00
58404946db add timer timeout support to temper commands 2019-07-31 23:26:13 -04:00
d09ca91627 Merge pull request #1599 from rbberger/collected-small-changes
Collected small changes
2019-07-31 19:13:41 -04:00
e89cedbd99 Merge pull request #1601 from akohlmey/cmake-list-portability
Improve compatibility to older CMake versions when building/installing LAMMPS library and headers
2019-07-31 12:19:41 -04:00
4011f6650d first step of adding timeout support to temper commands 2019-07-31 05:05:17 -04:00
0fa9cd5004 use utils::strmatch to simplify checks for compatible thermostat/barostat fixes 2019-07-31 05:03:59 -04:00
3cc8508795 Add missing definition of NULL in USER-PTM header 2019-07-31 03:22:22 -04:00
da3b91a744 Remove not existing files from USER-PHONON Install.sh 2019-07-31 03:11:44 -04:00
bc79412203 list(TRANSFORM ...) is not portable to older versions of cmake. work around it. 2019-07-30 22:54:02 -04:00
8803183b8b Merge pull request #1593 from akohlmey/next_version
Step version string for next patch release
2019-07-30 22:25:26 -04:00
11a3fd6ce4 Merge pull request #1556 from lammps/bug-maxexchange
more robust version of atom exchange size
2019-07-30 17:09:18 -04:00
e3b1673c8c Merge pull request #1597 from stanmoore1/eff_be_test
Fix failing regression test /examples/USER/eff/Be-solid/in.Be-solid.spe
2019-07-30 17:07:55 -04:00
69a5ff2240 Merge pull request #1592 from akohlmey/collected-small-changes
Collected small changes for next patch release
2019-07-30 17:06:48 -04:00
2b288bc9e0 add missing mode keyword for substitution 2019-07-30 16:53:27 -04:00
882b2301bb handle shared library extension on macosx for plumed runtime build 2019-07-30 16:48:50 -04:00
528ec75f88 special case for MacOSX not needed 2019-07-30 16:38:40 -04:00
f5bf86b32d more improvements to CMake build for USER-PLUMED on MacOSX
default to shared linkage on MacOSX to avoid linker issues from
configure/cmake library detection differences

link/depend on GSL and LAPACK explicitly only for static linkage
2019-07-30 16:27:00 -04:00
f4e3186abf Commit JT 073019
- modified the false_positive file to correct errors
- improved the doc page of fix nve/spin
2019-07-30 13:10:27 -06:00
d4503a05a4 mention that cstdlib is included in lmptype.h now, too. 2019-07-30 14:22:33 -04:00
47fc31d005 move inline functions to the only place they are used. no need to use size_t for indices that are small 2019-07-30 14:21:53 -04:00
2d93a713e2 Merge branch 'master' into collected-small-changes 2019-07-30 14:14:11 -04:00
6d94fc1b3d include cstdlib in lmptype.h since we define ATOX() macros. 2019-07-30 14:07:30 -04:00
602b4a47c0 Fix failing regression test 2019-07-30 10:37:27 -06:00
b5621b2c90 Merge branch 'master' of github.com:alxvov/lammps into OSO
Conflicts:
	src/SPIN/neb_spin.cpp
2019-07-30 09:14:49 -06:00
74fa4f7415 Commit JT 073019
- modified doc doc/src/min_modify.txt
- tested lattice minimizers with norm styles
2019-07-30 08:58:12 -06:00
8fa4efa08e Merge pull request #1440 from ellio167/kim-simulator-models
Develop native support for KIM simulator models
2019-07-30 10:53:58 -04:00
3eadfa15ef Merge pull request #1512 from mkanski/rotate_molecules
Extend support of "rotate" keyword to all styles of "create_atoms"
2019-07-30 10:53:37 -04:00
3548551479 Fix Kokkos package compile error 2019-07-30 08:49:58 -06:00
d1e8d7cbf8 Step version string for next patch release 2019-07-30 08:26:11 -04:00
aa3c44ad4a modify documentation a bit 2019-07-30 12:02:10 +00:00
9609c75073 Use descent condition, and no line search as a default option for
all oso
2019-07-30 11:16:40 +00:00
b0bccfd8a1 fix typo 2019-07-30 06:55:47 -04:00
3559c25bd9 add missing parenthesis 2019-07-30 06:35:35 -04:00
3fdadb5875 add configuration for linking VTK 7.1 on Ubuntu 18.04 2019-07-30 06:02:47 -04:00
7ab7691c51 update PLUMED support to version 2.5.2 2019-07-30 05:57:57 -04:00
3ee86470bb correct documentation URL for PLUMED 2019-07-30 05:53:28 -04:00
d201d6c2d1 fix grammar error 2019-07-30 10:18:53 +02:00
88523fdd6e Merge pull request #1529 from rupertnash/compute_momentum
add compute momentum command
2019-07-29 22:51:29 -04:00
c9f3f99ee8 Update to kim-api-2.1.2 2019-07-29 21:48:12 -05:00
4289dbb78d clean up includes and whitespace 2019-07-29 22:28:29 -04:00
d2c4989dbf Merge pull request #1583 from evoyiatzis/gyration_shape
computing the eigenvalues of gyration tensor & shape parameters
2019-07-29 22:16:13 -04:00
edf64ed16c Merge pull request #1511 from jdevemy/master
Add keyword hybrid/pair for compute_pressure
2019-07-29 22:15:20 -04:00
9004ebc3fe one more fixup for compatibility for old PDF build scheme 2019-07-29 21:11:13 -04:00
90c678849a replace non-ascii characters with ASCII equivalents 2019-07-29 21:10:49 -04:00
9f276be0e5 fix up legacy doc building for final kim doc files 2019-07-29 20:48:47 -04:00
6833d6def6 Merge branch 'master' into kim-simulator-models
# Resolved Conflicts:
#	src/KIM/kim_query.cpp
#	src/KIM/pair_kim.cpp
2019-07-29 20:43:10 -04:00
5cb02781c2 simplify checking for per chunk compute 2019-07-29 20:35:24 -04:00
180c90acfb use utils::strmatch() to more safely detect gravity fix 2019-07-29 20:21:31 -04:00
2e6850835f Merge pull request #1542 from akohlmey/improve-include-consistency
Improve Consistency of Include Statements (mostly complete)
2019-07-29 20:12:41 -04:00
0f9112d986 transfer pRNG init changes from fix deposit to fix pour 2019-07-29 20:03:16 -04:00
000d5b7cc2 simplify code a little and remove excess whitespace 2019-07-29 20:02:31 -04:00
7043b9f620 Merge pull request #1548 from jrgissing/bond/react-clarify-how-stabilization-works
Bond/react clarify how stabilization works
2019-07-29 19:55:24 -04:00
91e0bebdfa Merge pull request #1576 from Adrian-Diaz/patch-rcb
patch niche rcb issue
2019-07-29 19:54:45 -04:00
d688624335 Merge pull request #1581 from akohlmey/comm-cutoff-with-bond
Include bonds in communication cutoff estimate when no pair style is present or print warning, if cutoff may be too small.
2019-07-29 19:54:24 -04:00
191044ab94 Merge pull request #1588 from akohlmey/cmake-installation-folder-bugfix
Fix bugs with CMake potentials and frc folder installation. Include base C++ headers for library install, too, so one can use the C++ interface as well.
2019-07-29 19:53:36 -04:00
c03e9c9711 Adjust write_echo() within kim_query 2019-07-29 16:11:29 -05:00
2ffc35297b make kim_query log of variable setting look more like other KIM log messages
this adds BEGIN/END marker comments and echoes the actual command line
that the kim_query command implicitly executes
2019-07-29 16:57:34 -04:00
514608b82f Merge branch 'kim-simulator-models' of github.com:ellio167/lammps into kim-simulator-models 2019-07-29 16:40:29 -04:00
ea4107c4b4 add write_echo() method to Input class for logging implicit commands where the echo command would send explicit ones 2019-07-29 16:36:57 -04:00
0f059c56f9 Add details about installing models to KIM example input 2019-07-29 15:30:46 -05:00
0820ebc143 cleanup of compute gyration/shape code.
- use MathSpecial::square(x) instead of pow(x,2) for improved precision
and handling of small and negative numbers
- remove unused include statements
- no need to refetch the compute in every step. during init() is sufficient
2019-07-29 16:16:24 -04:00
0beb39c1af fully integrate compute gyration/shape into doc build system 2019-07-29 16:14:29 -04:00
2afc498a2b Add logging to kim_query (compile error at moment) 2019-07-29 15:04:15 -05:00
e0b20c4fd4 add false positive 2019-07-29 15:23:23 -04:00
6a1b61637b provide some more details about 'make install' with CMake 2019-07-29 13:43:06 -04:00
96e0b03ede .frc files only need to be installed if msi2lmp is built 2019-07-29 13:38:38 -04:00
5307558727 need to install some base C++ headers for C++ library use 2019-07-29 13:34:04 -04:00
a0abd270b5 kim_query check for empty query result 2019-07-29 11:41:01 -05:00
838ea2eca1 Merge branch 'improve-include-consistency' of github.com:akohlmey/lammps into improve-include-consistency 2019-07-29 10:55:24 -04:00
2fba3d027a fix small formatting issue 2019-07-28 14:44:47 -04:00
7df2ae38b5 Merge branch 'OSO' of github.com:alxvov/lammps into OSO
Conflicts:
	src/min.cpp
2019-07-26 17:56:49 -06:00
1364329432 Commit JT 072619
- draft doc of norm option (doc/src/min_modify.txt)
2019-07-26 17:54:04 -06:00
c5b7a36eeb Commit JT 072619
- added a min_style option for norm type (euclidean or Max)
- adapted and tested spin minimizers
- adapted (net tested) regular minimizers
2019-07-26 17:33:49 -06:00
0f10c55c1c avoid recursive header inclusion 2019-07-26 17:26:59 -04:00
9477df4244 Merge branch 'master' into improve-include-consistency 2019-07-26 17:24:32 -04:00
863ae35658 Merge branch 'fix-plumed-issues' into collected-small-changes 2019-07-26 15:45:41 -04:00
94126e5424 use MPI_Get_library_version() API to provide a more detailed version info, not just the MPI standard level
very chatty output (e.g. from MPICH) is truncated to the next line after 80 characters.
2019-07-26 15:44:10 -04:00
a0e005f93c include LAMMPS version in STUBS library version string. 2019-07-26 15:43:01 -04:00
a5a1e27fb1 refactor commands in the STUBS folder for 'make serial' and 'make clean-serial'
make so that for the "serial" make target we not only automatically build
the STUBS library, if it is missing, but also update its compilation when
there are changes and remove it on the "clean-serial" target.
2019-07-26 15:42:34 -04:00
35cee904d7 Merge pull request #1580 from stanmoore1/kk_cuda_aware
Fix CUDA-aware MPI issues with KOKKOS package
2019-07-26 15:17:49 -04:00
f2dbe186ca Fix typo 2019-07-26 11:45:50 -06:00
e816f0e7a6 Cleanup of CUDA-aware MPI code 2019-07-26 11:24:15 -06:00
0ba854b4ab Add MPI_Get_library_version to STUBS library 2019-07-26 11:23:46 -06:00
f4a984175c Merge pull request #1587 from valleymouth/bug_nve
Fixing bugs in nve/kk when using rmass.
2019-07-26 13:15:30 -04:00
17d6b317a7 Better workaround for Spectrum MPI 2019-07-26 10:37:22 -06:00
7e5c293a23 delete comment. Add line option 2019-07-26 16:30:38 +00:00
6a5902ec48 Update kim_init to use KIM::Collections::GetItemType()
A bit of a cleaner solution.  Should be no visible change for users.
2019-07-26 11:14:46 -05:00
010cb0edf3 Add warning to cmake if PKG_KIM=ON but DOWNLOAD_KIM not set & KIM is not found
This can be a scenario where the user has KIM installed but does not have the
environment setup correctly to be found.  The config. step should provide some
warning of this.  Otherwise, it is easy to miss the fact that KIM is being
downloaded and built.
2019-07-26 11:10:54 -05:00
883f6d1e8d Commit1 JT 072619
- corrected warnings in cg and lbfgs
- removed unused variables in spin/dipole pair styles
2019-07-26 09:06:43 -06:00
0bb9df76c2 correct shell profile variables to point to the installation directory 2019-07-26 09:58:18 -04:00
8d4f189699 Revert "new versions of jacobi() method"
This reverts commit 39315268e8.
2019-07-26 09:38:32 -04:00
ca1fece850 Fixing remaining wrong indexing of rmass in nve/kk. 2019-07-26 12:46:04 +01:00
e8d891c0dd simplify installation of data folders and make it consistent
fixes #1586
2019-07-26 06:06:03 -04:00
47689b4ad3 make include files independent of previously included headers. include them first in implementation files.
this is to be compliant with upcoming definition of include file policy
2019-07-26 06:03:21 -04:00
179b507107 Fixing bug in nve/kk when using rmass. 2019-07-26 10:55:27 +01:00
9bedd0d0d0 Merge pull request #1584 from akohlmey/bonded-hybrid-restart
Correct restarting of bonded hybrid styles for table styles
2019-07-25 21:26:17 -04:00
52e1755464 fix spelling errors and false positives 2019-07-25 21:20:42 -04:00
60dfa7daf8 doc spelling update 2019-07-25 18:31:40 -05:00
cc96ea1ded added respa compatability, and simplified examples 2019-07-25 15:23:01 -07:00
fe83e4de2e revise logic and documentation of communication cutoff selection one more time 2019-07-25 16:00:01 -04:00
fadb40051b Update kim_query & clear and update examples/kim 2019-07-25 14:03:35 -05:00
ab74bfef20 Small logic tweak 2019-07-25 12:52:16 -06:00
7c1fedff18 Fix var name 2019-07-25 12:30:45 -06:00
081780706c Store if comm flags are changed by turning off CUDA-aware MPI so they can be restored if using cuda/aware on 2019-07-25 12:15:29 -06:00
d0b442aca1 Rename file 2019-07-25 11:25:32 -06:00
df139bf32b Merge in suggestions from PR #1582 2019-07-25 11:17:45 -06:00
ca291f1015 Update to kim-api-2.1.1 2019-07-25 11:47:56 -05:00
183d92cad7 update comm_modify documentation 2019-07-25 08:49:49 -04:00
4586fd50af adjust logic for choosing the communication cutoff to requests from @sjplimp
limit cases where warning about adjusting the comm cutoff is printed.
2019-07-25 08:33:21 -04:00
18730e0f92 add documentation for the need to respecify coeff commands for bonded table styles 2019-07-25 08:15:18 -04:00
f86d2c9934 read/write settings in restart files for bonded hybrid styles
this allows to properly restart table styles, which require
additional settings unlike all other bonded styles.
2019-07-25 07:55:39 -04:00
5ca93e3651 move global settings in restart files for table styles to restart settings functions 2019-07-25 07:54:21 -04:00
b1a5444815 add (empty) read/write_restart_settings() functions to bond/angle/dihedral/improper base classes 2019-07-25 07:32:15 -04:00
114a754a72 Delete compute_gyration.cpp
It is not part of the new compute style
2019-07-25 11:48:04 +02:00
6710cc4052 cpp file for the compute command
The right file with the cpp code
2019-07-25 11:44:43 +02:00
6e9252c847 Add files via upload
The actual source code for the new compute
2019-07-25 11:10:36 +02:00
1cebc5516e Update README
Adding my e-mail to README
2019-07-25 11:05:35 +02:00
0be034ea46 Add files via upload
txt file with the documentation of the new compute style
2019-07-25 11:03:41 +02:00
aec43304f4 Add files via upload
tex file with the equations for the shape parameters
2019-07-25 11:02:51 +02:00
14d3859605 Added GJF-2GJ authors 2019-07-24 20:08:00 -07:00
b5a066ecd0 Better error checking for kim_init log.cite behavior 2019-07-24 21:08:08 -05:00
13f4fe186b Updated examples/gjf/README.md 2019-07-24 16:30:02 -07:00
0a22d017c3 Merge branch 'lammps_gjf' of https://www.github.com/charlessievers/lammps into lammps_gjf 2019-07-24 16:25:12 -07:00
b97e856bf2 Tally works and example readmes addes 2019-07-24 16:21:49 -07:00
3ae8d5ea70 debugging gjf tally 2019-07-24 16:21:49 -07:00
f4da632870 recent change to gjf tally (not working) 2019-07-24 16:21:49 -07:00
e0454ce580 updated gjf in fix_langevin 2019-07-24 16:21:49 -07:00
e38072f365 added lammps python example 2019-07-24 16:21:49 -07:00
4a80edd75f updated fix_langevin and made example 2019-07-24 16:21:48 -07:00
f9ed12be4f modify line for spin_cubic, spin_none. edit docs a bit. 2019-07-24 23:21:07 +00:00
25653e67f8 Tally works and example readmes addes 2019-07-24 16:05:25 -07:00
d08477cc5f print warning, when explicitly specified communication cutoff is increased 2019-07-24 17:49:00 -04:00
fe7927af11 move it after the generator is constructed 2019-07-24 14:38:08 -07:00
c098582df8 refactor communication cutoff estimator. move it to Comm class. and adjust heuristics. 2019-07-24 17:27:35 -04:00
eaf2b59b1b adapt fix neigh/history/omp to changes for dynamic exchange buffer size 2019-07-24 16:53:03 -04:00
3c53efb1ca don't set MPI communicator when compiling in serial with MPI stubs 2019-07-24 16:03:11 -04:00
d59737299c whitespace cleanup 2019-07-24 16:02:49 -04:00
6ee38d4887 use ${CMAKE_SHARED_LIBRARY_SUFFIX) for better portability 2019-07-24 16:02:36 -04:00
24d9c537c0 only search for LAPACK when building in static mode and when it is not needed for something else 2019-07-24 16:01:46 -04:00
cb9facea8b add reset of dotmark 2019-07-24 13:43:12 -06:00
afab7d99c1 Fix variable name 2019-07-24 13:10:37 -06:00
1d310ad73e add half a bond length safety margin to bond length based cutoff estimates 2019-07-24 14:52:37 -04:00
20843f7476 add documentation for warning added to comm styles 2019-07-24 14:52:07 -04:00
be1522d16d add warning to Comm class against zero communication cutoff 2019-07-24 14:42:17 -04:00
985c959a91 include the bond length in communication cutoff considerations 2019-07-24 14:27:29 -04:00
4760cf868d Update docs to change GPU-direct to CUDA-aware MPI 2019-07-24 12:11:26 -06:00
4400257783 Change GPU-direct to CUDA-aware MPI and add workaround for IBM Spectrum MPI 2019-07-24 12:10:57 -06:00
3887a7f3d7 Updated KIM ID code for IFF SM 2019-07-24 12:07:38 -05:00
2d2c1954db Merge branch 'kim-simulator-models' of github.com:ellio167/lammps into kim-simulator-models 2019-07-24 11:24:20 -05:00
3bc4a07c74 Corrections to kim_query in example 2019-07-24 11:23:51 -05:00
be86db9dd9 Update /lib/kim stuff 2019-07-23 21:06:02 -05:00
15d791d0e3 debugging gjf tally 2019-07-23 18:41:31 -07:00
9c3760064c move it to the constructor 2019-07-23 15:01:49 -07:00
dd4368dd1b Fix bug in pair_kim.cpp for partialParticleVirial computation 2019-07-23 13:41:31 -05:00
ce9c5e41a8 Merge branch 'new-jacobi' into improve-include-consistency 2019-07-23 13:56:30 -04:00
f1c3b9d0bf Commit2 JT 072319
- corrected some mistakes in doc files
- modified oso examples to match new line options
2019-07-23 11:24:52 -06:00
f0679cff6d Commit JT 072319
- added 2 oso examples in examples/SPIN/spinmin
- added doc for oso_cg and oso_lbfgs
2019-07-23 09:27:15 -06:00
1f40390489 recent change to gjf tally (not working) 2019-07-22 13:48:02 -07:00
b6b802d0b1 correct forward declaration of POEMS workspace class 2019-07-22 14:36:09 -04:00
a9a2c7a496 no line search as default option for CG 2019-07-22 18:31:14 +00:00
89bfe4acf2 change convergence criteria in min_spin 2019-07-22 18:29:24 +00:00
320be3bcef undo changes to poems library and package as they fail regression testing 2019-07-22 14:22:36 -04:00
07f2f5e526 no line search for multireplica 2019-07-22 18:15:32 +00:00
31d2b23f9c rename cg2 -> cg 2019-07-22 17:53:02 +00:00
72797b3063 Merge branch 'master' into improve-include-consistency 2019-07-22 13:31:03 -04:00
fabe611c11 use line search or adaptive time step 2019-07-22 17:26:47 +00:00
36ac47c2c6 Merge branch 'kim-simulator-models' of github.com:ellio167/lammps into kim-simulator-models 2019-07-22 10:55:30 -05:00
f5beb418e8 Put in KIM ID for IFF model in kim_commands usage examples 2019-07-22 10:54:53 -05:00
65ac9f1340 Merge branch 'OSO' into OSO_CG2_with_linesearch 2019-07-22 14:44:54 +00:00
e4001b0179 change convergence criterion 2019-07-22 14:38:02 +00:00
473e64c6b6 actual gradient of energy, not scaled by hbar.
convergence criterion is in eV
2019-07-22 13:49:41 +00:00
243ce8dbfc Merge branch 'master' into compute_momentum 2019-07-22 09:48:08 +01:00
c831cee21d Fix typos in documentation 2019-07-22 09:46:01 +01:00
f2978475af Update docs
* bring homebrew install notes up-to-date
* update openkim docs
2019-07-21 15:17:53 -05:00
03d26f6f6f Merge branch 'master' into kim-simulator-models 2019-07-21 13:59:48 -05:00
f4df51763d Merge pull request #1574 from akohlmey/next_version
Step version string for next patch release
2019-07-20 08:49:03 -04:00
e517a16bda updated gjf in fix_langevin 2019-07-19 17:21:01 -07:00
9239c9dedb patch niche rcb issue 2019-07-19 17:13:44 -06:00
d52540ea31 Merge pull request #1571 from stanmoore1/kk_snap_opt
Add optimized version of Kokkos SNAP potential
2019-07-19 19:10:10 -04:00
a50d57bceb Merge branch 'master' into improve-include-consistency
# Conflicts:
#	src/utils.cpp
2019-07-19 17:57:58 -04:00
981b9a1f7a Merge pull request #1567 from akohlmey/collected-small-fixes
Collected small fixes and update for the next patch
2019-07-19 17:25:39 -04:00
895d4fa927 Merge pull request #1575 from akohlmey/better-error-checking-on-parsing
Better error checking on parsing files
2019-07-19 17:25:16 -04:00
502fbfb78a Fix memory issue 2019-07-19 15:20:22 -06:00
eb447db7c5 added lammps python example 2019-07-19 13:51:36 -07:00
a96e6f220a updated fix_langevin and made example 2019-07-19 13:36:57 -07:00
276e3b2df1 update fix tmd input similar to read_data 2019-07-19 14:00:24 -04:00
ceb2ce5814 Merge branch 'master' into improve-include-consistency
# Conflicts:
#	src/USER-CGDNA/pair_oxdna2_stk.cpp
2019-07-19 13:26:00 -04:00
67b74aea63 Merge pull request #1573 from ohenrich/user-cgdna
Update for USER-CGDNA package
2019-07-19 13:24:07 -04:00
3b7bb668ae conjugate gradients with line search 2019-07-19 16:41:51 +00:00
e72aef2a96 more sscanf() return value checking 2019-07-19 12:01:16 -04:00
b31548df2e convergence criterion based on maximum toque at atom. Minor changes 2019-07-19 16:00:08 +00:00
c7bccc5e7a Workaround for GCC internal compiler error 2019-07-19 09:40:19 -06:00
d730ef5b19 fix typo 2019-07-19 11:31:45 -04:00
44c9d3c1be Merge pull request #60 from evoyiatzis/patch-1
Update compute.txt with missing one line comments on compute commands
2019-07-19 11:26:03 -04:00
1de00aaab0 improve parsing of data file header
the header lines are now checked using regular expressions
instead of strstr() which allows for stricter checking, but
also is more forgiving in terms of extra or different whitespace

return value of sscanf() calls is checked and on failure LAMMPS errors out
2019-07-19 11:16:41 -04:00
8526e7a4cd checking return value of ?scanf() calls to detect problems parsing files 2019-07-19 11:14:39 -04:00
4f7c95d87e Update compute.txt
Addition of a few one-liners
2019-07-19 17:13:38 +02:00
4c328bf846 add metachars '\i' and '\f' to regexp for interger and floating point number chars 2019-07-19 10:39:06 -04:00
aa5263f729 restructure a bit 2019-07-19 13:46:26 +00:00
babbdaff2c step version string for next patch release 2019-07-19 08:31:04 -04:00
c2643a519e Clarified explanation of new example3 2019-07-19 13:29:39 +01:00
ad713d39a4 rename min_spin_oso_lbfgs_ls -> min_spin_oso_lbfgs 2019-07-19 11:58:39 +00:00
7514eea9a7 no line search option too 2019-07-19 11:47:24 +00:00
0ee0ea109c Removed references to pair_oxdna2_stk 2019-07-19 12:43:37 +01:00
57fd9723a5 Added comment on new duplex3 2019-07-19 12:30:01 +01:00
e2a7cdc4f7 Updated extended documentation 2019-07-19 12:20:56 +01:00
92b53c7bc2 Merge pull request #1570 from julient31/spin-update
Minor corrections in the SPIN package
2019-07-19 07:03:40 -04:00
7bf9757755 Updated input and log files, amended comment in data files 2019-07-19 11:57:58 +01:00
3acb09e3b1 Corrected virial, altered calculation of stacking strength 2019-07-19 11:09:47 +01:00
45516e329e delete unused variables and function 2019-07-19 09:30:02 +00:00
e5fffa59ef Add optimized version of Kokkos SNAP 2019-07-18 15:29:45 -06:00
3bc2a5504b throw away random numbers in /src/MISC/fix_deposit.cpp 2019-07-18 09:04:44 -07:00
19d7cd6364 git rm fix_deposit.cpp from /src 2019-07-18 09:00:30 -07:00
87154da7f5 another Unix path correction 2019-07-17 23:24:12 -06:00
8cf1084dec bond/react: use Unix path in docs 2019-07-17 23:05:28 -06:00
92518e53f4 Revert "spelling: attempt add file paths to false positives"
This reverts commit 0c4af8b820.
2019-07-17 22:58:40 -06:00
22b73a316f Commit2 JT 071719
- added 'magnetons' to false-positive for doc
2019-07-17 22:15:23 -06:00
60ebc08d0f Commit JT 071719
- added doc for read_data spin
- corrected an error in pack/unpack data hybrid
- added mask flags in fix_nve_spin::initial_integrate
- removed spin renormalization in min_spin (was causing a bug)
2019-07-17 21:49:26 -06:00
095b4f11d8 throw away random numbers 2019-07-17 19:04:06 -07:00
856efa28aa fix issue #1568 2019-07-17 19:37:08 -04:00
02b0fb454f include rmass[] in border communication. will otherwise trigger issues with fix shake. 2019-07-17 16:34:43 -04:00
bcf600d781 let CMake configuration default to Release with debug settings
this way we can more easily get detailed stack traces from people compiling with CMake
2019-07-17 15:47:28 -04:00
06275b03c0 refactor FFT handling in CMake module for KSPACE.
This also improves the FFT info output in the PPPM styles
2019-07-17 15:46:39 -04:00
354f4d19fd Update to kim-api-2.1.0 release 2019-07-16 22:11:23 -05:00
5b4f77b919 kim_query check for explicit 'model=' key in arguments (give error if present). 2019-07-16 16:20:48 -05:00
b61b48235b Updated openkim.org documentation URLs to new /doc/* locations 2019-07-16 15:19:28 -05:00
658cda9b67 Updated kim_query documentation to new format 2019-07-16 15:02:24 -05:00
0a90032b4c Merge pull request #1563 from stanmoore1/kk_setforce
Fix segfault in fix_setforce_kokkos
2019-07-15 18:07:10 -04:00
2b5a6d3b7f clean up (some) includes in KOKKOS package 2019-07-15 18:05:20 -04:00
2a04e41287 Add pointers between doc pages for compute hma and dynamical matrix 2019-07-12 22:43:05 -04:00
226e68a784 Rename Pair::pairTensor() => Pair::hessian_twobody() 2019-07-12 22:42:23 -04:00
68626f577b Merge branch 'master' into improve-include-consistency 2019-07-12 19:59:56 -04:00
6742f371ad Merge pull request #1561 from akohlmey/fix-user-intel-nve-bug
Fix bug in fix nve/intel
2019-07-12 19:59:21 -04:00
61220f9b6c Merge pull request #1562 from athomps/langevin-rm-notemplate
Removed TEMPLATED_FIX_LANGEVIN ifdef and untemplated version of fix langevin
2019-07-12 19:58:34 -04:00
3e90b82c8e Merge pull request #1564 from akohlmey/gpu-lib-clang-cplusplus
Improve portability of GPU library to CLang compilers
2019-07-12 19:58:15 -04:00
3d157e5ab4 more include handling cleanup in USER packages 2019-07-12 18:00:59 -04:00
a1f0c0079d some cleanup for missed steps in previous change sets 2019-07-12 16:37:01 -04:00
e832b5d50b make clang++ happy when trying to compile the GPU library 2019-07-12 15:42:16 -04:00
a51479a62b Fix bug in fix_setforce_kokkos 2019-07-12 11:53:32 -06:00
08ed046a69 Removed TEMPLATED_FIX_LANGEVIN ifdef 2019-07-12 11:29:14 -06:00
2f64615087 more work on includes in USER-OMP 2019-07-11 22:56:05 -04:00
3a10486a40 Merge branch 'improve-include-consistency' of github.com:akohlmey/lammps into improve-include-consistency
# Conflicts:
#	src/USER-OMP/angle_cosine_shift_omp.cpp
#	src/USER-OMP/angle_fourier_omp.cpp
#	src/USER-OMP/angle_quartic_omp.cpp
#	src/USER-OMP/bond_gromos_omp.cpp
#	src/USER-OMP/dihedral_table_omp.cpp
#	src/USER-OMP/fix_gravity_omp.cpp
#	src/USER-OMP/fix_nvt_sllod_omp.cpp
#	src/USER-OMP/fix_qeq_reax_omp.cpp
#	src/USER-OMP/fix_rigid_nph_omp.cpp
#	src/USER-OMP/fix_rigid_npt_omp.cpp
#	src/USER-OMP/fix_rigid_omp.cpp
#	src/USER-OMP/msm_cg_omp.cpp
#	src/USER-OMP/msm_omp.cpp
#	src/USER-OMP/npair_half_bin_atomonly_newton_omp.cpp
#	src/USER-OMP/pppm_cg_omp.cpp
#	src/USER-OMP/pppm_disp_omp.cpp
#	src/USER-OMP/pppm_disp_tip4p_omp.cpp
#	src/USER-OMP/pppm_omp.cpp
2019-07-11 22:14:09 -04:00
b4f60ef477 starting to work on includes in USER-OMP 2019-07-11 22:12:01 -04:00
944c3bc91d fix bug reported by jesse carter on lammps-users 2019-07-11 17:42:58 -04:00
48c7356743 starting to work on includes in USER-OMP 2019-07-11 16:51:48 -04:00
9718b99af9 Clarification on what preceeds in kim_interactions 2019-07-11 13:23:46 -05:00
9f6bbe1d8e recover compilation of KOKKOS package 2019-07-11 14:21:55 -04:00
3349ed0013 Changed PM Page and SM Page to "Model Page" 2019-07-11 12:22:36 -05:00
358cec9a0c Merge branch 'kim-simulator-models' of github.com:ellio167/lammps into kim-simulator-models 2019-07-11 12:05:21 -05:00
8e2f3e4883 Wording changes and removed duplicate text 2019-07-11 12:04:54 -05:00
dbd0158d3f Adjust/update kim_query do_query() routine 2019-07-11 12:01:35 -05:00
b1f8c3f38a silence some compiler warnings 2019-07-11 11:25:44 -04:00
6238ad3212 local iterator, broadcast more 2019-07-11 14:18:42 +00:00
b5fea1f4a7 no need to zero out Ec_meam twice 2019-07-11 09:19:26 -04:00
01524d9850 recover compilation of USER-OMP 2019-07-11 08:13:03 -04:00
ca4b26ddf8 fix up some leftover include issues that got overlooked in previous changes 2019-07-11 07:22:41 -04:00
d05787ab99 clean up include in USER-REAXC 2019-07-11 07:16:53 -04:00
7109c1013a Merge pull request #1560 from stanmoore1/kk_halffull
Fix memory issue in Kokkos neigh list when using half-from-full
2019-07-11 06:28:43 -04:00
2b2a9e775e fix memory, add sp_copy 2019-07-11 08:24:28 +00:00
1a0662c386 Some corrections and additions to kim_commands docs 2019-07-10 22:11:47 -05:00
789d6a991e Update comment 2019-07-10 17:01:46 -06:00
39873fb7a3 Fix issue in Kokkos neigh list when using half-from-full 2019-07-10 16:53:26 -06:00
956d21ec0e update include lists in packages USER-MISC, USER-MOFF, USER-PTM, and USER-SMD 2019-07-10 15:51:57 -04:00
ea68db964a trim (left and right) strings from kim_query xxxx split 2019-07-10 14:21:07 -05:00
2ca2d053fd Merge branch 'master' into improve-include-consistency 2019-07-10 14:18:42 -04:00
a1a7754961 Merge pull request #1559 from akohlmey/validate-more-data-file-numbers
Complete data file read validation change set
2019-07-10 14:08:43 -04:00
bb325a335e Commit1 JT 070919
- test energy/torque modif with etotal
2019-07-10 09:52:39 -06:00
941607595a one more change 2019-07-10 08:48:33 -06:00
89af88bd10 more changes to robustify comm buf_send length 2019-07-10 08:41:27 -06:00
c5044d6484 continuing include file handling cleanup 2019-07-10 08:49:16 -04:00
872d43f02f recover compilation of USER-OMP package 2019-07-10 07:29:29 -04:00
0eba1c1cbc Merge pull request #1558 from lammps/bop-atomic-stress
add missing term to per-atom stress to pair style bop
2019-07-10 07:23:06 -04:00
0f691de031 include file cleanup in some more packages 2019-07-10 01:18:34 -04:00
054ff97a51 replace ATOTAGINT() calls with utils::tnumeric() in AtomVec classes 2019-07-10 00:27:31 -04:00
93748a18ae further clean up of AtomVec classes after merging PR #1552 to master 2019-07-10 00:22:03 -04:00
d6ed4ee1b1 add missing term to per-atom stress 2019-07-09 17:34:54 -06:00
39315268e8 new versions of jacobi() method 2019-07-09 16:53:19 -06:00
5236497932 Changed 'bohr_per_atu_si' to 'bohr_per_atu_electron_si' 2019-07-09 18:36:51 -04:00
2fd327d057 more robust version of atom exchange size 2019-07-09 16:17:54 -06:00
c2dc624ec9 update packages USER-SPH, USER-SMTBQ, USER-SDPD, USER-TALLY, USER-UEF, USER-YAFF 2019-07-09 16:11:25 -04:00
06dcc9e283 Merge branch 'master' into improve-include-consistency
# Conflicts:
#	src/USER-MESO/atom_vec_tdpd.cpp
2019-07-09 14:50:00 -04:00
691fc357a4 Merge pull request #1551 from martok/meamc-embedding
MEAM/C: embedding-function related refactoring
2019-07-09 14:46:53 -04:00
53b8e329a1 Merge pull request #1552 from akohlmey/validate-data-file-numbers
Validate more numbers read from data files
2019-07-09 14:46:21 -04:00
64faa6c667 Merge pull request #1553 from athomps/read_dump_xyz
Fixed a few problems with read_dump xyz
2019-07-09 14:45:48 -04:00
0d15c57fee Merge pull request #1555 from stanmoore1/kk_neigh
Fix issue in Kokkos neighbor binning when using non-Kokkos lists on GPUs
2019-07-09 14:45:23 -04:00
5013fd699f Fix issue in Kokkos neighor binning when using non-Kokkos lists on GPUs 2019-07-09 09:43:50 -06:00
30086950b8 Added preliminary doc for kim_interactions fixed_types 2019-07-09 09:43:34 -04:00
39c8a7de6e Updated kim_commands doc to descript kim_query split mode 2019-07-09 07:35:50 -04:00
7a62717051 Updated USER-MOLFILE 2019-07-08 19:40:31 -06:00
74414afdea Added the boxinfo argument 2019-07-08 17:25:23 -06:00
1f47da6c51 Add fixed_types to kim_init & split to kim_query 2019-07-08 17:46:47 -05:00
cbdc5dba13 fix bug in atom style wavepacket 2019-07-08 18:09:41 -04:00
cfaa537296 use alternate implementation of numeric conversion functions
these new functions allow to choose between aborting with Error::one()
and exiting with Error::all(). in the long run those should replace
all of the functions in Force.
2019-07-08 17:51:37 -04:00
31e19e0824 complete cleaning includes in some more packages 2019-07-08 16:45:21 -04:00
03418be645 minor tweaks to already processed files 2019-07-08 16:22:55 -04:00
60a808d25b bond/react: error->all vs. error->one
also, correct several incorrect instances of error printing, which could cause code to hang without explanation
2019-07-07 21:17:23 -06:00
5b7ae3713b clean up include handling for VORONOI package 2019-07-07 21:02:51 -04:00
65e281d661 Fixed a few problems with read_dump xyz 2019-07-07 18:00:07 -06:00
13d4fbdcfb clean up includes in QEQ, REPLICA, and RIGID packages 2019-07-07 16:27:59 -04:00
b469ff6791 need to include 'force.h' header for conversion functions 2019-07-07 16:06:30 -04:00
15e1b39531 validate more numbers read from data files through using force->numeric()/force->inumeric() instead of atof()/atoi() 2019-07-07 15:52:21 -04:00
57a5588549 cleaning up include file handling in packages MOLECULE and PERI 2019-07-07 15:46:34 -04:00
e5af9db84c clean up includes in MC and MISC package 2019-07-07 11:49:13 -04:00
35e2401099 clean up includes in MANYBODY package 2019-07-07 03:56:44 -04:00
61ed3b65b7 clean up includes in KSPACE package 2019-07-06 10:20:13 -04:00
316554297c clean up includes in packages DIPOLE and GRANULAR 2019-07-06 10:00:24 -04:00
a00d38572e clean up includes in packages CLASS2, COLLOID, COMPRESS, and CORESHELL 2019-07-06 06:29:22 -04:00
4db4833395 fix up includes for BODY package 2019-07-05 21:11:06 -04:00
c00f2adb42 Merge pull request #1544 from akohlmey/collected-small-fixes
Collected small changes and bugfixes for the next patch release
2019-07-05 20:33:55 -04:00
e123b6f02e Merge pull request #1550 from ndtrung81/lj96-fixes
Fixed a bug in lj96/cut/gpu involving missing the special_lj factor
2019-07-05 15:01:19 -04:00
b6bb980980 Merge branch 'improve-include-consistency' of github.com:akohlmey/lammps into improve-include-consistency 2019-07-05 14:59:17 -04:00
9f15ed1e61 Merge pull request #58 from eagunn/improve-include-consistency
Applied minor line edits to new documentation file
2019-07-05 14:59:05 -04:00
2c0eeeb976 one more chunk of files in src folder to be cleaned up 2019-07-05 14:43:20 -04:00
5d4016c285 cleaning up includes of ASPHERE package 2019-07-05 14:42:46 -04:00
5fffccb076 Apply minor line editing to new documentation file. 2019-07-05 12:08:57 -06:00
66390882fd Merge pull request #2 from akohlmey/improve-include-consistency
Improve include consistency from Axel's repo
2019-07-05 11:38:07 -06:00
46a9772a6d Minor clean-up 2019-07-05 12:12:29 -05:00
d07a49aeea add missing prototypes 2019-07-05 11:37:21 -04:00
7efb42f0d3 MEAM/C: code optimization for faster codegen 2019-07-05 12:03:43 +02:00
0d4bb86183 MEAM/C: code commenting 2019-07-05 12:03:43 +02:00
8dcb42d49c Check MEAM parameters for t0=1.0, mention this fact in documentation 2019-07-05 12:03:43 +02:00
2f72b9f120 Factor out embedding function, make sure documented logic for emb_lin_neg is obeyed 2019-07-05 12:03:43 +02:00
79f8e422f9 indentation 2019-07-04 18:21:07 +00:00
f3985c853e local iter instead of iter 2019-07-04 18:19:57 +00:00
e85bdd17d3 introduce cutoff step. make lbfgs stable 2019-07-04 15:31:18 +00:00
ce6fa0118a continuing to clean up include file lists 2019-07-04 08:39:17 -04:00
b4cf4b1ed7 recover compilation of KOKKOS package 2019-07-04 06:51:52 -04:00
732bd937e0 clean up includes in USER-COLVARS package 2019-07-04 01:16:56 -04:00
49f27573a7 Fixed a bug in lj96 involving missing the special_lj factor 2019-07-03 23:44:33 -05:00
fa15bf5edd recover compilation of USER-COLVARS package 2019-07-04 00:25:33 -04:00
e63fe1fe84 please POEMS library in namespace POEMS and remove "using namespace" from headers 2019-07-04 00:09:01 -04:00
95cb995336 recover compilation of MANYBODY package 2019-07-03 22:18:41 -04:00
416911aa7e more rearranging of include file order to put implementation headers first 2019-07-03 21:57:39 -04:00
6cf3bb3e4e recover compilation of KSPACE package 2019-07-03 21:56:29 -04:00
5b3a15bd94 putting implementation header first in package folder sources 2019-07-03 19:58:25 -04:00
256531a29a put implementation header first for all remaining main folder source files 2019-07-03 19:34:13 -04:00
95cf85f1b9 bug: forget to calculate beta.. 2019-07-03 21:12:04 +00:00
b675edcf5c More false positives 2019-07-03 16:28:37 -04:00
8e9037ac95 Add request to contact if interested in more pair styles 2019-07-03 16:19:26 -04:00
fcf5e8c549 Merge remote-tracking branch 'origin/OSO' into OSO 2019-07-03 19:33:54 +00:00
3c3c7899b4 use local iteration counter, needed for neb 2019-07-03 19:33:24 +00:00
5ef389eaea Mention that a smoothly truncated potential works better
Add a table of pair styles that implement single_hessian
2019-07-03 14:45:45 -04:00
bb5a1c5205 Adjust log.cite behavior 2019-07-03 13:38:08 -05:00
00d820dcf9 Added support for log.cite to kim_init 2019-07-03 13:20:55 -05:00
63dcd999d8 Switch to kim-api c-bindings for SimulatorModel 2019-07-03 11:49:38 -05:00
99e58d889c Commit2 JT 070319
- fixing first and last images in oso_lbfgs.cpp
2019-07-03 10:48:11 -06:00
526e0da0a9 reduce correctly over the universe 2019-07-03 15:41:29 +00:00
5924c558fb Merge branch 'OSO' of github.com:alxvov/lammps into OSO 2019-07-03 09:38:19 -06:00
fb63c5a708 Commit1 JT 070319
- commit before pull
2019-07-03 09:37:43 -06:00
747245ee90 sum beta over all replicas in cg. Good for GNEB 2019-07-03 15:06:53 +00:00
87fd17a4d2 global dot products 2019-07-03 14:54:02 +00:00
48cc0293ff if g2 zero then beta is also zero 2019-07-03 12:01:21 +00:00
eaa542b6e7 scale initial gradients with adaptive time step
in the beggining, try to use global parameters for lbfgs
2019-07-03 11:59:54 +00:00
8452afb512 compare dyds_global instead 2019-07-03 11:38:31 +00:00
7967cb1133 put implementation header first to avoid issues with mpi.h and lmptype.h with OpenMPI 2019-07-03 06:16:16 -04:00
0c4af8b820 spelling: attempt add file paths to false positives 2019-07-02 22:13:06 -06:00
cebed54a3d Merge branch 'OSO' of github.com:alxvov/lammps into OSO 2019-07-02 16:03:49 -06:00
66a5041973 Commit1 JT 060219
- added all min/spin tests in src/SPIN/neb_spin.cpp
- added lbfgs to .gitignore
- commit before pull/merge
2019-07-02 16:02:36 -06:00
11708c8f96 continue cleaning up include files based on IWYU 2019-07-02 15:10:52 -04:00
e3ed8d8562 parallelisation of lbfgs, change indentation, more comments 2019-07-02 18:02:22 +00:00
707c5b1303 Merge branch 'OSO' into OSO_LBFGS_LS 2019-07-02 17:08:30 +00:00
44ca54fa25 a bit more comments 2019-07-02 17:06:53 +00:00
fd5bc857b2 calculate energy in the beginning only once 2019-07-02 17:03:15 +00:00
ee8d3ced31 change cg to lbfgs in oso_lbfgs 2019-07-02 16:39:27 +00:00
398f33d407 added cubic line search 2019-07-02 16:36:06 +00:00
9984cbc99a Recheck existence of pair style in init 2019-07-02 16:13:20 +02:00
350d8f5812 Missing some hybridpair replacement 2019-07-02 15:51:52 +02:00
fc1d8f2cbf more cleanup of include file handling. starting to work on files in packages 2019-07-02 05:15:30 -04:00
0761c4dbb9 Name change hybridpair->pair/hybrid 2019-07-02 10:47:36 +02:00
968335d4fd Remove useless things 2019-07-02 10:34:10 +02:00
6fc5810bb4 with the refactored include handling we can allow include in if/then/else 2019-07-02 01:31:19 -04:00
41e8cf3d69 Merge branch 'master' into kim-simulator-models
# Conflicts:
#	src/input.cpp
2019-07-02 01:15:29 -04:00
ef1b62a422 rename single2nd => single_hessian 2019-07-01 20:44:03 -04:00
b727f0b126 Merge pull request #1537 from akohlmey/refactor-input-file-handling
Refactor input file processing flow of control
2019-07-01 17:28:15 -04:00
63fa63fb1c Merge pull request #1538 from dsbolin/gran_mods
Bug fixes to pair granular
2019-07-01 17:27:55 -04:00
f7329c0f43 Merge pull request #1540 from stanmoore1/kk_snap
Port Recent SNAP changes to Kokkos
2019-07-01 17:27:34 -04:00
7547e1dae6 make certain that the vector storage and the size_vector variable are consistent in computes 2019-07-01 17:25:02 -04:00
3cd1095dd8 Add line for compute hma 2019-07-01 16:12:51 -04:00
42c31227d9 continuing to clean up include file lists 2019-07-01 15:59:16 -04:00
559c187964 Update SNA::memory_usage() 2019-07-01 08:20:48 -06:00
61a7730bb5 Merge branch 'master' of github.com:lammps/lammps into kk_snap 2019-07-01 08:14:30 -06:00
a8d4ac74fa Remove temporary ulist variable 2019-07-01 08:13:53 -06:00
e91539d4b5 Cleanup 2019-07-01 08:11:49 -06:00
2443c8ad13 reduce IWYU warnings for lammps.cpp 2019-07-01 09:14:22 -04:00
32728375b9 add test script for compute momentum 2019-07-01 13:39:32 +01:00
fb5e7e6f3b add note about USER-MISC package 2019-07-01 12:06:40 +01:00
e9e7d995b2 move to user-misc 2019-07-01 11:37:13 +01:00
3adc23a770 Merge branch 'OSO_LBFGS' into OSO 2019-07-01 09:45:17 +00:00
924c610ebe use for loop 2019-07-01 09:45:05 +00:00
56c34e4267 merge memory alloc for lbfgs 2019-07-01 09:41:34 +00:00
1d64d78f24 handle memory in a right way 2019-07-01 09:40:14 +00:00
0a0e85ac46 rodr. rot. as in cg 2019-07-01 09:03:17 +00:00
6a2a4d5cfb parallelisation of lbfgs 2019-07-01 08:58:31 +00:00
5f74f6ddfa delete irrelevant comment 2019-07-01 08:38:44 +00:00
0f2997533a get rid off double loops in cg 2019-07-01 08:36:44 +00:00
89ecd5d9f9 get rid off double loops in cg 2019-07-01 08:35:41 +00:00
39f5b8c734 transform POEMS library to conform to IWYU conventions 2019-07-01 04:16:00 -04:00
cc698f0b43 Merge branch 'OSO' into OSO_LBFGS 2019-07-01 08:06:03 +00:00
61b12a09f2 added lbfgs 2019-07-01 08:01:11 +00:00
af8103433c add stabilized vs unstabilized examples 2019-06-30 22:13:12 -06:00
62bddd47ee limit number of nested include file levels to 16 2019-07-01 00:01:41 -04:00
483b1dbef5 Update fix_bond_react.txt 2019-06-30 21:19:04 -06:00
44372f5236 more fixes for USER-OMP 2019-06-30 23:12:08 -04:00
e0c04355bb try to recover compiling of USER-OMP with OpenMP enabled 2019-06-30 22:59:44 -04:00
e8487ec0b9 Merge pull request #50 from lammps/master
rebase
2019-06-30 20:58:41 -06:00
78af594381 fix typos. restore compilation of LAMMPS class implementation with OpenMP 2019-06-30 22:45:41 -04:00
e29361523f recover compilation of the USER-PHONON package 2019-06-30 18:39:49 -04:00
3e88dacd3f recover broken compilation of the USER-EFF package 2019-06-30 17:27:29 -04:00
33d3bd7a8d Merge pull request #1547 from rbberger/docs_fix
Workaround to make formatting of code blocks consistent
2019-06-30 17:15:25 -04:00
8fdba2ded1 Merge pull request #1546 from stanmoore1/kk_update
Update Kokkos library in LAMMPS to v2.9.00
2019-06-30 17:15:06 -04:00
96744c4933 more include file cleanup 2019-06-30 15:53:17 -04:00
31cbccda85 continue cleaning up include file lists 2019-06-29 09:37:44 -04:00
a720aedabc Workaround to make formatting of code blocks consistent 2019-06-28 20:54:10 -04:00
5e3a705911 fix bug caused by a parameter shadowing a class variable 2019-06-28 14:28:45 -04:00
ea2e73119d Update Kokkos library in LAMMPS to v2.9.00 2019-06-28 11:23:24 -06:00
5c8e81241a Commit JT 062819
- modified memory allocation
2019-06-28 10:49:21 -06:00
5eabc82024 Restore lost changes 2019-06-28 10:17:22 -06:00
d918432047 Fix issue with compute_duarray 2019-06-28 09:54:24 -06:00
73968f10d5 Merge branch 'kk_snap' of ssh://github.com/stanmoore1/lammps into kk_snap 2019-06-28 09:44:36 -06:00
400af0edac Merge branch 'master' of github.com:lammps/lammps into kk_snap 2019-06-28 09:02:07 -06:00
557a1274e4 even more include file cleanup 2019-06-28 07:09:57 -04:00
df7c56d881 use suffix compatible pair style matching when looking for ReaxFF pair style 2019-06-28 05:28:54 -04:00
378474c4e6 more include file cleanup suggested by IWYU 2019-06-28 02:07:18 -04:00
a5cb6ddd4a lammps.h must include cstdio and mpi.h 2019-06-27 22:14:06 -04:00
2c119551f7 add statement about order of include files 2019-06-27 22:13:42 -04:00
123bd57376 try to make KOKKOS compile again 2019-06-27 21:59:05 -04:00
4ec3a508fc bulk removal of #include <cstdio> from header files 2019-06-27 21:54:07 -04:00
86a9e4fca2 make body package compile again 2019-06-27 21:40:50 -04:00
9c53a5ca3f add first draft of a summary of the rules for include files 2019-06-27 21:40:28 -04:00
932f052cbf more header cleanup 2019-06-27 20:52:23 -04:00
2c0a66b7f8 increase buffer size of fix tune/kspace. header cleanup. remove use of iostreams 2019-06-27 20:50:25 -04:00
3e8ab7cbb0 Commit JT 062719
- cleaned code and setup LAMMPS format and indentation
- added src/min_spin_oso_cg.h/cpp to .gitignore
2019-06-27 15:15:57 -06:00
03099d6e54 some more include file consistency changes 2019-06-27 17:11:53 -04:00
121947e79d Added hcp query example to kim_commands 2019-06-27 12:52:20 -05:00
2520eab46d small typo 2019-06-27 16:41:19 +00:00
630ce7b962 add contributing authors 2019-06-27 16:31:24 +00:00
589d0e2a6a add conjugate gradients with OSO 2019-06-27 16:26:24 +00:00
48220b39b5 include <cstdio> explicitly in .cpp files, though 2019-06-27 11:48:34 -04:00
1e2aeed2ac Remove no-op 2019-06-27 08:53:58 -06:00
60adaa24cb Remove redundant computation 2019-06-27 08:52:34 -06:00
333bec0222 headers that directly or indirectly include pointers.h may assume <cstdio> is loaded, too. 2019-06-27 10:12:53 -04:00
84e156d380 first batch of changes suggested by using include-what-you-use tool 2019-06-27 09:14:36 -04:00
f7ddf433ef modify comment 2019-06-27 13:14:27 +00:00
312a1fa004 Added species to kim_queries in docs and some other edits 2019-06-27 07:58:32 -05:00
1eb83136c4 add gradient descent with rotation matrices with adaptive time step (as before) 2019-06-27 10:59:15 +00:00
588cce7e7e add min_spin_oso (just a copy of min_spin) 2019-06-27 09:30:10 +00:00
08ac695a06 move include statements from headers to implementation files where possible in USER-REAXC 2019-06-27 01:03:08 -04:00
17602b4c26 some more include file cleanup.
include cstdlib where functions like atoi() are used
remove unneeded include statements from headers
2019-06-27 01:02:17 -04:00
f7507512b1 apply memory alignment settings from my_page.h to my_pool_chunk.h 2019-06-27 00:39:47 -04:00
ff36bad099 cleanup includes in variable.h 2019-06-27 00:33:48 -04:00
7f342b1cd0 Merge pull request #1539 from junghans/fix_include_for_ppc64le
add missing include needed on ppc64le
2019-06-27 00:26:33 -04:00
2be0fd6180 Fix GPU issues 2019-06-26 16:22:37 -06:00
8c3d18520d add missing include needed on ppc64le 2019-06-26 10:45:31 -06:00
f1dfcaf514 WIP 2019-06-25 14:47:21 -06:00
f6319146b0 Update kim_query to new interface 2019-06-25 15:03:24 -05:00
e08146c31f Allow twisting torque to be used without rolling torque in pair granular 2019-06-25 12:06:18 -06:00
2fd924562b Spell correction 2019-06-25 15:15:30 +02:00
61ddc98a5a Missing compute_pressure.h 2019-06-25 13:30:41 +02:00
6a6d08e18e Better compute_pressure hybrid and doc 2019-06-25 12:01:29 +02:00
8fd1aaba7e Merge pull request #1535 from evoyiatzis/class2
Implementation of inner/middle/outer compute methods for lj/class2/coul/long
2019-06-25 06:00:06 -04:00
50e76ff7a1 restore virtual keyword and empty lines in comments 2019-06-25 05:59:29 -04:00
423eebda25 restore header 2019-06-25 05:57:48 -04:00
f6842e643e Merge pull request #1525 from akohlmey/collected-small-changes
Collected small changes and fixes for the next patch
2019-06-24 23:55:50 -04:00
5f7c4fb668 Merge pull request #1534 from uihsnv/archlinux_pkg
Archlinux install documentation
2019-06-24 23:55:09 -04:00
483353a017 Merge remote-tracking branch 'lammps/master' into kim-simulator-models 2019-06-24 15:35:06 -05:00
86d878a7eb Updated language on availability of ADP potentials in OpenKIM 2019-06-24 15:26:41 -05:00
4284a4fac4 Changed me to me_si and fixed some typos in comments 2019-06-24 14:51:35 -05:00
b653536750 Switched pair_style kim doc to "KIM Portable Model" terminology 2019-06-24 14:38:44 -05:00
1047d8f80e Change of terminology to "KIM Portable Model" and streamlining 2019-06-24 14:32:40 -05:00
c8a2f61c16 Merge branch 'kim-simulator-models' of github.com:ellio167/lammps into kim-simulator-models 2019-06-24 13:55:22 -05:00
0ddcc023a5 Improvements and additions to kim_commands doc 2019-06-24 13:54:55 -05:00
f2380a24ef fix parallel processing input include bug 2019-06-24 14:27:05 -04:00
13237155c8 make processing of Input::file(const char* filename) more like processing an include file 2019-06-24 14:24:54 -04:00
7f26862f98 simplify nested include file handling
# Conflicts:
#	src/input.h
2019-06-24 14:16:51 -04:00
826a14f54a add workaround for handline include files
# Conflicts:
#	src/input.h
2019-06-24 14:16:00 -04:00
7afcfccf48 follow convention to list all commands in a file as header 2019-06-24 13:51:41 -04:00
a36d2573cf make certain, we are not mixing cutoff and long-range coulomb when looking cutoffs 2019-06-24 09:10:00 -04:00
8b49cac86a correct dimensionality of cut_coul property in Pair::extract() 2019-06-24 09:09:22 -04:00
2159a8c44a Arch specific words 2019-06-24 16:14:29 +05:30
3e93881e44 store compute_tally array in restart and read it back. fix memory leak. 2019-06-24 05:28:54 -04:00
bfd0c4228d Added text that ADP potentials are available in KIM as well as NIST 2019-06-23 18:29:59 -05:00
cf008c163d Corrected box rescaling 2019-06-23 18:01:35 -05:00
d150feb41a Small change to KIM package build 2019-06-23 17:46:00 -05:00
db13fedb89 Merge branch 'kim-simulator-models' of github.com:ellio167/lammps into kim-simulator-models 2019-06-23 17:37:33 -05:00
94e1f87cb8 Moved some content from pair_kim docs to kim_commands 2019-06-23 17:36:36 -05:00
881f9ff043 Updated the pair_kim docs 2019-06-23 17:36:10 -05:00
b5d4cf4bfd Updated KIM package information 2019-06-23 17:23:21 -05:00
d10fdda676 simplify nested include file handling 2019-06-23 17:53:52 -04:00
6d54cf6a07 programming style changes 2019-06-23 17:53:12 -04:00
bfe6cc29e8 fix bug of not storing pointers 2019-06-23 17:52:43 -04:00
36649f0534 add workaround for handline include files 2019-06-23 16:47:12 -04:00
171d74f2f2 remove class member name clashes. Pointers contains infile so we rename other uses to inpfile 2019-06-23 16:43:54 -04:00
e42e1e64a8 Added explanation on Model and SM pages 2019-06-23 14:50:52 -05:00
c9160e66f2 Merge branch 'kim-simulator-models' of github.com:ellio167/lammps into kim-simulator-models 2019-06-23 14:21:55 -04:00
b2ba0550d7 Some minor typo fixes in kim_commands.txt 2019-06-23 13:19:48 -05:00
f31faafeec modification in the doc file of lj/class2 style 2019-06-23 20:18:39 +02:00
493269431c add a few more false positives 2019-06-23 14:17:30 -04:00
3b6cc29f64 Implementation of inner/middle/outer compute methods for lj/class2/coul/long 2019-06-23 20:16:25 +02:00
c6d0f807b5 output messages that would otherwise only show up in logs only when logs are enable for screen or logfile 2019-06-23 14:13:24 -04:00
27d1f79fe3 simplify another case of stringstream to use plain std::string 2019-06-23 13:39:12 -04:00
065638edba remove unused macro and reformat to closer match LAMMPS programming style 2019-06-23 13:31:43 -04:00
c557c7492b adapt names of stored properties to code that uses fix STORE/KIM 2019-06-23 13:31:12 -04:00
ac82aa754b correct off-by-one error and simplify code by using std::string instead of std::stringstream 2019-06-23 13:13:05 -04:00
c9cb6e3658 remove obsolete files 2019-06-23 13:12:23 -04:00
7f00cf8c12 Merge branch 'kim-simulator-models' of github.com:ellio167/lammps into kim-simulator-models
# Conflicts:
#	doc/src/kim_commands.txt
2019-06-23 13:11:56 -04:00
a6f6c9bed0 fix up links, spelling issues, and inconsistent names in kim commands docs 2019-06-23 12:41:29 -04:00
22e036a645 Merge branch 'kim-simulator-models' of github.com:ellio167/lammps into kim-simulator-models 2019-06-23 11:39:31 -05:00
d08867ce0a Completed first version of kim_commands documentation 2019-06-23 11:39:06 -05:00
c11caf4509 update kim examples to temp. current state of code 2019-06-23 10:34:43 -05:00
33be7f259b Working on kim_commands documentation 2019-06-22 21:49:29 -05:00
27d83b878d Merge branch 'kim-simulator-models' of github.com:ellio167/lammps into kim-simulator-models 2019-06-22 15:25:40 -05:00
17fa2f787b Added kim_command documentation structure 2019-06-22 15:25:21 -05:00
4a22e3bf70 Implement kim_init, kim_interactions & various updates 2019-06-22 15:21:57 -05:00
f81c9c5322 Changed _u_* output to log to variable commands 2019-06-22 10:21:05 -05:00
58f9380c45 Archlinux install documentation
Link to #1495
2019-06-22 19:46:21 +05:30
dbfd1fd0e7 Added atom-type-num-list mapping to kim_style 2019-06-21 22:11:58 -05:00
f190647ab4 use snprintf() instead of sprintf() to avoid buffer overflows when copying style names 2019-06-21 21:23:20 -04:00
08cee18f32 Added code to define unit conversion factors 2019-06-21 18:39:18 -05:00
88994d813a Ignore kim.log in examples/kim 2019-06-21 18:38:48 -05:00
7a56a4be24 add option to pair_modify to explicitly turn off F dot r 2019-06-21 14:18:18 -04:00
1bb18ebde4 rollback unneeded change to Makefile.list per review 2019-06-21 15:50:52 +01:00
c79044c361 Merge pull request #1531 from athomps/snap-yarray-tweak
Added NULL initialization for snaptr
2019-06-21 10:38:43 -04:00
c460d05bc6 Added NULL initialization for snaptr 2019-06-21 00:26:44 -06:00
0613c10395 Work on kim_style for latest definition prototype 2019-06-20 16:45:45 -05:00
a01421db99 Merge branch 'master' into collected-small-changes
# Conflicts:
#	doc/src/pair_spin_dipole.txt
2019-06-20 14:38:51 -04:00
128d021c10 Update to latest prototype for SimulatorModel interface 2019-06-20 13:13:13 -05:00
f1034e982d Merge pull request #1530 from eagunn/iss1526
Minor cleanup for doc/src
2019-06-20 13:23:21 -04:00
6760866f44 integrate pair styles spin/dipole/cut and spin/dipole/long properly into docs 2019-06-20 11:49:53 -04:00
17bfed3590 move non-LaTeX images from doc/src/Eqs folder to doc/src/JPG
this also updates links in doc sources referencing them
2019-06-20 11:39:41 -04:00
bc224bc66e Eliminate a doc build warning. pair_spin_dipole.txt was recently edited. Much content was removed and it no longer contained any internal reference links. But it still had a link anchor at the bottom. This was generating a build warning. I've removed the unused link anchor and an unneeded line separator. 2019-06-20 09:15:40 -06:00
c9fc83ef6f Move two non-equation images from Eqs folder to JPG folder 2019-06-20 08:16:20 -06:00
fe5e952319 Fix docs issues 2019-06-19 19:17:20 -04:00
87e6fda820 Merge remote-tracking branch 'upstream/master' 2019-06-19 18:52:47 -04:00
f54ad09668 recreate missing LaTeX files for image-only equations 2019-06-19 17:53:40 -04:00
599ef78161 put dump_modify after the list of all dump variant doc pages 2019-06-19 17:13:06 -04:00
fe1afee84e Merge remote-tracking branch 'upstream/master' 2019-06-19 16:12:36 -04:00
395a9d3739 Fold hma compute into USER-MISC 2019-06-19 16:12:15 -04:00
04cfaae54f Fold HMA README into source code in preparation for move to MISC 2019-06-19 13:37:41 -04:00
52a3d825ef Explain more about advantages of HMA, restrictions, point to examples/hma 2019-06-19 13:35:35 -04:00
26347ec80c Add docs for compute momentum 2019-06-19 13:56:00 +01:00
959da9de01 Create a compute for the momentum of a group of atoms 2019-06-19 13:56:00 +01:00
f8f8e441b9 add missing cmake package module 2019-06-19 07:06:54 -04:00
622cfd5718 Add single2nd_enable flag for Pair 2019-06-14 14:12:09 -04:00
343bc728e2 Cleanup: s/fix/compute/ and properly increment size_vector 2019-06-14 14:11:15 -04:00
3611cfdaf8 All styles support setting molecules' orientation 2019-06-14 19:58:31 +02:00
db3de8a31b rename Pair::single to single2nd 2019-06-14 13:48:31 -04:00
7fab12c36f Add keyword hybridpair for compute_pressure only on a certain pair of a hybrid pair 2019-06-14 16:53:26 +02:00
053ac654c3 Install.sh not needed 2019-06-12 20:32:22 -04:00
56ae35fb1a Address feedback on PR #1503 2019-06-12 13:09:33 -04:00
d9206127fb Add hyphen to roundoff, fix false positives 2019-06-12 11:40:21 -04:00
36ebf4d47a Make cmake aware of HMA 2019-06-11 10:22:55 -04:00
664b938ed1 document kim_style changes 2019-06-10 17:45:07 -04:00
9a428217d9 prototype implementation of unit conversion variable support 2019-06-10 17:19:18 -04:00
22fd12b56c support storing unit conversion variable setting between kim_style calls 2019-06-10 17:14:17 -04:00
8858846e39 Unbreak pair.h 2019-06-10 17:13:16 -04:00
2d90bb9947 Unbreak computes.txt 2019-06-10 17:12:01 -04:00
b195ccfb27 Unbreak compute.txt 2019-06-10 17:08:40 -04:00
45a2f9ae68 Merge remote-tracking branch 'upstream/master' 2019-06-10 16:15:07 -04:00
e438d46ee2 Add README in src directory 2019-06-10 16:14:28 -04:00
5c9c15025a Add bits to Packages_details, Packages_user, fix up typos 2019-06-10 16:13:34 -04:00
ad8fd4a2a4 Clean up comments 2019-06-10 16:13:09 -04:00
edecd2b760 fix typo and update list of false positives for updated docs 2019-05-30 22:19:47 -04:00
df1308ad92 add kim_style error messages to Errors_messages.txt doc file 2019-05-30 21:58:18 -04:00
c9fe5810c1 add log outputs for updated kim_style command input examples 2019-05-30 21:52:23 -04:00
24a63f0f31 update kim_style command semantics as discussed in PR #1440
this also adds documentation of error messages in the kim_style header
2019-05-30 21:51:13 -04:00
113b8b4be2 Fixes two bugs in pair granular: 1. User-set cutoffs did not work 2. Restarts not working 2019-05-30 14:21:11 -06:00
b3a01694b7 remove leftover fix qeq/reax command 2019-05-27 23:34:05 -04:00
eb6287d2e8 correctly check for supported species 2019-05-27 23:26:46 -04:00
4619018ead provide more simulator model variant input examples 2019-05-27 23:26:26 -04:00
264f6e1630 whitespace cleanup 2019-05-24 22:44:41 -04:00
c3897212e2 must call ClearTemplateMap(), so kim_style define may be called multiple times 2019-05-24 22:44:03 -04:00
5a929aff6e error out if kim_style init is required but wasn't called 2019-05-24 22:42:40 -04:00
ee5fa04732 create internal fix via modify->add_fix() so it does not get logged 2019-05-24 22:41:28 -04:00
fc8a639d58 add documentation for kim_style command. update a few KIM related doc files 2019-05-24 19:42:16 -04:00
b91b3c18cf remove references to simulator models from pair style kim 2019-05-24 11:52:38 -04:00
ce46d52c8a add new 'kim_style' command as front end for KIM simulator (and regular) models 2019-05-24 10:23:26 -04:00
1e2ceb88da complete basic simulator model proxy class creation and setup. 2019-05-21 15:57:14 -04:00
92b042552e Revert "add JSON tokenizer to utils library"
This reverts commit 32379d2d84.
2019-05-20 22:54:33 -04:00
38a8c765f0 add support species checking 2019-05-20 22:54:20 -04:00
56cf97e497 hard code creation of simulator model pair style for now 2019-05-20 13:53:17 -04:00
b779bf524a use KIM-API calls to query simulator model info 2019-05-19 10:09:25 -04:00
32379d2d84 add JSON tokenizer to utils library 2019-05-18 21:07:15 -04:00
11407a165b reformat pair style kim to LAMMPS style and add some existing simiulator model code (non-functional) 2019-05-07 18:21:58 -04:00
99430767df Start devel of native support for KIM simulator models
* CMake change to use KIM-API SimulatorModels branch
* Minimal changes to pair_kim to illustrate use of KIM API
  interface. Only c++ interface is implemented for development.
* Added example input: in.kim.simulator-model
2019-04-30 21:48:50 -05:00
62bfd300f0 Gitignore update 2019-04-16 13:43:02 +02:00
d000c6883b Mention need to build HMA as USER pacakge 2019-03-29 15:41:15 -04:00
02373c4c3b Move HMA bits into USER-HMA package 2019-03-29 15:22:44 -04:00
bbec50bef1 Add HMA examples 2019-03-29 15:06:49 -04:00
26c40a262d Merge remote-tracking branch 'upstream/master' 2019-03-29 11:46:28 -04:00
de893c8cdd Merge remote-tracking branch 'upstream/master'
Conflicts:
	doc/src/compute.txt
2019-03-27 10:05:04 -04:00
05f739a5a0 Bugfix for WCA-only option (trivial) 2019-03-03 01:55:02 +01:00
14353c5ea5 Added WCA-only option (sigma == cutoff case with wca) 2019-03-03 01:52:43 +01:00
4ea7d733e8 Initial commit... 2019-02-21 02:17:19 +01:00
101948ce1e Added a Morse potential option to 'fix wall/region' 2019-02-21 01:49:04 +01:00
52d3b9f325 Merge pull request #1 from erozic/bugfix-library-scatter-subset
Fixed bug in lammps_scatter_atoms_subset...
2019-02-21 01:14:57 +01:00
134b1d70ad Cleanup, add memory_usage method 2018-11-09 21:28:41 -05:00
29cd4eb5b6 Add HMA compute 2018-11-08 12:03:51 -05:00
3367a408b2 Add single2 method to Pair that can compute and return the Hessian matrix 2018-11-08 12:03:24 -05:00
2717 changed files with 127378 additions and 116468 deletions

View File

@ -68,7 +68,8 @@ How quickly your contribution will be integrated depends largely on how much eff
Here is a checklist of steps you need to follow to submit a single file or user package for our consideration. Following these steps will save both you and us time. See existing files in packages in the source directory for examples. If you are uncertain, please ask on the lammps-users mailing list.
* All source files you provide must compile with the most current version of LAMMPS with multiple configurations. In particular you need to test compiling LAMMPS from scratch with `-DLAMMPS_BIGBIG` set in addition to the default `-DLAMMPS_SMALLBIG` setting. Your code will need to work correctly in serial and in parallel using MPI.
* For consistency with the rest of LAMMPS and especially, if you want your contribution(s) to be added to main LAMMPS code or one of its standard packages, it needs to be written in a style compatible with other LAMMPS source files. This means: 2-character indentation per level, no tabs, no lines over 80 characters. I/O is done via the C-style stdio library, style class header files should not import any system headers outside of <cstdio>, STL containers should be avoided in headers, and forward declarations used where possible or needed. All added code should be placed into the LAMMPS_NS namespace or a sub-namespace; global or static variables should be avoided, as they conflict with the modular nature of LAMMPS and the C++ class structure. There MUST NOT be any "using namespace XXX;" statements in headers. In the implementation file (<name>.cpp) system includes should be placed in angular brackets (<>) and for c-library functions the C++ style header files should be included (<cstdio> instead of <stdio.h>, or <cstring> instead of <string.h>). This all is so the developers can more easily understand, integrate, and maintain your contribution and reduce conflicts with other parts of LAMMPS. This basically means that the code accesses data structures, performs its operations, and is formatted similar to other LAMMPS source files, including the use of the error class for error and warning messages.
* For consistency with the rest of LAMMPS and especially, if you want your contribution(s) to be added to main LAMMPS code or one of its standard packages, it needs to be written in a style compatible with other LAMMPS source files. This means: 2-character indentation per level, no tabs, no lines over 80 characters. I/O is done via the C-style stdio library, style class header files should not import any system headers, STL containers should be avoided in headers, and forward declarations used where possible or needed. All added code should be placed into the LAMMPS_NS namespace or a sub-namespace; global or static variables should be avoided, as they conflict with the modular nature of LAMMPS and the C++ class structure. There MUST NOT be any "using namespace XXX;" statements in headers. In the implementation file (<name>.cpp) system includes should be placed in angular brackets (<>) and for c-library functions the C++ style header files should be included (<cstdio> instead of <stdio.h>, or <cstring> instead of <string.h>). This all is so the developers can more easily understand, integrate, and maintain your contribution and reduce conflicts with other parts of LAMMPS. This basically means that the code accesses data structures, performs its operations, and is formatted similar to other LAMMPS source files, including the use of the error class for error and warning messages.
* Source, style name, and documentation file should follow the following naming convention: style names should be lowercase and words separated by a forward slash; for a new fix style 'foo/bar', the class should be named FixFooBar, the name of the source files should be 'fix_foo_bar.h' and 'fix_foo_bar.cpp' and the corresponding documentation should be in a file 'fix_foo_bar.txt'.
* If you want your contribution to be added as a user-contributed feature, and it is a single file (actually a `<name>.cpp` and `<name>.h` file) it can be rapidly added to the USER-MISC directory. Include the one-line entry to add to the USER-MISC/README file in that directory, along with the 2 source files. You can do this multiple times if you wish to contribute several individual features.
* If you want your contribution to be added as a user-contribution and it is several related features, it is probably best to make it a user package directory with a name like USER-FOO. In addition to your new files, the directory should contain a README text file. The README should contain your name and contact information and a brief description of what your new package does. If your files depend on other LAMMPS style files also being installed (e.g. because your file is a derived class from the other LAMMPS class), then an Install.sh file is also needed to check for those dependencies. See other README and Install.sh files in other USER directories as examples. Send us a tarball of this USER-FOO directory.
* Your new source files need to have the LAMMPS copyright, GPL notice, and your name and email address at the top, like other user-contributed LAMMPS source files. They need to create a class that is inside the LAMMPS namespace. If the file is for one of the USER packages, including USER-MISC, then we are not as picky about the coding style (see above). I.e. the files do not need to be in the same stylistic format and syntax as other LAMMPS files, though that would be nice for developers as well as users who try to read your code.

File diff suppressed because it is too large Load Diff

1
bench/POTENTIALS/CH.airebo Symbolic link
View File

@ -0,0 +1 @@
../../potentials/CH.airebo

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1 @@
../../potentials/CdTe.bop.table

View File

@ -1,305 +0,0 @@
Cu functions (universal 3), SM Foiles et al, PRB, 33, 7983 (1986)
29 63.550 3.6150 FCC
500 5.0100200400801306e-04 500 1.0000000000000009e-02 4.9499999999999886e+00
0. -3.1561636903424350e-01 -5.2324876182494506e-01 -6.9740831416804383e-01 -8.5202525457518519e-01
-9.9329216586042435e-01 -1.1246331970890324e+00 -1.2481882647347859e+00 -1.3654054700363645e+00 -1.4773214276236644e+00
-1.5847099936904741e+00 -1.6865851873526410e+00 -1.7843534091637920e+00 -1.8790616476576076e+00 -1.9710188604521761e+00
-2.0604838665854572e+00 -2.1476762477372944e+00 -2.2327843595560068e+00 -2.3159713409697673e+00 -2.3973797031286352e+00
-2.4771348895887826e+00 -2.5553480773272810e+00 -2.6321184083774227e+00 -2.7075347880408458e+00 -2.7816773487592030e+00
-2.8546186529652005e+00 -2.9264246898861899e+00 -2.9971557080624507e+00 -3.0668669157065978e+00 -3.1356090736776849e+00
-3.2034290008357829e+00 -3.2703700069757247e+00 -3.3364722658277230e+00 -3.4017731379735778e+00 -3.4663074517059016e+00
-3.5301077484029122e+00 -3.5932044977085980e+00 -3.6556262870729199e+00 -3.7173999892229403e+00 -3.7785509106421671e+00
-3.8391029237823773e+00 -3.8990785849196925e+00 -3.9584992397079333e+00 -4.0173851179270912e+00 -4.0744518500210916e+00
-4.1306733564032641e+00 -4.1864034067843932e+00 -4.2416582335814326e+00 -4.2964533268445280e+00 -4.3508034838872618e+00
-4.4047228547107977e+00 -4.4582249835318351e+00 -4.5113228468570128e+00 -4.5640288884490872e+00 -4.6163550514904443e+00
-4.6683128082199232e+00 -4.7199131872767452e+00 -4.7711667990036801e+00 -4.8220838587683374e+00 -4.8726742087289665e+00
-4.9229473379113813e+00 -4.9729124009208192e+00 -5.0225782353423369e+00 -5.0719533779533492e+00 -5.1210460798461668e+00
-5.1698643205481289e+00 -5.2184158212228908e+00 -5.2667080570261362e+00 -5.3147482686812282e+00 -5.3625434733324937e+00
-5.4101004747367369e+00 -5.4574258728391953e+00 -5.5045260727784751e+00 -5.5514072933650311e+00 -5.5980755750691458e+00
-5.6445367875538750e+00 -5.6907966367860183e+00 -5.7368606717507191e+00 -5.7827342908000219e+00 -5.8284227476608805e+00
-5.8739311571204382e+00 -5.9192645004390272e+00 -5.9644276303605182e+00 -6.0094252761103064e+00 -6.0542620478988169e+00
-6.0989424413057520e+00 -6.1434708414539330e+00 -6.1878515269578429e+00 -6.2320886736884802e+00 -6.2761863583589275e+00
-6.3201485619430571e+00 -6.3639791729330000e+00 -6.4076819904493902e+00 -6.4512607272098990e+00 -6.4947190123648113e+00
-6.5380603942065250e+00 -6.5812883427622069e+00 -6.6243939095620874e+00 -6.6670830925929181e+00 -6.7096660473058591e+00
-6.7521459135001862e+00 -6.7945257643836499e+00 -6.8368086085521611e+00 -6.8789973918942735e+00 -6.9210949994162263e+00
-6.9631042569970703e+00 -7.0050279330721992e+00 -7.0468687402560874e+00 -7.0886293368973554e+00 -7.1303123285804020e+00
-7.1719202695651916e+00 -7.2134556641788095e+00 -7.2549209681507421e+00 -7.2963185899023415e+00 -7.3376508917899628e+00
-7.3789201913012903e+00 -7.4201287622117036e+00 -7.4612788356982946e+00 -7.5023726014152032e+00 -7.5434122085331978e+00
-7.5843997667427345e+00 -7.6253373472216595e+00 -7.6662269835740062e+00 -7.7070706727342895e+00 -7.7478703758424388e+00
-7.7886280190928119e+00 -7.8293454945503811e+00 -7.8700246609474789e+00 -7.9106673444489104e+00 -7.9512753393968865e+00
-7.9918504090315139e+00 -8.0323942861870705e+00 -8.0729086739704030e+00 -8.1133952464140293e+00 -8.1538556491162808e+00
-8.1942914998523975e+00 -8.2347043891773524e+00 -8.2750958810033808e+00 -8.3154675131659701e+00 -8.3558207979692725e+00
-8.3961572227176475e+00 -8.4364782502312892e+00 -8.4767853193496308e+00 -8.5170798454139458e+00 -8.5573632207473906e+00
-8.5976368151087286e+00 -8.6379019761436666e+00 -8.6781600298199919e+00 -8.7184122808490656e+00 -8.7586600130993020e+00
-8.7989044899963460e+00 -8.8391469549140993e+00 -8.8793886315543773e+00 -8.9196307243150841e+00 -8.9598744186541239e+00
-9.0001208814363167e+00 -9.0403712612778122e+00 -9.0806266888772029e+00 -9.1208882773446476e+00 -9.1611571225108719e+00
-9.2014343032440138e+00 -9.2417208817437881e+00 -9.2820179038447463e+00 -9.3223263992829857e+00 -9.3626473819958278e+00
-9.4029818503831279e+00 -9.4433307875392529e+00 -9.4836951616705960e+00 -9.5237840547885071e+00 -9.5637918926951784e+00
-9.6038142178817338e+00 -9.6438519061474608e+00 -9.6839058194810832e+00 -9.7239768064614509e+00 -9.7640657024289226e+00
-9.8041733297054634e+00 -9.8443004978059889e+00 -9.8844480036373170e+00 -9.9246166317080906e+00 -9.9648071543198853e+00
-1.0005020331762637e+01 -1.0045256912501884e+01 -1.0085517633366123e+01 -1.0125803219723423e+01 -1.0166114385662183e+01
-1.0206451834160134e+01 -1.0246816257258331e+01 -1.0287208336224353e+01 -1.0327628741713852e+01 -1.0368078133934148e+01
-1.0408557162795717e+01 -1.0449066468066974e+01 -1.0489606679525650e+01 -1.0530178417100558e+01 -1.0570782291022510e+01
-1.0611418901960292e+01 -1.0652088841158786e+01 -1.0692792690577562e+01 -1.0733531023022920e+01 -1.0774304402276016e+01
-1.0815113383222808e+01 -1.0855958511980305e+01 -1.0896840326017184e+01 -1.0937759354276295e+01 -1.0978716117290730e+01
-1.1019711127305925e+01 -1.1060744888386239e+01 -1.1101817896531486e+01 -1.1142930639787664e+01 -1.1184083598352004e+01
-1.1225277244679319e+01 -1.1266512043589387e+01 -1.1307788452364719e+01 -1.1349106920870327e+01 -1.1390467891550486e+01
-1.1431871799781504e+01 -1.1473319073642074e+01 -1.1514810134213008e+01 -1.1556345395619132e+01 -1.1597925265115521e+01
-1.1639550143177303e+01 -1.1681220423591583e+01 -1.1722936493536452e+01 -1.1764698733669888e+01 -1.1806507518187232e+01
-1.1848363215029394e+01 -1.1890266185706139e+01 -1.1932216785634637e+01 -1.1974215364086319e+01 -1.2016262264291129e+01
-1.2058357823507606e+01 -1.2100502373105996e+01 -1.2142696238631970e+01 -1.2184939739884385e+01 -1.2227233190982815e+01
-1.2269576900438324e+01 -1.2311971171220080e+01 -1.2354416300827552e+01 -1.2396912581348374e+01 -1.2439460299532641e+01
-1.2482059736851909e+01 -1.2524711169562636e+01 -1.2567414868772744e+01 -1.2610171100495961e+01 -1.2652980125719694e+01
-1.2695842200459083e+01 -1.2738757575819193e+01 -1.2781726498053729e+01 -1.2824749208615117e+01 -1.2867825944219817e+01
-1.2910956936899197e+01 -1.2954142414054047e+01 -1.2997382598508125e+01 -1.3040677708563408e+01 -1.3084027958052218e+01
-1.3127433556386677e+01 -1.3170894708610035e+01 -1.3214411615448739e+01 -1.3257984473359954e+01 -1.3301613474583519e+01
-1.3345298807190659e+01 -1.3389040655121903e+01 -1.3432839198243016e+01 -1.3476694612386723e+01 -1.3520607069407617e+01
-1.3564576737214225e+01 -1.3608603779754390e+01 -1.3652688357330362e+01 -1.3696830626228689e+01 -1.3741030739041094e+01
-1.3785288844633044e+01 -1.3829605088192579e+01 -1.3873979611263849e+01 -1.3918412551792358e+01 -1.3962904044165157e+01
-1.4007454219246995e+01 -1.4052063204422609e+01 -1.4096731123636516e+01 -1.4141458097424390e+01 -1.4186244242962175e+01
-1.4231089674089560e+01 -1.4275994501358696e+01 -1.4320958832063411e+01 -1.4365982770278379e+01 -1.4411066416893846e+01
-1.4456209869649911e+01 -1.4501413223171539e+01 -1.4546676569005058e+01 -1.4591999995647598e+01 -1.4637383588581656e+01
-1.4682827430315228e+01 -1.4728331600403862e+01 -1.4773896175488971e+01 -1.4819521229330235e+01 -1.4865206832833337e+01
-1.4910953054084985e+01 -1.4956759958383259e+01 -1.5002627608264334e+01 -1.5048556063539081e+01 -1.5094545381317744e+01
-1.5140595616041765e+01 -1.5186706819511983e+01 -1.5232879040916600e+01 -1.5279112326867676e+01 -1.5325406721414765e+01
-1.5371762266086876e+01 -1.5418178999911675e+01 -1.5464656959446415e+01 -1.5511196178805903e+01 -1.5557796689685119e+01
-1.5604458521389688e+01 -1.5651181700861002e+01 -1.5697966252703509e+01 -1.5744812199205967e+01 -1.5791719560374304e+01
-1.5838688353945599e+01 -1.5885718595428898e+01 -1.5932810298111235e+01 -1.5979963473102316e+01 -1.6027178129340314e+01
-1.6074454273625634e+01 -1.6121791910645470e+01 -1.6169191042992907e+01 -1.6216651671189425e+01 -1.6264173793714576e+01
-1.6311757407021901e+01 -1.6359402505566209e+01 -1.6407109081822910e+01 -1.6454877126310635e+01 -1.6502706627614998e+01
-1.6550597572407241e+01 -1.6598549945469813e+01 -1.6646563729715353e+01 -1.6694638906205682e+01 -1.6742775454176012e+01
-1.6790973351056778e+01 -1.6839232572488413e+01 -1.6887553092348412e+01 -1.6935934882766333e+01 -1.6984377914146876e+01
-1.7032882155186826e+01 -1.7081447572897673e+01 -1.7130074132623690e+01 -1.7178761798061373e+01 -1.7227510531275698e+01
-1.7276320292724563e+01 -1.7325191041271864e+01 -1.7374122734215121e+01 -1.7423115327299456e+01 -1.7472168774711918e+01
-1.7521283029136725e+01 -1.7570458041655343e+01 -1.7619693762170868e+01 -1.7668990138814479e+01 -1.7718347118374936e+01
-1.7767764646209685e+01 -1.7817242666259403e+01 -1.7866781121071881e+01 -1.7916379951810882e+01 -1.7966039098283659e+01
-1.8015758498943796e+01 -1.8065538090918608e+01 -1.8115377810021755e+01 -1.8165277590764617e+01 -1.8215237366381530e+01
-1.8265257068836149e+01 -1.8315336628844307e+01 -1.8365475975885602e+01 -1.8415675038220570e+01 -1.8465933742903644e+01
-1.8516252015799409e+01 -1.8566629781600568e+01 -1.8617066963838965e+01 -1.8667563484898778e+01 -1.8718119266039025e+01
-1.8768734227397317e+01 -1.8819408288014415e+01 -1.8870141365839345e+01 -1.8920933377750998e+01 -1.8971784239569388e+01
-1.9022693866067016e+01 -1.9073662170983084e+01 -1.9124689067045438e+01 -1.9175774465969539e+01 -1.9226918278483254e+01
-1.9278120414338218e+01 -1.9329380782317116e+01 -1.9380699290257098e+01 -1.9432075845048644e+01 -1.9483510352663075e+01
-1.9535002718153464e+01 -1.9586552845676124e+01 -1.9638160638497766e+01 -1.9689825999008235e+01 -1.9741548828738019e+01
-1.9793329028359494e+01 -1.9845166497711489e+01 -1.9897061135804051e+01 -1.9949012840833348e+01 -2.0001021510188707e+01
-2.0053087040468540e+01 -2.0105209327494322e+01 -2.0157388266314911e+01 -2.0209623751249865e+01 -2.0261915675825890e+01
-2.0314263932714312e+01 -2.0366668414255741e+01 -2.0419129011700647e+01 -2.0471645615726288e+01 -2.0524218116314501e+01
-2.0576846402769888e+01 -2.0629530363722893e+01 -2.0682269887147754e+01 -2.0735064860369221e+01 -2.0787915170073120e+01
-2.0840820702317274e+01 -2.0893781342541502e+01 -2.0946796975575580e+01 -2.0999867485656864e+01 -2.1052992756428125e+01
-2.1106172670961428e+01 -2.1159407111702421e+01 -2.1212695960751944e+01 -2.1266039099329419e+01 -2.1319436408360275e+01
-2.1372887768154328e+01 -2.1426393058473991e+01 -2.1479952158748461e+01 -2.1533564947619766e+01 -2.1587231303431395e+01
-2.1640951103995235e+01 -2.1694724226644553e+01 -2.1748550548245930e+01 -2.1802429945213817e+01 -2.1856362293508028e+01
-2.1910347468648524e+01 -2.1964385345728829e+01 -2.2018475799410339e+01 -2.2072618703948137e+01 -2.2126813933181779e+01
-2.2181061360561898e+01 -2.2235360859143157e+01 -2.2289712301596296e+01 -2.2344115560361388e+01 -2.2398570507087584e+01
-2.2453077013515781e+01 -2.2507634950890292e+01 -2.2562244190064348e+01 -2.2616904601590250e+01 -2.2671616055687764e+01
-2.2726378422261405e+01 -2.2781191570901910e+01 -2.2836055370890790e+01 -2.2890969691219198e+01 -2.2945934400583837e+01
-2.3000949367399926e+01 -2.3056014459808921e+01 -2.3111129545678523e+01 -2.3166294492618363e+01 -2.3221509167983868e+01
-2.3276773438880355e+01 -2.3332087172173260e+01 -2.3387450234495873e+01 -2.3442862492249787e+01 -2.3498323811618320e+01
-2.3553834058571510e+01 -2.3609393098863848e+01 -2.3665000798062465e+01 -2.3720657021526677e+01 -2.3776361634436626e+01
-2.3832114501780552e+01 -2.3887915488378439e+01 -2.3943764458878377e+01 -2.3999661277761106e+01 -2.4055605809352301e+01
-2.4111597917826657e+01 -2.4167637467209488e+01 -2.4223724321393092e+01 -2.4279858344124932e+01 -2.4336039399030597e+01
-2.4392267349614485e+01 -2.4448542059257761e+01 -2.4504863391234494e+01 -2.4561231208711206e+01 -2.4617645374753693e+01
-2.4674105752332935e+01 -2.4730612204329191e+01 -2.4787164593538137e+01 -2.4843762782677913e+01 -2.4900406634392539e+01
-2.4957096011252133e+01 -2.5013830775771112e+01 -2.5070610790396586e+01 -2.5127435917366029e+01 -2.5184306019355063e+01
-2.5241220958503845e+01 -2.5298180597080318e+01 -2.5355184797285347e+01 -2.5412233421340488e+01 -2.5469326331427965e+01
1.0000000000000000e+01 1.0801534951171448e+01 1.0617375158244670e+01 1.0436688151228793e+01 1.0259403283230313e+01
1.0085451405601304e+01 9.9147648356938589e+00 9.7472773253084029e+00 9.5829240298195373e+00 9.4216414779654656e+00
9.2633675422888473e+00 9.1080414102110012e+00 8.9556035557302494e+00 8.8059957117284853e+00 8.6591608428743143e+00
8.5150431191084976e+00 8.3735878897014118e+00 8.2347416578681987e+00 8.0984520559319435e+00 7.9646678210201571e+00
7.8333387712866624e+00 7.7044157826449009e+00 7.5778507660022569e+00 7.4535966449878401e+00 7.3316073341564731e+00
7.2118377176659578e+00 7.0942436284134374e+00 6.9787818276207929e+00 6.8654099848621115e+00 6.7540866585212882e+00
6.6447712766712357e+00 6.5374241183666584e+00 6.4320062953403578e+00 6.3284797340946000e+00 6.2268071583795574e+00
6.1269520720505000e+00 6.0288787422946655e+00 5.9325521832211621e+00 5.8379381398054591e+00 5.7450030721804524e+00
5.6537141402680220e+00 5.5640391887418730e+00 5.4759467323160322e+00 5.3894059413519244e+00 5.3043866277758980e+00
5.2208592313018016e+00 5.1387948059520454e+00 5.0581650068698707e+00 4.9789420774166615e+00 4.9010988365496075e+00
4.8246086664712777e+00 4.7494455005478358e+00 4.6755838114879396e+00 4.6029985997776066e+00 4.5316653823665547e+00
4.4615601815980312e+00 4.3926595143797726e+00 4.3249403815888456e+00 4.2583802577058805e+00 4.1929570806747449e+00
4.1286492419807814e+00 4.0654355769448500e+00 4.0032953552278059e+00 3.9422082715398403e+00 3.8821544365521561e+00
3.8231143680053350e+00 3.7650689820101348e+00 3.7079995845373759e+00 3.6518878630917868e+00 3.5967158785670392e+00
3.5424660572764992e+00 3.4891211831576925e+00 3.4366643901451397e+00 3.3850791547089756e+00 3.3343492885547761e+00
3.2844589314827459e+00 3.2353925444006251e+00 3.1871349024889781e+00 3.1396710885139782e+00 3.0929864862859660e+00
3.0470667742591075e+00 3.0018979192706325e+00 2.9574661704151453e+00 2.9137580530522627e+00 2.8707603629438552e+00
2.8284601605189152e+00 2.7868447652620318e+00 2.7459017502243626e+00 2.7056189366531243e+00 2.6659843887374848e+00
2.6269864084689516e+00 2.5886135306124487e+00 2.5508545177868598e+00 2.5136983556521244e+00 2.4771342482006986e+00
2.4411516131510069e+00 2.4057400774406830e+00 2.3708894728175807e+00 2.3365898315265383e+00 2.3028313820887689e+00
2.2696045451740474e+00 2.2368999295609058e+00 2.2047083281853901e+00 2.1730207142748128e+00 2.1418282375653348e+00
2.1111222206016862e+00 2.0808941551166384e+00 2.0511356984892615e+00 2.0218386702793651e+00 1.9929950488372441e+00
1.9645969679867363e+00 1.9366367137799969e+00 1.9091067213223525e+00 1.8819995716660998e+00 1.8553079887710169e+00
1.8290248365311754e+00 1.8031431158652609e+00 1.7776559618705363e+00 1.7525566410377422e+00 1.7278385485262007e+00
1.7034952054980579e+00 1.6795202565098251e+00 1.6559074669601728e+00 1.6326507205929630e+00 1.6097440170540054e+00
1.5871814695006066e+00 1.5649573022624637e+00 1.5430658485530984e+00 1.5215015482308161e+00 1.5002589456071576e+00
1.4793326873036463e+00 1.4587175201534635e+00 1.4384082891492156e+00 1.4183999354343300e+00 1.3986874943378140e+00
1.3792660934511431e+00 1.3601309507466510e+00 1.3412773727360872e+00 1.3227007526689576e+00 1.3043965687692420e+00
1.2863603825102174e+00 1.2685878369261090e+00 1.2510746549598935e+00 1.2338166378466084e+00 1.2168096635312082e+00
1.2000496851203266e+00 1.1835327293670588e+00 1.1672548951882362e+00 1.1512123522134416e+00 1.1354013393647548e+00
1.1198181634671940e+00 1.1044591978884952e+00 1.0893208812080033e+00 1.0743997159140335e+00 1.0596922671287743e+00
1.0451951613605601e+00 1.0309050852825337e+00 1.0168187845373140e+00 1.0029330625671378e+00 9.8924477946872713e-01
9.7575085087259694e-01 9.6244824684604424e-01 9.4933399081931213e-01 9.3640515853477169e-01 9.2365887701803118e-01
9.1109232357100112e-01 8.9870272478628266e-01 8.8648735558209424e-01 8.7444353825798160e-01 8.6256864157006774e-01
8.5086007982605949e-01 8.3931531199913678e-01 8.2793184086057892e-01 8.1670721213066955e-01 8.0563901364725510e-01
7.9472487455206675e-01 7.8396246449372953e-01 7.7334949284779597e-01 7.6288370795296245e-01 7.5256289636327622e-01
7.4238488211596021e-01 7.3234752601463171e-01 7.2244872492728618e-01 7.1268641109915265e-01 7.0305855147956464e-01
6.9356314706317335e-01 6.8419823224459719e-01 6.7496187418651843e-01 6.6585217220099224e-01 6.5686725714346750e-01
6.4800529081937697e-01 6.3926446540306614e-01 6.3064300286859520e-01 6.2213915443241774e-01 6.1375120000748140e-01
6.0547744766850542e-01 5.9731623312840654e-01 5.8926591922531912e-01 5.8132489542033028e-01 5.7349157730523359e-01
5.6576440612064971e-01 5.5814184828379609e-01 5.5062239492602316e-01 5.4320456143964790e-01 5.3588688703414888e-01
5.2866793430138515e-01 5.2154628878946241e-01 5.1452055858552015e-01 5.0758937390678227e-01 5.0075138669987496e-01
4.9400527024841523e-01 4.8734971878830358e-01 4.8078344713093557e-01 4.7430519029390972e-01 4.6791370313911962e-01
4.6160776001828552e-01 4.5538615442535857e-01 4.4924769865602876e-01 4.4319122347399365e-01 4.3721557778390086e-01
4.3131962831075654e-01 4.2550225928575891e-01 4.1976237213834899e-01 4.1409888519439697e-01 4.0851073338028954e-01
4.0299686793291478e-01 3.9755625611540779e-01 3.9218788093843493e-01 3.8689074088692443e-01 3.8166384965228239e-01
3.7650623586976018e-01 3.7141694286095728e-01 3.6639502838144544e-01 3.6143956437320846e-01 3.5654963672189943e-01
3.5172434501901328e-01 3.4696280232829579e-01 3.4226413495707497e-01 3.3762748223177219e-01 3.3305199627774762e-01
3.2853684180349596e-01 3.2408119588894380e-01 3.1968424777773841e-01 3.1534519867361155e-01 3.1106326154055530e-01
3.0683766090688813e-01 3.0266763267296426e-01 2.9855242392259740e-01 2.9449129273803010e-01 2.9048350801842027e-01
2.8652834930171167e-01 2.8262510658997009e-01 2.7877308017785829e-01 2.7497158048439907e-01 2.7121992788793392e-01
2.6751745256412462e-01 2.6386349432690004e-01 2.6025740247248841e-01 2.5669853562631850e-01 2.5318626159266877e-01
2.4971995720718354e-01 2.4629900819206618e-01 2.4292280901402563e-01 2.3959076274464408e-01 2.3630228092351846e-01
2.3305678342376535e-01 2.2985369832002167e-01 2.2669246175884616e-01 2.2357251783148069e-01 2.2049331844890929e-01
2.1745432321916880e-01 2.1445499932688783e-01 2.1149482141498144e-01 2.0857327146848004e-01 2.0568983870040114e-01
2.0284401943976604e-01 2.0003531702142130e-01 1.9726324167804599e-01 1.9452731043391402e-01 1.9182704700056608e-01
1.8916198167437770e-01 1.8653165123588344e-01 1.8393559885088084e-01 1.8137337397327791e-01 1.7884453224959973e-01
1.7634863542523593e-01 1.7388525125224241e-01 1.7145395339876757e-01 1.6905432136008169e-01 1.6668594037109052e-01
1.6434840132036665e-01 1.6204130066570688e-01 1.5976424035106618e-01 1.5751682772493769e-01 1.5529867546015819e-01
1.5310940147503249e-01 1.5094862885580707e-01 1.4881598578045718e-01 1.4671110544379484e-01 1.4463362598375351e-01
1.4258319040899092e-01 1.4055944652768915e-01 1.3856204687748974e-01 1.3659064865666881e-01 1.3464491365640630e-01
1.3272450819420012e-01 1.3082910304837103e-01 1.2895837339364213e-01 1.2711199873781265e-01 1.2528966285941134e-01
1.2349105374641756e-01 1.2171586353596986e-01 1.1996378845505173e-01 1.1823452876211782e-01 1.1652778868972380e-01
1.1484327638801961e-01 1.1318070386919254e-01 1.1153978695277944e-01 1.0992024521187505e-01 1.0832180192018548e-01
1.0674418399992769e-01 1.0518712197055757e-01 1.0365034989832456e-01 1.0213360534659532e-01 1.0063662932698936e-01
9.9159166251264974e-02 9.7700963883974534e-02 9.6261773295835962e-02 9.4841348817873428e-02 9.3439447996227276e-02
9.2055831547688260e-02 9.0690263315935660e-02 8.9342510228411331e-02 8.8012342253891429e-02 8.6699532360706044e-02
8.5403856475584128e-02 8.4125093443141896e-02 8.2863024985984080e-02 8.1617435665412685e-02 8.0388112842733062e-02
7.9174846641143493e-02 7.7977429908209661e-02 7.6795658178889781e-02 7.5629329639115728e-02 7.4478245089953710e-02
7.3342207912248103e-02 7.2221024031827064e-02 7.1114501885225945e-02 7.0022452385910761e-02 6.8944688890991479e-02
6.7881027168450458e-02 6.6831285364849169e-02 6.5795283973477225e-02 6.4772845803028556e-02 6.3763795946680801e-02
6.2767961751651669e-02 6.1785172789201148e-02 6.0815260825057393e-02 5.9858059790287577e-02 5.8913405752569759e-02
5.7981136887894191e-02 5.7061093452682510e-02 5.6153117756271964e-02 5.5257054133826422e-02 5.4372748919636837e-02
5.3500050420772105e-02 5.2638808891131372e-02 5.1788876505864945e-02 5.0950107336147354e-02 5.0122357324306366e-02
4.9305484259319243e-02 4.8499347752635869e-02 4.7703809214351578e-02 4.6918731829721727e-02 4.6143980535982010e-02
4.5379421999521163e-02 4.4624924593352100e-02 4.3880358374905226e-02 4.3145595064128850e-02 4.2420508021892900e-02
4.1704972228691739e-02 4.0998864263647405e-02 4.0302062283785300e-02 3.9614446003616965e-02 3.8935896674993531e-02
3.8266297067221844e-02 3.7605531447481688e-02 3.6953485561492139e-02 3.6310046614435487e-02 3.5675103252157392e-02
3.5048545542616605e-02 3.4430264957581835e-02 3.3820154354582632e-02 3.3218107959093635e-02 3.2624021346983278e-02
3.2037791427166340e-02 3.1459316424514716e-02 3.0888495862994469e-02 3.0325230549015147e-02 2.9769422555015357e-02
2.9220975203265720e-02 2.8679793049885216e-02 2.8145781869070463e-02 2.7618848637539717e-02 2.7098901519172047e-02
2.6585849849867671e-02 2.6079604122596356e-02 2.5580075972643668e-02 2.5087178163056167e-02 2.4600824570288671e-02
2.4120930170012267e-02 2.3647411023137499e-02 2.3180184262011627e-02 2.2719168076792418e-02 2.2264281702001121e-02
2.1815445403263078e-02 2.1372580464206647e-02 2.0935609173537761e-02 2.0504454812290795e-02 2.0079041641240414e-02
1.9659294888467183e-02 1.9245140737102040e-02 1.8836506313223755e-02 1.8433319673904158e-02 1.8035509795416238e-02
1.7643006561603891e-02 1.7255740752380899e-02 1.6873644032391555e-02 1.6496648939823388e-02 1.6124688875347792e-02
1.5757698091213634e-02 1.5395611680482646e-02 1.5038365566394485e-02 1.4685896491875350e-02 1.4338142009180710e-02
1.3995040469664266e-02 1.3656531013687800e-02 1.3322553560652262e-02 1.2993048799157525e-02 1.2667958177290606e-02
1.2347223893038994e-02 1.2030788884814458e-02 1.1718596822117511e-02 1.1410592096299910e-02 1.1106719811460941e-02
1.0806925775450060e-02 1.0511156490982998e-02 1.0219359146882878e-02 9.9314816094114855e-03 9.6474724137328716e-03
9.3672807554677773e-03 9.0908564823645177e-03 8.8181500860711193e-03 8.5491126940134832e-03 8.2836960613733579e-03
8.0218525631707838e-03 7.7635351864465685e-03 7.5086975225370223e-03 7.2572937594544973e-03 7.0092786743605195e-03
6.7646076261301813e-03 6.5232365480138998e-03 6.2851219403949887e-03 6.0502208636273869e-03 5.8184909309735300e-03
5.5898903016277091e-03 5.3643776738254711e-03 5.1419122780385074e-03 4.9224538702609122e-03 4.7059627253757674e-03
4.4923996305976099e-03 4.2817258790122659e-03 4.0739032631877392e-03 3.8688940688609841e-03 3.6666610687164924e-03
3.4671675162341598e-03 3.2703771396105918e-03 3.0762541357672313e-03 2.8847631644254856e-03 2.6958693422570179e-03
2.5095382371091990e-03 2.3257358623008373e-03 2.1444286709895732e-03 1.9655835506104946e-03 1.7891678173820869e-03
1.6151492108847365e-03 1.4434958887007410e-03 1.2741764211267048e-03 1.1071597859496629e-03 9.4241536328815156e-04
7.7991293049733956e-04 6.1962265713921827e-04 4.6151510001329887e-04 3.0556119825198014e-04 1.5173226847375876e-04
0. 0. 0. 0. 0.
0. 5.4383329664155645e-05 9.3944898415945083e-04 4.3251847212615047e-03 1.2334244035325348e-02
2.7137722173468548e-02 5.0697119791449641e-02 8.4607638668976470e-02 1.3001641279549414e-01 1.8759487452762702e-01
2.5754900895683441e-01 3.3965493779430744e-01 4.3331024634064264e-01 5.3759384878832961e-01 6.5132908316254046e-01
7.7314622535699939e-01 9.0154178511424377e-01 1.0349328562818201e+00 1.1717054897399350e+00 1.3102565818166738e+00
1.4490291582473986e+00 1.5865412121263560e+00 1.7214084470448441e+00 1.8523614026473965e+00 1.9782575145276269e+00
2.0980886961566938e+00 2.2109850373516764e+00 2.3162151996095730e+00 2.4131840597491703e+00 2.5014281146549706e+00
2.5806091153285706e+00 2.6505063508648590e+00 2.7110079545661563e+00 2.7621015568249447e+00 2.8038645637913220e+00
2.8364542979766156e+00 2.8600981973448825e+00 2.8750842333755031e+00 2.8817516761559574e+00 2.8804823057701157e+00
2.8716921439699092e+00 2.8558237581894161e+00 2.8333391711552594e+00 2.8047133934346959e+00 2.7704285829676252e+00
2.7309688247181469e+00 2.6868155147671331e+00 2.6384433262347358e+00 2.5863167291097398e+00 2.5308870321738226e+00
2.4725899125317596e+00 2.4118433966060167e+00 2.3490462556752334e+00 2.2845767789603002e+00 2.2187918877813502e+00
2.1520265552815943e+00 2.0845934975626363e+00 2.0167831036919637e+00 1.9488635738636404e+00 1.8810812369508270e+00
1.8136610207193371e+00 1.7468070500507196e+00 1.6807033505858371e+00 1.6155146372447149e+00 1.5513871690559142e+00
1.4884496536383409e+00 1.4268141864958608e+00 1.3665772120042590e+00 1.3078204945836447e+00 1.2506120900523854e+00
1.1950073085502879e+00 1.1410496616995687e+00 1.0887717878420631e+00 1.0381963502565981e+00 9.8933690422003551e-01
9.4219872964247031e-01 8.9677962677415124e-01 8.5307067316958651e-01 8.1105694069385592e-01 7.7071817188505065e-01
7.3202941544290212e-01 6.9496162100761794e-01 6.5948219372701189e-01 6.2555550939233484e-01 5.9314339115629977e-01
5.6220554903693554e-01 5.3269998356387660e-01 5.0458335504023211e-01 4.7781131998032222e-01 4.5233883634534777e-01
4.2812043923464138e-01 4.0511048870905242e-01 3.8326339142174781e-01 3.6253379771729577e-01 3.4287677583286325e-01
3.2424796479760154e-01 3.0660370758054967e-01 2.8990116598452254e-01 2.7409841872609064e-01 2.5915454407883409e-01
2.4502968839369110e-01 2.3168512174254197e-01 2.1908328186436687e-01 2.0718780752542632e-01 1.9596356233750800e-01
1.8537665001230508e-01 1.7539442196444632e-01 1.6598547811304609e-01 1.5711966166996927e-01 1.4876804864444715e-01
1.4090293273673637e-01 1.3349780623990259e-01 1.2652733751724909e-01 1.1996734557434463e-01 1.1379477219856060e-01
1.0798765209582406e-01 1.0252508141368288e-01 9.7387185001678311e-02 9.2555082724584015e-02 8.8010855111109620e-02
8.3737508589961873e-02 7.9718940536826377e-02 7.5939904329596963e-02 7.2385974585237101e-02 6.9043512729294765e-02
6.5899633029043336e-02 6.2942169202580001e-02 6.0159641699440547e-02 5.7541225732930634e-02 5.5076720130546430e-02
5.2756517056398833e-02 5.0571572648238083e-02 4.8513378601664936e-02 4.6573934725081756e-02 4.4745722480991068e-02
4.3021679522073253e-02 4.1395175224364866e-02 3.9859987214311721e-02 3.8410278881708670e-02 3.7040577866510604e-02
3.5745755503880039e-02 3.4521007208912380e-02 3.3361833779917971e-02 3.2264023597108116e-02 3.1223635691821294e-02
3.0236983660070216e-02 2.9300620393215571e-02 2.8411323597772320e-02 2.7566082075896281e-02 2.6762082737777249e-02
2.5996698317105604e-02 2.5267475760840985e-02 2.4572125264713973e-02 2.3908509926274246e-02 2.3274635987705516e-02
2.2668643641204911e-02 2.2088798370316409e-02 2.1533482801290083e-02 2.1001189039288493e-02 2.0490511464994254e-02
2.0000139967999431e-02 1.9528853594166895e-02 1.9075514584991349e-02 1.8639062787818239e-02 1.8218510416650235e-02
1.7812937144080498e-02 1.7421485505751177e-02 1.7043356599549031e-02 1.6677806062561751e-02 1.6324140309613155e-02
1.5981713017976018e-02 1.5649921843605585e-02 1.5328205354974755e-02 1.5016040171312250e-02 1.4712938292708366e-02
1.4418444610242331e-02 1.4132134584901757e-02 1.3853612084676337e-02 1.3582507369821917e-02 1.3318475216818060e-02
1.3061193172097418e-02 1.2810359927147186e-02 1.2565693807050415e-02 1.2326931365025051e-02 1.2093826075940506e-02
1.1866147122233661e-02 1.1643678266026136e-02 1.1426216801644407e-02 1.1213572583084475e-02 1.1005567121320226e-02
1.0802032746662471e-02 1.0602811831688208e-02 1.0407756070544782e-02 1.0216725810699157e-02 1.0029589433467268e-02
9.8462227798860602e-03 9.6665086187306404e-03 9.4903361536790021e-03 9.3176005668363371e-03 9.1482025960089031e-03
8.9820481433065535e-03 8.8190479128032462e-03 8.6591170751522117e-03 8.5021749571883021e-03 8.3481447546937537e-03
8.1969532666261724e-03 8.0485306492223962e-03 7.9028101885199598e-03 7.7597280899136256e-03 7.6192232834934315e-03
7.4812372439735375e-03 7.3457138241272979e-03 7.2125991007052359e-03 7.0818412319012813e-03 6.9533903254870300e-03
6.8271983168139705e-03 6.7032188559211503e-03 6.5814072030662141e-03 6.4617201320263939e-03 6.3441158405819764e-03
6.2285538676237207e-03 6.1149950163802147e-03 6.0034012832899109e-03 5.8937357920846312e-03 5.7859627326801166e-03
5.6800473044990030e-03 5.5759556638887986e-03 5.4736548753111791e-03 5.3731128660109428e-03 5.2742983838981461e-03
5.1771809583849582e-03 5.0817308639591330e-03 4.9879190862693046e-03 4.8957172905357560e-03 4.8050977921015592e-03
4.7160335289582467e-03 4.6284980360953021e-03 4.5424654215287241e-03 4.4579103438822931e-03 4.3748079913988880e-03
4.2931340622749670e-03 4.2128647462132407e-03 4.1339767071033873e-03 4.0564470667446839e-03 3.9802533895282599e-03
3.9053736680121076e-03 3.8317863093158128e-03 3.7594701222811860e-03 3.6884043053326127e-03 3.6185684349951674e-03
3.5499424550168301e-03 3.4825066660512660e-03 3.4162417158645347e-03 3.3511285900229004e-03 3.2871486030347646e-03
3.2242833899080170e-03 3.1625148980992668e-03 3.1018253798278661e-03 3.0421973847258310e-03 2.9836137528083811e-03
2.9260576077371064e-03 2.8695123503632708e-03 2.8139616525287708e-03 2.7593894511106498e-03 2.7057799422959966e-03
2.6531175760685227e-03 2.6013870509009052e-03 2.5505733086344240e-03 2.5006615295404683e-03 2.4516371275501436e-03
2.4034857456453340e-03 2.3561932514012535e-03 2.3097457326723414e-03 2.2641294934160616e-03 2.2193310496436136e-03
2.1753371254977782e-03 2.1321346494441173e-03 2.0897107505768314e-03 2.0480527550303662e-03 2.0071481824917164e-03
1.9669847428123305e-03 1.9275503327108034e-03 1.8888330325659355e-03 1.8508211032951805e-03 1.8135029833145980e-03
1.7768672855772646e-03 1.7409027946878666e-03 1.7055984640891586e-03 1.6709434133182904e-03 1.6369269253308227e-03
1.6035384438881917e-03 1.5707675710093030e-03 1.5386040644797400e-03 1.5070378354209296e-03 1.4760589459142243e-03
1.4456576066784674e-03 1.4158241748004133e-03 1.3865491515145517e-03 1.3578231800324136e-03 1.3296370434173130e-03
1.3019816625059188e-03 1.2748480938728074e-03 1.2482275278369870e-03 1.2221112865106742e-03 1.1964908218862064e-03
1.1713577139624703e-03 1.1467036689077198e-03 1.1225205172586891e-03 1.0988002121543120e-03 1.0755348276031765e-03
1.0527165567835728e-03 1.0303377103750150e-03 1.0083907149206553e-03 9.8686811121878604e-04 9.6576255274356815e-04
9.4506680409354657e-04 9.2477373946662708e-04 9.0487634116191706e-04 8.8536769810608137e-04 8.6624100440530968e-04
8.4748955791986991e-04 8.2910675886310736e-04 8.1108610842155551e-04 7.9342120739794852e-04 7.7610575487466887e-04
7.5913354689786591e-04 7.4249847518158968e-04 7.2619452583109687e-04 7.1021577808524222e-04 6.9455640307671332e-04
6.7921066261025093e-04 6.6417290795844214e-04 6.4943757867335500e-04 6.3499920141575628e-04 6.2085238879914031e-04
6.0699183824991856e-04 5.9341233088238896e-04 5.8010873038847818e-04 5.6707598194186137e-04 5.5430911111587280e-04
5.4180322281523891e-04 5.2955350022104025e-04 5.1755520374872563e-04 5.0580367001857793e-04 4.9429431083891986e-04
4.8302261220136561e-04 4.7198413328763435e-04 4.6117450548847222e-04 4.5058943143359842e-04 4.4022468403297037e-04
4.3007610552883886e-04 4.2013960655883260e-04 4.1041116522908330e-04 4.0088682619821882e-04 3.9156269977118005e-04
3.8243496100300207e-04 3.7349984881274514e-04 3.6475366510662147e-04 3.5619277391102898e-04 3.4781360051482253e-04
3.3961263062063513e-04 3.3158640950565685e-04 3.2373154119109092e-04 3.1604468762060252e-04 3.0852256784754707e-04
3.0116195723081836e-04 2.9395968663908575e-04 2.8691264166377101e-04 2.8001776184017647e-04 2.7327203987681688e-04
2.6667252089326854e-04 2.6021630166557681e-04 2.5390052988028163e-04 2.4772240339593181e-04 2.4167916951265550e-04
2.3576812424967210e-04 2.2998661163024531e-04 2.2433202297460642e-04 2.1880179620031078e-04 2.1339341513026532e-04
2.0810440880823181e-04 2.0293235082175821e-04 1.9787485863260665e-04 1.9292959291436311e-04 1.8809425689761319e-04
1.8336659572205580e-04 1.7874439579616125e-04 1.7422548416372047e-04 1.6980772787763936e-04 1.6548903338088530e-04
1.6126734589430591e-04 1.5714064881157744e-04 1.5310696310104604e-04 1.4916434671449329e-04 1.4531089400280153e-04
1.4154473513841234e-04 1.3786403554466153e-04 1.3426699533172857e-04 1.3075184873951283e-04 1.2731686358694039e-04
1.2396034072819674e-04 1.2068061351527565e-04 1.1747604726729168e-04 1.1434503874632306e-04 1.1128601563955686e-04
1.0829743604811193e-04 1.0537778798212988e-04 1.0252558886227753e-04 9.9739385027582898e-05 9.7017751249615057e-05
9.4359290252773662e-05 9.1762632240957511e-05 8.9226434430383569e-05 8.6749380588361721e-05 8.4330180578390864e-05
8.1967569911181246e-05 7.9660309301724484e-05 7.7407184232279429e-05 7.5207004521348451e-05 7.3058603898526649e-05
7.0960839585107720e-05 6.8912591880629977e-05 6.6912763755002085e-05 6.4960280446513426e-05 6.3054089065330086e-05
6.1193158202771814e-05 5.9376477546041213e-05 5.7603057498502742e-05 5.5871928805544500e-05 5.4182142185708361e-05
5.2532767967318744e-05 5.0922895730446966e-05 4.9351633954125953e-05 4.7818109668823321e-05 4.6321468114150300e-05
4.4860872401664663e-05 4.3435503182825573e-05 4.2044558321957873e-05 4.0687252574273750e-05 3.9362817268785450e-05
3.8070499996214428e-05 3.6809564301621984e-05 3.5579289382025496e-05 3.4378969788611451e-05 3.3207915133769052e-05
3.2065449802711312e-05 3.0950912669766876e-05 2.9863656819185611e-05 2.8803049270468119e-05 2.7768470708167169e-05
2.6759315216115260e-05 2.5774990015931323e-05 2.4814915209964844e-05 2.3878523528387922e-05 2.2965260080560611e-05
2.2074582110528148e-05 2.1205958756658535e-05 2.0358870815317476e-05 1.9532810508535560e-05 1.8727281255713447e-05
1.7941797449145505e-05 1.7175884233475961e-05 1.6429077288930018e-05 1.5700922618341645e-05 1.4990976337865471e-05
1.4298804471386687e-05 1.3623982748522034e-05 1.2966096406226424e-05 1.2324739993882115e-05 1.1699517181902770e-05
1.1090040573734860e-05 1.0495931521266495e-05 9.9168199435395021e-06 9.3523441487842465e-06 8.8021506596591475e-06
8.2658940417265321e-06 7.7432367350197678e-06 7.2338488887770244e-06 6.7374081991923703e-06 6.2535997501888662e-06
5.7821158571569505e-06 5.3226559136389283e-06 4.8749262408651290e-06 4.4386399401326240e-06 4.0135167480073166e-06
3.5992828942305738e-06 3.1956709623667747e-06 2.8024197531120341e-06 2.4192741502208947e-06 2.0459849890155880e-06
1.6823089274468580e-06 1.3280083196495871e-06 9.8285109196557868e-07 6.4661062138351467e-07 3.1906561636122974e-07
0. 0. 0. 0. 0.

1
bench/POTENTIALS/Cu_u3.eam Symbolic link
View File

@ -0,0 +1 @@
../../potentials/Cu_u3.eam

File diff suppressed because it is too large Load Diff

1
bench/POTENTIALS/Ni.adp Symbolic link
View File

@ -0,0 +1 @@
../../potentials/Ni.adp

View File

@ -37,7 +37,7 @@ include(PreventInSourceBuilds)
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CXX_FLAGS)
#release comes with -O3 by default
set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel." FORCE)
set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel." FORCE)
endif(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CXX_FLAGS)
string(TOUPPER "${CMAKE_BUILD_TYPE}" BTYPE)
@ -52,8 +52,15 @@ check_for_autogen_files(${LAMMPS_SOURCE_DIR})
include(CheckCCompilerFlag)
include(CheckIncludeFileCXX)
if (${CMAKE_CXX_COMPILER_ID} STREQUAL "Intel")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -restrict")
if(${CMAKE_CXX_COMPILER_ID} STREQUAL "Intel")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -restrict -std=c++11")
endif()
option(DISABLE_CXX11_REQUIREMENT "Disable check that requires C++11 for compiling LAMMPS" OFF)
if(DISABLE_CXX11_REQUIREMENT)
add_definitions(-DLAMMPS_CXX98)
# else()
# set(CMAKE_CXX_STANDARD 11)
endif()
# GNU compiler features
@ -133,6 +140,24 @@ foreach(PKG ${DEFAULT_PACKAGES} ${ACCEL_PACKAGES})
option(PKG_${PKG} "Build ${PKG} Package" OFF)
endforeach()
######################################################
# download and unpack support binaries for compilation
# of windows binaries.
######################################################
if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
set(LAMMPS_THIRDPARTY_URL "http://download.lammps.org/thirdparty")
file(DOWNLOAD "${LAMMPS_THIRDPARTY_URL}/opencl-win-devel.tar.gz" "${CMAKE_CURRENT_BINARY_DIR}/opencl-win-devel.tar.gz"
EXPECTED_MD5 2c00364888d5671195598b44c2e0d44d)
execute_process(COMMAND ${CMAKE_COMMAND} -E tar xzf opencl-win-devel.tar.gz WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86")
set(OpenCL_LIBRARY "${CMAKE_CURRENT_BINARY_DIR}/OpenCL/lib_win32/libOpenCL.dll")
elseif(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
set(OpenCL_LIBRARY "${CMAKE_CURRENT_BINARY_DIR}/OpenCL/lib_win64/libOpenCL.dll")
endif()
set(OpenCL_INCLUDE_DIR "${CMAKE_CURRENT_BINARY_DIR}/OpenCL/include")
endif()
######################################################
######################################################
# packages with special compiler needs or external libs
######################################################
@ -148,6 +173,7 @@ if(PKG_USER-ADIOS)
endif()
# do MPI detection after language activation, if MPI for these language is required
set(MPI_CXX_SKIP_MPICXX TRUE)
find_package(MPI QUIET)
option(BUILD_MPI "Build MPI version" ${MPI_FOUND})
if(BUILD_MPI)
@ -175,11 +201,13 @@ add_definitions(-DLAMMPS_${LAMMPS_SIZES})
set(LAMMPS_API_DEFINES "${LAMMPS_API_DEFINES} -DLAMMPS_${LAMMPS_SIZES}")
# posix_memalign is not available on Windows
if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
set(LAMMPS_MEMALIGN "0" CACHE STRING "posix_memalign() is not available on Windows" FORCE)
else()
set(LAMMPS_MEMALIGN "64" CACHE STRING "enables the use of the posix_memalign() call instead of malloc() when large chunks or memory are allocated by LAMMPS. Set to 0 to disable")
if(NOT ${LAMMPS_MEMALIGN} STREQUAL "0")
add_definitions(-DLAMMPS_MEMALIGN=${LAMMPS_MEMALIGN})
endif()
endif()
if(NOT ${LAMMPS_MEMALIGN} STREQUAL "0")
add_definitions(-DLAMMPS_MEMALIGN=${LAMMPS_MEMALIGN})
endif()
option(LAMMPS_EXCEPTIONS "enable the use of C++ exceptions for error messages (useful for library interface)" OFF)
@ -219,8 +247,8 @@ if(BUILD_OMP)
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
endif()
if(PKG_MSCG OR PKG_USER-ATC OR PKG_USER-AWPMD OR PKG_USER-PLUMED OR PKG_USER-QUIP OR PKG_LATTE)
if(PKG_MSCG OR PKG_USER-ATC OR PKG_USER-AWPMD OR PKG_USER-QUIP OR PKG_LATTE)
enable_language(C)
find_package(LAPACK)
find_package(BLAS)
if(NOT LAPACK_FOUND OR NOT BLAS_FOUND)
@ -230,6 +258,7 @@ if(PKG_MSCG OR PKG_USER-ATC OR PKG_USER-AWPMD OR PKG_USER-PLUMED OR PKG_USER-QUI
enable_language(Fortran)
file(GLOB LAPACK_SOURCES ${LAMMPS_LIB_SOURCE_DIR}/linalg/[^.]*.[fF])
add_library(linalg STATIC ${LAPACK_SOURCES})
set(BLAS_LIBRARIES linalg)
set(LAPACK_LIBRARIES linalg)
else()
list(APPEND LAPACK_LIBRARIES ${BLAS_LIBRARIES})
@ -294,15 +323,17 @@ endif()
include(Packages/KSPACE)
include(Packages/PYTHON)
include(Packages/VORONOI)
include(Packages/USER-SCAFACOS)
include(Packages/USER-PLUMED)
include(Packages/USER-COLVARS)
include(Packages/USER-MOLFILE)
include(Packages/USER-NETCDF)
include(Packages/USER-SMD)
include(Packages/USER-QUIP)
include(Packages/USER-PLUMED)
include(Packages/USER-QMMM)
include(Packages/USER-QUIP)
include(Packages/USER-SCAFACOS)
include(Packages/USER-SMD)
include(Packages/USER-VTK)
include(Packages/KIM)
include(Packages/LATTE)
include(Packages/MESSAGE)
include(Packages/MSCG)
include(Packages/COMPRESS)
@ -389,8 +420,7 @@ endforeach()
##############################################
# add lib sources of (simple) enabled packages
############################################
foreach(SIMPLE_LIB POEMS USER-ATC USER-AWPMD USER-COLVARS USER-H5MD
USER-QMMM)
foreach(SIMPLE_LIB POEMS USER-ATC USER-AWPMD USER-H5MD USER-QMMM)
if(PKG_${SIMPLE_LIB})
string(REGEX REPLACE "^USER-" "" PKG_LIB "${SIMPLE_LIB}")
string(TOLOWER "${PKG_LIB}" PKG_LIB)
@ -404,10 +434,6 @@ foreach(SIMPLE_LIB POEMS USER-ATC USER-AWPMD USER-COLVARS USER-H5MD
target_include_directories(awpmd PUBLIC ${LAMMPS_LIB_SOURCE_DIR}/awpmd/systems/interact ${LAMMPS_LIB_SOURCE_DIR}/awpmd/ivutils/include)
elseif(PKG_LIB STREQUAL h5md)
target_include_directories(h5md PUBLIC ${LAMMPS_LIB_SOURCE_DIR}/h5md/include ${HDF5_INCLUDE_DIRS})
elseif(PKG_LIB STREQUAL colvars)
target_compile_options(colvars PRIVATE -DLEPTON)
target_include_directories(colvars PRIVATE ${LAMMPS_LIB_SOURCE_DIR}/colvars/lepton/include)
target_include_directories(colvars PUBLIC ${LAMMPS_LIB_SOURCE_DIR}/colvars)
else()
target_include_directories(${PKG_LIB} PUBLIC ${LAMMPS_LIB_SOURCE_DIR}/${PKG_LIB})
endif()
@ -496,10 +522,43 @@ if(BUILD_LIB)
if(LAMMPS_DEPS)
add_dependencies(lammps ${LAMMPS_DEPS})
endif()
set(LAMMPS_CXX_HEADERS
${LAMMPS_SOURCE_DIR}/angle.h
${LAMMPS_SOURCE_DIR}/atom.h
${LAMMPS_SOURCE_DIR}/bond.h
${LAMMPS_SOURCE_DIR}/citeme.h
${LAMMPS_SOURCE_DIR}/comm.h
${LAMMPS_SOURCE_DIR}/compute.h
${LAMMPS_SOURCE_DIR}/dihedral.h
${LAMMPS_SOURCE_DIR}/domain.h
${LAMMPS_SOURCE_DIR}/error.h
${LAMMPS_SOURCE_DIR}/fix.h
${LAMMPS_SOURCE_DIR}/force.h
${LAMMPS_SOURCE_DIR}/group.h
${LAMMPS_SOURCE_DIR}/improper.h
${LAMMPS_SOURCE_DIR}/input.h
${LAMMPS_SOURCE_DIR}/kspace.h
${LAMMPS_SOURCE_DIR}/lammps.h
${LAMMPS_SOURCE_DIR}/lattice.h
${LAMMPS_SOURCE_DIR}/lmppython.h
${LAMMPS_SOURCE_DIR}/memory.h
${LAMMPS_SOURCE_DIR}/modify.h
${LAMMPS_SOURCE_DIR}/neighbor.h
${LAMMPS_SOURCE_DIR}/neigh_list.h
${LAMMPS_SOURCE_DIR}/output.h
${LAMMPS_SOURCE_DIR}/pair.h
${LAMMPS_SOURCE_DIR}/pointers.h
${LAMMPS_SOURCE_DIR}/region.h
${LAMMPS_SOURCE_DIR}/timer.h
${LAMMPS_SOURCE_DIR}/universe.h
${LAMMPS_SOURCE_DIR}/update.h
${LAMMPS_SOURCE_DIR}/variable.h)
set_target_properties(lammps PROPERTIES OUTPUT_NAME lammps${LAMMPS_LIB_SUFFIX})
set_target_properties(lammps PROPERTIES SOVERSION ${SOVERSION})
install(TARGETS lammps LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(FILES ${LAMMPS_SOURCE_DIR}/library.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/lammps)
install(FILES ${LAMMPS_CXX_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/lammps)
configure_file(pkgconfig/liblammps.pc.in ${CMAKE_CURRENT_BINARY_DIR}/liblammps${LAMMPS_LIB_SUFFIX}.pc @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/liblammps${LAMMPS_LIB_SUFFIX}.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
configure_file(FindLAMMPS.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/FindLAMMPS${LAMMPS_LIB_SUFFIX}.cmake @ONLY)
@ -534,6 +593,7 @@ if(BUILD_TOOLS)
enable_language(Fortran)
add_executable(chain.x ${LAMMPS_TOOLS_DIR}/chain.f)
target_link_libraries(chain.x ${CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES})
install(TARGETS chain.x DESTINATION ${CMAKE_INSTALL_BINDIR})
endif()
enable_language(C)
@ -550,11 +610,11 @@ include(Documentation)
###############################################################################
# Install potential and force field files in data directory
###############################################################################
set(LAMMPS_INSTALL_POTENTIALS_DIR ${CMAKE_INSTALL_FULL_DATADIR}/lammps/potentials)
install(DIRECTORY ${LAMMPS_POTENTIALS_DIR} DESTINATION ${LAMMPS_INSTALL_POTENTIALS_DIR})
set(LAMMPS_INSTALL_FRC_FILES_DIR ${CMAKE_INSTALL_FULL_DATADIR}/lammps/frc_files)
install(DIRECTORY ${LAMMPS_TOOLS_DIR}/msi2lmp/frc_files/ DESTINATION ${LAMMPS_INSTALL_FRC_FILES_DIR})
set(LAMMPS_INSTALL_DATADIR ${CMAKE_INSTALL_FULL_DATADIR}/lammps)
install(DIRECTORY ${LAMMPS_POTENTIALS_DIR} DESTINATION ${LAMMPS_INSTALL_DATADIR})
if(BUILD_TOOLS)
install(DIRECTORY ${LAMMPS_TOOLS_DIR}/msi2lmp/frc_files DESTINATION ${LAMMPS_INSTALL_DATADIR})
endif()
configure_file(etc/profile.d/lammps.sh.in ${CMAKE_BINARY_DIR}/etc/profile.d/lammps.sh @ONLY)
configure_file(etc/profile.d/lammps.csh.in ${CMAKE_BINARY_DIR}/etc/profile.d/lammps.csh @ONLY)
@ -672,5 +732,10 @@ if(PKG_KOKKOS)
message(STATUS "Kokkos Arch: ${KOKKOS_ARCH}")
endif()
if(PKG_KSPACE)
message(STATUS "Using ${FFT} as FFT")
message(STATUS "Using ${FFT} as primary FFT library")
if(FFT_SINGLE)
message(STATUS "Using single precision FFTs")
else()
message(STATUS "Using double precision FFTs")
endif()
endif()

View File

@ -37,6 +37,26 @@
# KIM-API-CMAKE_Fortran_COMPILER
#
function(_KIMAPI_GET_VERSION _OUT_ver _version_hdr)
if(NOT EXISTS ${_version_hdr})
message(FATAL_ERROR "Header file ${_version_hdr} not found (check value of KIM-API_INCLUDE_DIR)")
endif()
foreach(_var KIM_VERSION_MAJOR KIM_VERSION_MINOR KIM_VERSION_PATCH)
file(STRINGS ${_version_hdr} _contents REGEX "#define ${_var}[ \t]+")
if(_contents)
string(REGEX REPLACE ".*#define ${_var}[ \t]+([0-9]+).*" "\\1" _${_var} "${_contents}")
if(${_${_var}} STREQUAL "")
message(FATAL_ERROR "Version parsing failed for ${_var} in ${_version_hdr}, got empty return!")
elseif(NOT ${_${_var}} MATCHES "^[0-9]+$")
message(FATAL_ERROR "Version parsing failed for ${_var} in ${_version_hdr}, excepted a number but got ${_${_var}}!")
endif()
else()
message(FATAL_ERROR "No ${_var} line found in include file ${_version_hdr}")
endif()
endforeach()
set(${_OUT_ver} ${_KIM_VERSION_MAJOR}.${_KIM_VERSION_MINOR}.${_KIM_VERSION_PATCH} PARENT_SCOPE)
endfunction()
if(KIM-API_FIND_QUIETLY)
set(REQ_OR_QUI "QUIET")
else()
@ -54,6 +74,12 @@ if(KIM-API_FOUND)
pkg_get_variable(KIM-API_CMAKE_Fortran_COMPILER libkim-api CMAKE_Fortran_COMPILER)
endif()
if(KIM-API_INCLUDEDIR)
_KIMAPI_GET_VERSION(KIM-API_VERSION ${KIM-API_INCLUDEDIR}/KIM_Version.h)
else()
set(KIM-API_VERSION 0)
endif()
# handle the QUIETLY and REQUIRED arguments and set KIM-API_FOUND to TRUE
# if all listed variables are TRUE
find_package_handle_standard_args(KIM-API REQUIRED_VARS KIM-API_LIBRARIES)
find_package_handle_standard_args(KIM-API REQUIRED_VARS KIM-API_LIBRARIES VERSION_VAR KIM-API_VERSION)

View File

@ -1,4 +1,5 @@
if(PKG_KIM)
set(KIM-API_MIN_VERSION 2.1)
find_package(CURL)
if(CURL_FOUND)
include_directories(${CURL_INCLUDE_DIRS})
@ -7,8 +8,18 @@ if(PKG_KIM)
endif()
find_package(KIM-API QUIET)
if(KIM-API_FOUND)
set(DOWNLOAD_KIM_DEFAULT OFF)
if (KIM-API_VERSION VERSION_LESS ${KIM-API_MIN_VERSION})
if ("${DOWNLOAD_KIM}" STREQUAL "")
message(WARNING "Unsuitable KIM-API version \"${KIM-API_VERSION}\" found, but required is at least \"${KIM-API_MIN_VERSION}\". Default behavior set to download and build our own.")
endif()
set(DOWNLOAD_KIM_DEFAULT ON)
else()
set(DOWNLOAD_KIM_DEFAULT OFF)
endif()
else()
if ("${DOWNLOAD_KIM}" STREQUAL "")
message(WARNING "KIM-API package not found. Default behavior set to download and build our own")
endif()
set(DOWNLOAD_KIM_DEFAULT ON)
endif()
option(DOWNLOAD_KIM "Download KIM-API from OpenKIM instead of using an already installed one" ${DOWNLOAD_KIM_DEFAULT})
@ -17,12 +28,16 @@ if(PKG_KIM)
message(FATAL_ERROR "Cannot build downloaded KIM-API library with Ninja build tool")
endif()
message(STATUS "KIM-API download requested - we will build our own")
enable_language(C)
enable_language(Fortran)
include(CheckLanguage)
include(ExternalProject)
enable_language(C)
check_language(Fortran)
if(NOT CMAKE_Fortran_COMPILER)
message(FATAL_ERROR "Compiling the KIM-API library requires a Fortran compiler")
endif()
ExternalProject_Add(kim_build
URL https://s3.openkim.org/kim-api/kim-api-2.0.2.txz
URL_MD5 537d9c0abd30f85b875ebb584f9143fa
URL https://s3.openkim.org/kim-api/kim-api-2.1.3.txz
URL_MD5 6ee829a1bbba5f8b9874c88c4c4ebff8
BINARY_DIR build
CMAKE_ARGS -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
@ -35,7 +50,7 @@ if(PKG_KIM)
set(KIM-API_LDFLAGS ${INSTALL_DIR}/${CMAKE_INSTALL_LIBDIR}/libkim-api${CMAKE_SHARED_LIBRARY_SUFFIX})
list(APPEND LAMMPS_DEPS kim_build)
else()
find_package(KIM-API REQUIRED)
find_package(KIM-API ${KIM-API_MIN_VERSION} REQUIRED)
endif()
list(APPEND LAMMPS_LINK_LIBS "${KIM-API_LDFLAGS}")
include_directories(${KIM-API_INCLUDE_DIRS})

View File

@ -1,15 +1,24 @@
if(PKG_KOKKOS)
set(LAMMPS_LIB_KOKKOS_SRC_DIR ${LAMMPS_LIB_SOURCE_DIR}/kokkos)
set(LAMMPS_LIB_KOKKOS_BIN_DIR ${LAMMPS_LIB_BINARY_DIR}/kokkos)
# TODO: this option needs to be documented when this works with a
# regular release version of KOKKOS, and a version compatibility check
# of external KOKKOS lib versus what the KOKKOS package needs is required.
option(EXTERNAL_KOKKOS "Build against external kokkos library")
if(EXTERNAL_KOKKOS)
find_package(Kokkos REQUIRED)
list(APPEND LAMMPS_LINK_LIBS Kokkos::kokkos)
else()
set(LAMMPS_LIB_KOKKOS_SRC_DIR ${LAMMPS_LIB_SOURCE_DIR}/kokkos)
set(LAMMPS_LIB_KOKKOS_BIN_DIR ${LAMMPS_LIB_BINARY_DIR}/kokkos)
add_subdirectory(${LAMMPS_LIB_KOKKOS_SRC_DIR} ${LAMMPS_LIB_KOKKOS_BIN_DIR})
set(Kokkos_INCLUDE_DIRS ${LAMMPS_LIB_KOKKOS_SRC_DIR}/core/src
${LAMMPS_LIB_KOKKOS_SRC_DIR}/containers/src
${LAMMPS_LIB_KOKKOS_SRC_DIR}/algorithms/src
${LAMMPS_LIB_KOKKOS_BIN_DIR})
include_directories(${Kokkos_INCLUDE_DIRS})
list(APPEND LAMMPS_LINK_LIBS kokkos)
endif()
add_definitions(-DLMP_KOKKOS)
add_subdirectory(${LAMMPS_LIB_KOKKOS_SRC_DIR} ${LAMMPS_LIB_KOKKOS_BIN_DIR})
set(Kokkos_INCLUDE_DIRS ${LAMMPS_LIB_KOKKOS_SRC_DIR}/core/src
${LAMMPS_LIB_KOKKOS_SRC_DIR}/containers/src
${LAMMPS_LIB_KOKKOS_SRC_DIR}/algorithms/src
${LAMMPS_LIB_KOKKOS_BIN_DIR})
include_directories(${Kokkos_INCLUDE_DIRS})
list(APPEND LAMMPS_LINK_LIBS kokkos)
set(KOKKOS_PKG_SOURCES_DIR ${LAMMPS_SOURCE_DIR}/KOKKOS)
set(KOKKOS_PKG_SOURCES ${KOKKOS_PKG_SOURCES_DIR}/kokkos.cpp
@ -17,12 +26,15 @@ if(PKG_KOKKOS)
${KOKKOS_PKG_SOURCES_DIR}/atom_vec_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/comm_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/comm_tiled_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/min_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/min_linesearch_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/neighbor_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/neigh_list_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/neigh_bond_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/fix_nh_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/nbin_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/npair_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/npair_halffull_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/domain_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/modify_kokkos.cpp)
@ -38,6 +50,7 @@ if(PKG_KOKKOS)
# register kokkos-only styles
RegisterNBinStyle(${KOKKOS_PKG_SOURCES_DIR}/nbin_kokkos.h)
RegisterNPairStyle(${KOKKOS_PKG_SOURCES_DIR}/npair_kokkos.h)
RegisterNPairStyle(${KOKKOS_PKG_SOURCES_DIR}/npair_halffull_kokkos.h)
if(PKG_USER-DPD)
get_property(KOKKOS_PKG_SOURCES GLOBAL PROPERTY KOKKOS_PKG_SOURCES)

View File

@ -1,5 +1,5 @@
if(PKG_KSPACE)
option(FFT_SINGLE "Use single precision FFT instead of double" OFF)
option(FFT_SINGLE "Use single precision FFTs instead of double precision FFTs" OFF)
set(FFTW "FFTW3")
if(FFT_SINGLE)
set(FFTW "FFTW3F")
@ -7,26 +7,30 @@ if(PKG_KSPACE)
endif()
find_package(${FFTW} QUIET)
if(${FFTW}_FOUND)
set(FFT "${FFTW}" CACHE STRING "FFT library for KSPACE package")
set(FFT "FFTW3" CACHE STRING "FFT library for KSPACE package")
else()
set(FFT "KISS" CACHE STRING "FFT library for KSPACE package")
endif()
set(FFT_VALUES KISS ${FFTW} MKL)
set(FFT_VALUES KISS FFTW3 MKL)
set_property(CACHE FFT PROPERTY STRINGS ${FFT_VALUES})
validate_option(FFT FFT_VALUES)
string(TOUPPER ${FFT} FFT)
if(NOT FFT STREQUAL "KISS")
find_package(${FFT} REQUIRED)
if(NOT FFT STREQUAL "FFTW3F")
add_definitions(-DFFT_FFTW)
else()
add_definitions(-DFFT_${FFT})
endif()
include_directories(${${FFT}_INCLUDE_DIRS})
list(APPEND LAMMPS_LINK_LIBS ${${FFT}_LIBRARIES})
if(FFT STREQUAL "FFTW3")
find_package(${FFTW} REQUIRED)
add_definitions(-DFFT_FFTW3)
include_directories(${${FFTW}_INCLUDE_DIRS})
list(APPEND LAMMPS_LINK_LIBS ${${FFTW}_LIBRARIES})
elseif(FFT STREQUAL "MKL")
find_package(MKL REQUIRED)
add_definitions(-DFFT_MKL)
include_directories(${MKL_INCLUDE_DIRS})
list(APPEND LAMMPS_LINK_LIBS ${MKL_LIBRARIES})
else()
# last option is KISSFFT
add_definitions(-DFFT_KISS)
endif()
set(FFT_PACK "array" CACHE STRING "Optimization for FFT")
set(FFT_PACK_VALUES array pointer memcpy)
set_property(CACHE FFT_PACK PROPERTY STRINGS ${FFT_PACK_VALUES})

View File

@ -1,4 +1,7 @@
if(PKG_MESSAGE)
if(LAMMPS_SIZES STREQUAL BIGBIG)
message(FATAL_ERROR "The MESSAGE Package is not compatible with -DLAMMPS_BIGBIG")
endif()
option(MESSAGE_ZMQ "Use ZeroMQ in MESSAGE package" OFF)
file(GLOB_RECURSE cslib_SOURCES ${LAMMPS_LIB_SOURCE_DIR}/message/cslib/[^.]*.F
${LAMMPS_LIB_SOURCE_DIR}/message/cslib/[^.]*.c

View File

@ -0,0 +1,42 @@
if(PKG_USER-COLVARS)
set(COLVARS_SOURCE_DIR ${LAMMPS_LIB_SOURCE_DIR}/colvars)
file(GLOB COLVARS_SOURCES ${COLVARS_SOURCE_DIR}/[^.]*.cpp)
# Build Lepton by default
set(COLVARS_LEPTON_DEFAULT ON)
# but not if C++11 is disabled per user request
if(DEFINED DISABLE_CXX11_REQUIREMENT)
if(DISABLE_CXX11_REQUIREMENT)
set(COLVARS_LEPTON_DEFAULT OFF)
endif()
endif()
option(COLVARS_LEPTON "Build and link the Lepton library" ${COLVARS_LEPTON_DEFAULT})
# Verify that the user's choice is consistent
if(DEFINED DISABLE_CXX11_REQUIREMENT)
if((DISABLE_CXX11_REQUIREMENT) AND (COLVARS_LEPTON))
message(FATAL_ERROR "Building the Lepton library requires C++11 or later.")
endif()
endif()
if(COLVARS_LEPTON)
set(LEPTON_DIR ${LAMMPS_LIB_SOURCE_DIR}/colvars/lepton)
file(GLOB LEPTON_SOURCES ${LEPTON_DIR}/src/[^.]*.cpp)
add_library(lepton STATIC ${LEPTON_SOURCES})
target_include_directories(lepton PRIVATE ${LEPTON_DIR}/include)
endif()
add_library(colvars STATIC ${COLVARS_SOURCES})
target_include_directories(colvars PUBLIC ${LAMMPS_LIB_SOURCE_DIR}/colvars)
list(APPEND LAMMPS_LINK_LIBS colvars)
if(COLVARS_LEPTON)
list(APPEND LAMMPS_LINK_LIBS lepton)
target_compile_options(colvars PRIVATE -DLEPTON)
target_include_directories(colvars PUBLIC ${LEPTON_DIR}/include)
endif()
endif()

View File

@ -1,4 +1,8 @@
if(PKG_USER-MOLFILE)
if (CMAKE_VERSION VERSION_LESS "3.10") # due to INTERFACE without a library
message(FATAL_ERROR "For configuring USER-MOLFILE you need CMake 3.10 or later")
endif()
set(MOLFILE_INCLUDE_DIRS "${LAMMPS_LIB_SOURCE_DIR}/molfile" CACHE STRING "Path to VMD molfile plugin headers")
add_library(molfile INTERFACE)
target_include_directories(molfile INTERFACE ${MOLFILE_INCLUDE_DIRS})

View File

@ -1,11 +1,23 @@
if(PKG_USER-PLUMED)
find_package(GSL REQUIRED)
set(PLUMED_MODE "static" CACHE STRING "Linkage mode for Plumed2 library")
set(PLUMED_MODE_VALUES static shared runtime)
set_property(CACHE PLUMED_MODE PROPERTY STRINGS ${PLUMED_MODE_VALUES})
validate_option(PLUMED_MODE PLUMED_MODE_VALUES)
string(TOUPPER ${PLUMED_MODE} PLUMED_MODE)
set(PLUMED_LINK_LIBS "")
if(PLUMED_MODE STREQUAL "STATIC")
find_package(LAPACK REQUIRED)
find_package(BLAS REQUIRED)
find_package(GSL REQUIRED)
list(APPEND LAPACK_LIBRARIES ${BLAS_LIBRARIES})
list(APPEND PLUMED_LINK_LIBS ${LAPACK_LIBRARIES} ${GSL_LIBRARIES})
find_package(ZLIB QUIET)
if(ZLIB_FOUND)
list(APPEND PLUMED_LINK_LIBS ${ZLIB_LIBRARIES})
endif()
endif()
find_package(PkgConfig QUIET)
set(DOWNLOAD_PLUMED_DEFAULT ON)
if(PKG_CONFIG_FOUND)
@ -37,8 +49,8 @@ if(PKG_USER-PLUMED)
message(STATUS "PLUMED download requested - we will build our own")
include(ExternalProject)
ExternalProject_Add(plumed_build
URL https://github.com/plumed/plumed2/releases/download/v2.5.1/plumed-src-2.5.1.tgz
URL_MD5 c2a7b519e32197a120cdf47e0f194f81
URL https://github.com/plumed/plumed2/releases/download/v2.5.3/plumed-src-2.5.3.tgz
URL_MD5 de30d6e7c2dcc0973298e24a6da24286
BUILD_IN_SOURCE 1
CONFIGURE_COMMAND <SOURCE_DIR>/configure --prefix=<INSTALL_DIR>
${CONFIGURE_REQUEST_PIC}
@ -53,11 +65,11 @@ if(PKG_USER-PLUMED)
list(APPEND LAMMPS_DEPS plumed_build)
if(PLUMED_MODE STREQUAL "STATIC")
add_definitions(-D__PLUMED_WRAPPER_CXX=1)
list(APPEND LAMMPS_LINK_LIBS ${PLUMED_INSTALL_DIR}/lib/libplumed.a ${GSL_LIBRARIES} ${LAPACK_LIBRARIES} ${CMAKE_DL_LIBS})
list(APPEND LAMMPS_LINK_LIBS ${PLUMED_INSTALL_DIR}/lib/libplumed.a ${PLUMED_LINK_LIBS} ${CMAKE_DL_LIBS})
elseif(PLUMED_MODE STREQUAL "SHARED")
list(APPEND LAMMPS_LINK_LIBS ${PLUMED_INSTALL_DIR}/lib/libplumed.so ${PLUMED_INSTALL_DIR}/lib/libplumedKernel.so ${CMAKE_DL_LIBS})
list(APPEND LAMMPS_LINK_LIBS ${PLUMED_INSTALL_DIR}/lib/libplumed${CMAKE_SHARED_LIBRARY_SUFFIX} ${PLUMED_INSTALL_DIR}/lib/libplumedKernel${CMAKE_SHARED_LIBRARY_SUFFIX} ${CMAKE_DL_LIBS})
elseif(PLUMED_MODE STREQUAL "RUNTIME")
add_definitions(-D__PLUMED_HAS_DLOPEN=1 -D__PLUMED_DEFAULT_KERNEL=${PLUMED_INSTALL_DIR}/lib/libplumedKernel.so)
add_definitions(-D__PLUMED_HAS_DLOPEN=1 -D__PLUMED_DEFAULT_KERNEL=${PLUMED_INSTALL_DIR}/lib/libplumedKernel${CMAKE_SHARED_LIBRARY_SUFFIX})
list(APPEND LAMMPS_LINK_LIBS ${PLUMED_INSTALL_DIR}/lib/libplumedWrapper.a -rdynamic ${CMAKE_DL_LIBS})
endif()
set(PLUMED_INCLUDE_DIRS "${PLUMED_INSTALL_DIR}/include")
@ -70,7 +82,7 @@ if(PKG_USER-PLUMED)
elseif(PLUMED_MODE STREQUAL "SHARED")
include(${PLUMED_LIBDIR}/plumed/src/lib/Plumed.cmake.shared)
elseif(PLUMED_MODE STREQUAL "RUNTIME")
add_definitions(-D__PLUMED_HAS_DLOPEN=1 -D__PLUMED_DEFAULT_KERNEL=${PLUMED_LIBDIR}/libplumedKernel.so)
add_definitions(-D__PLUMED_HAS_DLOPEN=1 -D__PLUMED_DEFAULT_KERNEL=${PLUMED_LIBDIR}/libplumedKernel${CMAKE_SHARED_LIBRARY_SUFFIX})
include(${PLUMED_LIBDIR}/plumed/src/lib/Plumed.cmake.runtime)
endif()
list(APPEND LAMMPS_LINK_LIBS ${PLUMED_LOAD})

View File

@ -18,8 +18,12 @@ if(PKG_VORONOI)
else()
set(VORO_BUILD_CFLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_${BTYPE}}")
endif()
string(APPEND VORO_BUILD_CFLAGS ${CMAKE_CXX_FLAGS})
set(VORO_BUILD_OPTIONS CXX=${CMAKE_CXX_COMPILER} CFLAGS=${VORO_BUILD_CFLAGS})
if(APPLE)
get_filename_component(VORO_CXX ${CMAKE_CXX_COMPILER} NAME_WE)
set(VORO_BUILD_OPTIONS CXX=${VORO_CXX} CFLAGS=${VORO_BUILD_CFLAGS})
else()
set(VORO_BUILD_OPTIONS CXX=${CMAKE_CXX_COMPILER} CFLAGS=${VORO_BUILD_CFLAGS})
endif()
ExternalProject_Add(voro_build
URL https://download.lammps.org/thirdparty/voro++-0.4.6.tar.gz

View File

@ -33,12 +33,17 @@ tasks, act as a reference and provide examples of typical use cases.
* [Package-Specific Configuration Options](#package-specific-configuration-options)
* [KSPACE Package](#kspace-package)
* [MKL](#mkl)
* [FFTW2](#fftw2)
* [FFTW3](#fftw3)
* [BLAS](#blas)
* [LAPACK](#lapack)
* [PYTHON Package](#python-package)
* [GPU Package](#gpu-package)
* [MESSAGE Package](#message-package)
* [MSCG Package](#mscg-package)
* [VORONOI Package](#voronoi-package)
* [USER-LATTE Package](#user-latte-package)
* [USER-PLUMED Package](#user-plumed-package)
* [USER-SCAFACOS Package](#user-scafacos-package)
* [USER-SMD Package](#user-smd-package)
* [Optional Features](#optional-features)
* [zlib support](#zlib-support)
@ -50,8 +55,6 @@ tasks, act as a reference and provide examples of typical use cases.
* [Building with GNU Compilers](#building-with-gnu-compilers)
* [Building with Intel Compilers](#building-with-intel-compilers)
* [Building with LLVM/Clang Compilers](#building-with-llvmclang-compilers)
* [Examples](#examples)
## Quick Start for the Impatient
If you want to skip ahead and just run the compilation using `cmake`, please
@ -205,8 +208,10 @@ cmake -C ../cmake/presets/all_on.cmake -C ../cmake/presets/nolib.cmake -D PKG_GP
<td>Controls if debugging symbols are added to the generated binaries</td>
<td>
<dl>
<dt><code>Release</code> (default)</dt>
<dt><code>RelWithDebInfo (default)</code></dt>
<dt><code>Release</code></dt>
<dt><code>Debug</code></dt>
<dt><code>MinSizeRel</code></dt>
</dl>
</td>
</tr>
@ -249,6 +254,16 @@ cmake -C ../cmake/presets/all_on.cmake -C ../cmake/presets/nolib.cmake -D PKG_GP
</dl>
</td>
</tr>
<tr>
<td><code>LAMMPS_LONGLONG_TO_LONG</code></td>
<td>Workaround if your system or MPI version does not recognize <code>long long</code> data types</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
<tr>
<td><code>LAMMPS_MEMALIGN</code></td>
<td>controls the alignment of blocks of memory allocated by LAMMPS</td>
@ -271,7 +286,16 @@ cmake -C ../cmake/presets/all_on.cmake -C ../cmake/presets/nolib.cmake -D PKG_GP
</tr>
<tr>
<td><code>LAMMPS_MACHINE</code></td>
<td>allows appending a machine suffix to the generate LAMMPS binary</td>
<td>allows appending a machine suffix to the generated LAMMPS binary</td>
<td>
<dl>
<dt>*none* (default)</dt>
</dl>
</td>
</tr>
<tr>
<td><code>LAMMPS_LIB_SUFFIX</code></td>
<td>allows appending a suffix to the generated LAMMPS library</td>
<td>
<dl>
<dt>*none* (default)</dt>
@ -319,8 +343,8 @@ cmake -C ../cmake/presets/all_on.cmake -C ../cmake/presets/nolib.cmake -D PKG_GP
</td>
</tr>
<tr>
<td><code>LAMMPS_LONGLONG_TO_LONG</code></td>
<td>Workaround if your system or MPI version does not recognize <code>long long</code> data types</td>
<td><code>BUILD_TOOLS</code></td>
<td>control whether to build LAMMPS tools</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
@ -561,23 +585,6 @@ cmake -C ../cmake/presets/all_on.cmake -C ../cmake/presets/nolib.cmake -D PKG_GP
</dl>
</td>
</tr>
<tr>
<td><code>PKG_MEAM</code></td>
<td>
<p>A pair style for the modified embedded atom (MEAM) potential.</p>
<p><strong>Please note that the MEAM package has been superseded by the USER-MEAMC package,
which is a direct translation of the MEAM package to C++. USER-MEAMC contains
additional optimizations making it run faster than MEAM on most machines, while
providing the identical features and USER interface.</strong></p>
</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
<tr>
<td><code>PKG_MISC</code></td>
<td>
@ -634,21 +641,6 @@ providing the identical features and USER interface.</strong></p>
</dl>
</td>
</tr>
<tr>
<td><code>PKG_REAX</code></td>
<td>
A pair style which wraps a Fortran library which implements the ReaxFF
potential, which is a universal reactive force field. See the USER-REAXC
package for an alternate implementation in C/C++. Also a fix reax/bonds
command for monitoring molecules as bonds are created and destroyed.
</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
<tr>
<td><code>PKG_REPLICA</code></td>
<td>
@ -695,6 +687,16 @@ providing the identical features and USER interface.</strong></p>
</dl>
</td>
</tr>
<tr>
<td><code>PKG_SPIN</code></td>
<td>Model atomic magnetic spins classically, coupled to atoms moving in the usual manner via MD. Various pair, fix, and compute styles.</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
<tr>
<td><code>PKG_SNAP</code></td>
<td>
@ -757,6 +759,16 @@ providing the identical features and USER interface.</strong></p>
</dl>
</td>
</tr>
<tr>
<td><code>PKG_MESSAGE</code></td>
<td>Commands to use LAMMPS as either a client or server and couple it to another application.</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
<tr>
<td><code>PKG_MSCG</code></td>
<td>
@ -811,6 +823,18 @@ providing the identical features and USER interface.</strong></p>
</dl>
</td>
</tr>
<tr>
<td><code>PKG_VORONOI</code></td>
<td>
A compute command which calculates the Voronoi tesselation of a collection of atoms by wrapping the Voro++ library. This can be used to calculate the local volume or each atoms or its near neighbors.
</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
</tbody>
</table>
@ -825,6 +849,16 @@ providing the identical features and USER interface.</strong></p>
</tr>
</thead>
<tbody>
<tr>
<td><code>PKG_USER-ADIOS</code></td>
<td>ADIOS is a high-performance I/O library. This package implements the dump “atom/adios” and dump “custom/adios” commands to write data using the ADIOS library.</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
<tr>
<td><code>PKG_USER-ATC</code></td>
<td>
@ -853,6 +887,18 @@ providing the identical features and USER interface.</strong></p>
</dl>
</td>
</tr>
<tr>
<td><code>PKG_USER-BOCS</code></td>
<td>
This package provides fix bocs, a modified version of fix npt which includes the pressure correction to the barostat as outlined in: N. J. H. Dunn and W. G. Noid, “Bottom-up coarse-grained models that accurately describe the structure, pressure, and compressibility of molecular liquids,” J. Chem. Phys. 143, 243148 (2015).
</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
<tr>
<td><code>PKG_USER-CGDNA</code></td>
<td>
@ -1142,6 +1188,30 @@ providing the identical features and USER interface.</strong></p>
</dl>
</td>
</tr>
<tr>
<td><code>PKG_USER-PLUMED</code></td>
<td>
The fix plumed command allows you to use the PLUMED free energy plugin for molecular dynamics to analyze and bias your LAMMPS trajectory on the fly. The PLUMED library is called from within the LAMMPS input script by using the <code>fix plumed</code> command.
</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
<tr>
<td><code>PKG_USER-PTM</code></td>
<td>
A <code>compute ptm/atom</code> command that calculates local structure characterization using the Polyhedral Template Matching methodology.
</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
<tr>
<td><code>PKG_USER-QTB</code></td>
<td>
@ -1197,6 +1267,33 @@ providing the identical features and USER interface.</strong></p>
</dl>
</td>
</tr>
<tr>
<td><code>PKG_USER-SCAFACOS</code></td>
<td>
A KSpace style which wraps the ScaFaCoS Coulomb solver library to compute long-range Coulombic interactions.
</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
<tr>
<td><code>PKG_USER-SDPD</code></td>
<td>
A pair style for smoothed dissipative particle dynamics (SDPD), which is an
extension of smoothed particle hydrodynamics (SPH) to mesoscale where thermal
fluctuations are important (see the USER-SPH package). Also two fixes for
moving and rigid body integration of SPH/SDPD particles (particles of
<code>atom_style meso</code>).</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
<tr>
<td><code>PKG_USER-SMD</code></td>
<td>
@ -1280,6 +1377,23 @@ providing the identical features and USER interface.</strong></p>
</dl>
</td>
</tr>
<tr>
<td><code>PKG_USER-YAFF</code></td>
<td>
Some potentials that are also implemented in the Yet Another Force Field (YAFF) code.
The expressions and their use are discussed in the following papers:
<ul>
<li><a href="http://dx.doi.org/10.1002/jcc.23877" target="_blank">Vanduyfhuys et al., J. Comput. Chem., 36 (13), 1015-1027 (2015)</a></li>
<li><a href="http://dx.doi.org/10.1002/jcc.25173" target="_blank">Vanduyfhuys et al., J. Comput. Chem., 39 (16), 999-1011 (2018)</a></li>
</ul>
</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
</tbody>
</table>
@ -1300,14 +1414,27 @@ providing the identical features and USER interface.</strong></p>
<td><code>FFT</code></td>
<td>
<p>FFT library for KSPACE package</p>
<p>If either MKL or FFTW is selected <code>cmake</code> will try to locate these libraries automatically. To control which one should be used please see the options below for each FFT library.</p>
<p>If either MKL or FFTW is selected <code>cmake</code> will try to locate
these libraries automatically. To control which one should be used please see
the options below for each FFT library. Otherwise it will default to KISS
FFT.</p>
</td>
<td>
<dl>
<dt><code>KISS</code></dt>
<dt><code>FFTW3</code></dt>
<dt><code>FFTW2</code></dt>
<dt><code>MKL</code></dt>
<dt><code>KISS</code> (default)</dt>
</dl>
</td>
</tr>
<tr>
<td><code>FFT_SINGLE</code></td>
<td>Use single-precision floating-point in FFT</td>
<td>
<dl>
<dt><code>off</code> (default = double precision)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
@ -1325,60 +1452,6 @@ providing the identical features and USER interface.</strong></p>
</tbody>
</table>
### MKL
<table>
<thead>
<tr>
<th>Option</th>
<th>Description</th>
<th>Values</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>MKL_INCLUDE_DIRS</code></td>
<td></td>
<td>
</td>
</tr>
<tr>
<td><code>MKL_LIBRARIES</code></td>
<td></td>
<td>
</td>
</tr>
</tbody>
</table>
TODO static vs dynamic linking
### FFTW2
<table>
<thead>
<tr>
<th>Option</th>
<th>Description</th>
<th>Values</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>FFTW2_INCLUDE_DIRS</code></td>
<td></td>
<td>
</td>
</tr>
<tr>
<td><code>FFTW2_LIBRARIES</code></td>
<td></td>
<td>
</td>
</tr>
</tbody>
</table>
### FFTW3
<table>
@ -1392,24 +1465,57 @@ TODO static vs dynamic linking
<tbody>
<tr>
<td><code>FFTW3_INCLUDE_DIRS</code></td>
<td></td>
<td>path to FFTW3 include files</td>
<td>
</td>
</tr>
<tr>
<td><code>FFTW3_LIBRARIES</code></td>
<td></td>
<td>list of paths to FFTW3 libraries</td>
<td>
</td>
</tr>
</tbody>
</table>
### MKL
<table>
<thead>
<tr>
<th>Option</th>
<th>Description</th>
<th>Values</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>MKL_INCLUDE_DIRS</code></td>
<td>path to MKL include files</td>
<td>
</td>
</tr>
<tr>
<td><code>MKL_LIBRARIES</code></td>
<td>list of paths to MKL libraries</td>
<td>
</td>
</tr>
</tbody>
</table>
### BLAS
See [FindBLAS documentation](https://cmake.org/cmake/help/latest/module/FindBLAS.html)
### LAPACK
TODO
See [FindLAPACK documentation](https://cmake.org/cmake/help/latest/module/FindLAPACK.html)
### PYTHON Package
See [FindPYTHON documentation](https://cmake.org/cmake/help/latest/module/FindPython.html)
### USER-INTEL Package
<table>
@ -1499,10 +1605,11 @@ target API.
<td>
<dl>
<dt><code>sm_20</code> (Fermi)</dt>
<dt><code>sm_30</code> (Kepler)</dt>
<dt><code>sm_30</code> (Kepler) (default)</dt>
<dt><code>sm_50</code> (Maxwell)</dt>
<dt><code>sm_60</code> (Pascal)</dt>
<dt><code>sm_70</code> (Volta)</dt>
<dt><code>sm_75</code> (Turing)</dt>
</dl>
</td>
</tr>
@ -1534,13 +1641,14 @@ target API.
</tbody>
</table>
### VORONOI Package
### KIM Package
TODO
Requires installation of the KIM library with API v2
### USER-SMD Package
Requires a Eigen3 installation
If `DOWNLOAD_KIM` is set, the KIM library will be downloaded and built inside
the CMake build directory. If the KIM library is already on your system (in a
location CMake cannot find it), set the `PKG_CONFIG_PATH` environment variable
so that `libkim-api` can be found.
<table>
<thead>
@ -1551,9 +1659,349 @@ Requires a Eigen3 installation
</tr>
</thead>
<tbody>
<tr>
<td><code>DOWNLOAD_KIM</code></td>
<td>Download KIM API v2 and compile it as part of the build.</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
</tbody>
</table>
### MESSAGE Package
This package can optionally include support for messaging via sockets, using the open-source [ZeroMQ library](http://zeromq.org/), which must be installed on your system.
<table>
<thead>
<tr>
<th>Option</th>
<th>Description</th>
<th>Values</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>MESSAGE_ZMQ</code></td>
<td>Build with ZeroMQ support</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
<tr>
<td><code>ZMQ_LIBRARY</code></td>
<td>
ZMQ library file (only needed if at custom location)
</td>
<td>
</td>
</tr>
<tr>
<td><code>ZMG_INCLUDE_DIR</code></td>
<td>
Provide include directory of existing ZMQ installation (only needed if at custom location)
</td>
<td>
</td>
</tr>
</tbody>
</table>
### MSCG Package
Requires installation of the MSCG library
<table>
<thead>
<tr>
<th>Option</th>
<th>Description</th>
<th>Values</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>DOWNLOAD_MSCG</code></td>
<td>Download MSCG and compile it as part of the build</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
<tr>
<td><code>MSCG_LIBRARY</code></td>
<td>
MSCG library file (only needed if at custom location)
</td>
<td>
</td>
</tr>
<tr>
<td><code>MSCG_INCLUDE_DIR</code></td>
<td>
Provide include directory of existing MSCG installation (only needed if at custom location)
</td>
<td>
</td>
</tr>
</tbody>
</table>
### VORONOI Package
Requires installation of the Voro++ library
<table>
<thead>
<tr>
<th>Option</th>
<th>Description</th>
<th>Values</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>DOWNLOAD_VORO</code></td>
<td>Download Voro++ and compile it as part of the build</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
<tr>
<td><code>VORO_LIBRARY</code></td>
<td>
Voro++ library file (only needed if at custom location)
</td>
<td>
</td>
</tr>
<tr>
<td><code>VORO_INCLUDE_DIR</code></td>
<td>
Provide include directory of existing Voro++ installation (only needed if at custom location)
</td>
<td>
</td>
</tr>
</tbody>
</table>
### USER-COLVARS Package
Requires a C++11 compiler to compile with the Lepton library included.
<table>
<thead>
<tr>
<th>Option</th>
<th>Description</th>
<th>Values</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>COLVARS_LEPTON</code></td>
<td>Enable the use of the Lepton library inside the Colvars library.
<td>
<dl>
<dt><code>on</code> (default)</dt>
<dt><code>off</code></dt>
</dl>
</td>
</tr>
</tbody>
</table>
### USER-LATTE Package
Requires installation of the LATTE library
<table>
<thead>
<tr>
<th>Option</th>
<th>Description</th>
<th>Values</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>DOWNLOAD_LATTE</code></td>
<td>Download LATTE and compile it as part of the build</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
<tr>
<td><code>LATTE_LIBRARY</code></td>
<td>
LATTE library file (only needed if at custom location)
</td>
<td>
</td>
</tr>
</tbody>
</table>
### USER-PLUMED Package
Requires installation of the PLUMED library
<table>
<thead>
<tr>
<th>Option</th>
<th>Description</th>
<th>Values</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>DOWNLOAD_PLUMED</code></td>
<td>Download PLUMED and compile it as part of the build</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
<tr>
<td><code>PLUMED_MODE</code></td>
<td>
Determines the linkage mode for the PLUMED library.
</td>
<td>
<dl>
<dt><code>static</code> (default)</dt>
<dt><code>shared</code></dt>
<dt><code>runtime</code></dt>
</dl>
</td>
</tr>
</tbody>
</table>
### USER-LATTE Package
Requires installation of the LATTE library
<table>
<thead>
<tr>
<th>Option</th>
<th>Description</th>
<th>Values</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>DOWNLOAD_LATTE</code></td>
<td>Download LATTE and compile it as part of the build</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
<tr>
<td><code>LATTE_LIBRARY</code></td>
<td>
LATTE library file (only needed if at custom location)
</td>
<td>
</td>
</tr>
</tbody>
</table>
### USER-SMD Package
Requires installation of the Eigen3 library
<table>
<thead>
<tr>
<th>Option</th>
<th>Description</th>
<th>Values</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>DOWNLOAD_EIGEN3</code></td>
<td>Download Eigen3 and compile it as part of the build</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
<tr>
<td><code>EIGEN3_INCLUDE_DIR</code></td>
<td></td>
<td>
Provide include directory of existing Eigen3 installation (only needed if at custom location)
</td>
<td>
</td>
</tr>
</tbody>
</table>
### USER-SCAFACOS Package
To build with this package, you must download and build the [ScaFaCoS Coulomb solver library](http://www.scafacos.de/)
<table>
<thead>
<tr>
<th>Option</th>
<th>Description</th>
<th>Values</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>DOWNLOAD_SCAFACOS</code></td>
<td>Download SCAFACOS and compile it as part of the build</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
<tr>
<td><code>SCAFACOS_LIBRARY</code></td>
<td>
SCAFACOS library file (only needed if at custom location)
</td>
<td>
</td>
</tr>
<tr>
<td><code>SCAFACOS_INCLUDE_DIR</code></td>
<td>
SCAFACOS include directory (only needed if at custom location)
</td>
<td>
</td>
</tr>
@ -1791,5 +2239,82 @@ cmake -D CMAKE_C_COMPILER=icc -D CMAKE_CXX_COMPILER=icpc -D CMAKE_Fortran_COMPIL
cmake -D CMAKE_C_COMPILER=clang -D CMAKE_CXX_COMPILER=clang++ -D CMAKE_Fortran_COMPILER=flang ../cmake
```
## LAMMPS Developer Options
## Examples
<table>
<thead>
<tr>
<th>Option</th>
<th>Description</th>
<th>Values</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>ENABLE_TESTING</code></td>
<td>Control wheather to add tests via CTest</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
<tr>
<td><code>LAMMPS_TESTING_SOURCE_DIR</code></td>
<td>Custom location of lammps-testing repository (optional). If not specified it will download it via Git</td>
<td>
</td>
</tr>
<tr>
<td><code>LAMMPS_TESTING_GIT_TAG</code></td>
<td>If lammps-testing repository is cloned, this is the tag/commit that will be checked out</td>
<td>
<dl>
<dt><code>master</code> (default)</dt>
</dl>
</td>
</tr>
<tr>
<td><code>ENABLE_COVERAGE</code></td>
<td>Enables code coverage support via gcov and adds a gcovr build target to generate a coverage report.</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
<tr>
<td><code>ENABLE_SANITIZE_ADDRESS</code></td>
<td>Enables Address Sanitizer support when compiling using GCC or Clang for detecting memory leaks in binaries while running them. See https://clang.llvm.org/docs/AddressSanitizer.html</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
<tr>
<td><code>ENABLE_SANITIZE_UNDEFINED</code></td>
<td>Enables Undefined Behavior Sanitizer support when compiling using GCC or Clang for detecting code that is running into undefined behavior of the language. See https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
<tr>
<td><code>ENABLE_SANITIZE_THREAD</code></td>
<td>Enables Thread Sanitizer support when compiling using GCC or Clang for detecting data races in binaries while running them. See https://clang.llvm.org/docs/ThreadSanitizer.html</td>
<td>
<dl>
<dt><code>off</code> (default)</dt>
<dt><code>on</code></dt>
</dl>
</td>
</tr>
</tbody>
</table>

View File

@ -1,4 +1,4 @@
# set environment for LAMMPS and msi2lmp executables
# to find potential and force field files
if ( "$?LAMMPS_POTENTIALS" == 0 ) setenv LAMMPS_POTENTIALS @LAMMPS_POTENTIALS_DIR@
if ( "$?MSI2LMP_LIBRARY" == 0 ) setenv MSI2LMP_LIBRARY @LAMMPS_FRC_FILES_DIR@
if ( "$?LAMMPS_POTENTIALS" == 0 ) setenv LAMMPS_POTENTIALS @LAMMPS_INSTALL_DATADIR@/potentials
if ( "$?MSI2LMP_LIBRARY" == 0 ) setenv MSI2LMP_LIBRARY @LAMMPS_INSTALL_DATADIR@/frc_files

View File

@ -1,5 +1,5 @@
# set environment for LAMMPS and msi2lmp executables
# to find potential and force field files
LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS-@LAMMPS_POTENTIALS_DIR@}
MSI2LMP_LIBRARY=${MSI2LMP_LIBRARY-@LAMMPS_FRC_FILES_DIR@}
LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS-@LAMMPS_INSTALL_DATADIR@/potentials}
MSI2LMP_LIBRARY=${MSI2LMP_LIBRARY-@LAMMPS_INSTALL_DATADIR@/frc_files}
export LAMMPS_POTENTIALS MSI2LMP_LIBRARY

View File

@ -3,9 +3,9 @@ set(WIN_PACKAGES ASPHERE BODY CLASS2 COLLOID COMPRESS CORESHELL DIPOLE GPU
REPLICA RIGID SHOCK SNAP SPIN SRD VORONOI USER-ATC USER-AWPMD
USER-BOCS USER-CGDNA USER-CGSDK USER-COLVARS USER-DIFFRACTION
USER-DPD USER-DRUDE USER-EFF USER-FEP USER-INTEL USER-MANIFOLD
USER-MEAMC USER-MESO USER-MISC USER-MOFFF USER-MOLFILE USER-OMP
USER-PHONON USER-PTM USER-QTB USER-REAXC USER-SDPD USER-SMD
USER-SMTBQ USER-SPH USER-TALLY USER-UEF USER-YAFF)
USER-MEAMC USER-MESO USER-MISC USER-MGPT USER-MOFFF USER-MOLFILE
USER-OMP USER-PHONON USER-PTM USER-QTB USER-REAXC USER-SDPD
USER-SMD USER-SMTBQ USER-SPH USER-TALLY USER-UEF USER-YAFF)
foreach(PKG ${WIN_PACKAGES})
set(PKG_${PKG} ON CACHE BOOL "" FORCE)
@ -14,4 +14,4 @@ endforeach()
set(DOWNLOAD_VORO ON CACHE BOOL "" FORCE)
set(DOWNLOAD_EIGEN3 ON CACHE BOOL "" FORCE)
set(LAMMPS_MEMALIGN "0" CACHE STRING "" FORCE)
set(INTEL_LRT_MODE "none" CACHE STRING "" FORCE)
set(CMAKE_INSTALL_PREFIX "${CMAKE_CURRENT_BINARY_DIR}/lammps-installer")

View File

@ -4,10 +4,10 @@
set(ALL_PACKAGES ASPHERE CLASS2 COLLOID CORESHELL DIPOLE
GRANULAR KSPACE MANYBODY MC MISC MOLECULE OPT PERI
PYTHON QEQ REPLICA RIGID SHOCK SRD VORONOI
PYTHON QEQ REPLICA RIGID SHOCK SNAP SRD VORONOI
USER-CGDNA USER-CGSDK USER-COLVARS USER-DIFFRACTION USER-DPD
USER-DRUDE USER-FEP USER-MEAMC USER-MESO
USER-MISC USER-MOFFF USER-OMP USER-PLUMED USER-PHONON USER-REAXC
USER-MISC USER-MOFFF USER-OMP USER-PHONON USER-REAXC
USER-SPH USER-SMD USER-UEF USER-YAFF)
foreach(PKG ${ALL_PACKAGES})

View File

@ -69,6 +69,7 @@ html: $(OBJECTS) $(ANCHORCHECK)
sphinx-build $(SPHINXEXTRA) -b html -c utils/sphinx-config -d $(BUILDDIR)/doctrees $(RSTDIR) html ;\
echo "############################################" ;\
doc_anchor_check src/*.txt ;\
env LC_ALL=C grep -n '[^ -~]' src/*.txt ;\
echo "############################################" ;\
deactivate ;\
)

View File

@ -0,0 +1,133 @@
# Outline of include file conventions in LAMMPS
This purpose of this document is to provide a point of reference
for LAMMPS developers and contributors as to what include files
and definitions to put where into LAMMPS source.
Last change 2019-07-05
## Table of Contents
* [Motivation](#motivation)
* [Rules](#rules)
* [Tools](#tools)
* [Legacy Code](#legacy-code)
## Motivation
The conventions outlined in this document are supposed to help make
maintenance of the LAMMPS software easier. By trying to achieve
consistency across files contributed by different developers, it will
become easier for the code maintainers to modify and adjust files and,
overall, the chance for errors or portability issues will be reduced.
The rules employed are supposed to minimize naming conflicts and
simplify dependencies between files and thus speed up compilation. They
may, as well, make otherwise hidden dependencies visible.
## Rules
Below are the various rules that are applied. Not all are enforced
strictly and automatically. If there are no significant side effects,
exceptions may be possible for cases where a full compliance to the
rules may require a large effort compared to the benefit.
### Core Files Versus Package Files
All rules listed below are most strictly observed for core LAMMPS files,
which are the files that are not part of a package, and the files of the
packages MOLECULE, MANYBODY, KSPACE, and RIGID. On the other end of
the spectrum are USER packages and legacy packages that predate these
rules and thus may not be fully compliant. Also, new contributions
will be checked more closely, while existing code will be incrementally
adapted to the rules as time and required effort permits.
### System Versus Local Header Files
All system- or library-provided include files are included with angular
brackets (examples: `#include <cstring>` or `#include <mpi.h>`) while
include files provided with LAMMPS are included with double quotes
(examples: `#include "pointers.h"` or `#include "compute_temp.h"`).
For headers declaring functions of the C-library, the corresponding
C++ versions should be included (examples: `#include <cstdlib>` or
`#include <cctypes>`). However, these includes are limited to those defined
in the C++98 standard. Some files thus must use the older style until
the minimum C++ standard requirement of LAMMPS is lifted to C++11 or
even beyond (examples: `#include <stdint.h>` versus `#include <cstdint>`
or `#include <inttypes.h>` versus `#include <cinttypes>`).
### C++ Standard Compliance
LAMMPS core files currently correspond to the C++98 standard. Files
requiring C++11 or later are only permitted in (optional) packages
and particularly packages that are not part of the list of commonly
used packages such as MOLECULE, KSPACE, MANYBODY, or RIGID.
Also, LAMMPS uses the C-style stdio library for I/O instead of iostreams.
Since using both at the same time can cause problems, iostreams should
be avoided where possible.
### Lean Header Files
Header files will typically contain the definition of a (single) class.
These header files should have as few include statements as possible.
This is particularly important for classes that implement a "style" and
thus use a macro of the kind `SomeStyle(some/name,SomeName)`. These will
all be included in the auto-generated `"some_style.h"` files which
results in a high potential for direct or indirect symbol name clashes.
In the ideal case, the header would only include one file defining the
parent class. That would typically be either `#include "pointers.h"` for
the `Pointers` class, or a header of a class derived from it like
`#include "pair.h"` for the `Pair` class and so on. References to other
classes inside the class should be make through pointers, for which forward
declarations (inside the `LAMMPS_NS` or the new class' namespace) can
be employed. The full definition will then be included into the corresponding
implementation file. In the given example from above, the header file
would be called `some_name.h` and the implementation `some_name.cpp` (all
lower case with underscores, while the class itself would be in camel case
and no underscores `SomeName`, and the style name with lower case names separated by
a forward slash).
### Implementation Files
In the implementation files (typically, those would have the same base name
as the corresponding header with a .cpp extension instead of .h) include
statements should follow the "include what you use" principle.
### Order of Include Statements
Include files should be included in this order:
* the header matching the implementation (`some_class.h` for file `some_class.cpp`)
* mpi.h
* system and library headers (anything that is using angular brackets; C-library headers first, then C++)
* LAMMPS local headers (preferably in alphabetical order)
### Special Cases and Exceptions
#### pointers.h
The `pointer.h` header file also includes `cstdio` and `lmptype.h`
(and through it `stdint.h`, `intttypes.h`, cstdlib, and `climits`).
This means any header including `pointers.h` can assume that `FILE`,
`NULL`, `INT_MAX` are defined.
## Tools
The [Include What You Use tool](https://include-what-you-use.org/)
can be used to provide supporting information about compliance with
the rules listed here. There are some limitations and the IWYU tool
may give incorrect advice. The tools is activated by setting the
CMake variable `CMAKE_CXX_INCLUDE_WHAT_YOU_USE` variable to the
path of the `include-what-you-use` command. When activated, the
tool will be run after each compilation and provide suggestions for
which include files should be added or removed.
## Legacy Code
A lot of code predates the application of the rules in this document
and the rules themselves are a moving target. So there are going to be
significant chunks of code that do not fully comply. This applies
for example to the USER-REAXC, or the USER-ATC package. The LAMMPS
developers are dedicated to make an effort to improve the compliance
and welcome volunteers wanting to help with the process.

View File

@ -1,4 +1,4 @@
.TH LAMMPS "18 June 2019" "2019-06-18"
.TH LAMMPS "30 October 2019" "2019-10-30"
.SH NAME
.B LAMMPS
\- Molecular Dynamics Simulator.

View File

@ -29,6 +29,7 @@ as described on the "Install"_Install.html doc page.
Build_package
Build_extras
Build_windows
Build_development
END_RST -->
@ -41,7 +42,8 @@ END_RST -->
"Optional build settings"_Build_settings.html
"Include packages in build"_Build_package.html
"Packages with extra build options"_Build_extras.html
"Notes for building LAMMPS on Windows"_Build_windows.html :all(b)
"Notes for building LAMMPS on Windows"_Build_windows.html
"Development build options (CMake only)"_Build_development.html :all(b)
If you have problems building LAMMPS, it is often due to software
issues on your local machine. If you can, find a local expert to

View File

@ -51,7 +51,7 @@ Serial build (see src/MAKE/Makefile.serial):
MPI_INC = -I../STUBS
MPI_PATH = -L../STUBS
MPI_LIB = -lmpi_stubs :pre
MPI_LIB = -lmpi_stubs :pre
For a parallel build, if MPI is installed on your system in the usual
place (e.g. under /usr/local), you do not need to specify the 3
@ -183,17 +183,17 @@ want.
Parallel build (see src/MAKE/Makefile.mpi):
CC = mpicxx
CCFLAGS = -g -O3
LINK = mpicxx
LINKFLAGS = -g -O :pre
CC = mpicxx
CCFLAGS = -g -O3
LINK = mpicxx
LINKFLAGS = -g -O :pre
Serial build (see src/MAKE/Makefile.serial):
CC = g++
CCFLAGS = -g -O3
LINK = g++
LINKFLAGS = -g -O :pre
CC = g++
CCFLAGS = -g -O3
LINK = g++
LINKFLAGS = -g -O :pre
The "compiler/linker settings" section of a Makefile.machine lists
compiler and linker settings for your C++ compiler, including
@ -235,12 +235,16 @@ running LAMMPS from Python via its library interface.
-D BUILD_EXE=value # yes (default) or no
-D BUILD_LIB=value # yes or no (default)
-D BUILD_SHARED_LIBS=value # yes or no (default) :pre
-D BUILD_SHARED_LIBS=value # yes or no (default)
-D LAMMPS_LIB_SUFFIX=name # name = mpi, serial, mybox, titan, laptop, etc
# no default value :pre
Setting BUILD_EXE=no will not produce an executable. Setting
BUILD_LIB=yes will produce a static library named liblammps.a.
Setting both BUILD_LIB=yes and BUILD_SHARED_LIBS=yes will produce a
shared library named liblammps.so.
shared library named liblammps.so. If LAMMPS_LIB_SUFFIX is set the generated
libraries will be named liblammps_name.a or liblammps_name.so instead.
[Traditional make]:
@ -310,6 +314,30 @@ current LAMMPS version (HTML and PDF files), from the website
:line
Build LAMMPS tools :h4,link(tools)
Some tools described in "Auxiliary tools"_Tools.html can be built directly
using CMake or Make.
[CMake variable]:
-D BUILD_TOOLS=value # yes or no (default) :pre
The generated binaries will also become part of the LAMMPS installation (see below)
[Traditional make]:
cd lammps/tools
make all # build all binaries of tools
make binary2txt # build only binary2txt tool
make chain # build only chain tool
make micelle2d # build only micelle2d tool
make thermo_extract # build only thermo_extract tool
:pre
:line
Install LAMMPS after a build :h4,link(install)
After building LAMMPS, you may wish to copy the LAMMPS executable of

View File

@ -52,11 +52,17 @@ LAMMPS or need to re-compile LAMMPS repeatedly, installation of the
ccache (= Compiler Cache) software may speed up repeated compilation
even more.
After compilation, you can optionally copy the LAMMPS executable and
library into your system folders (by default under $HOME/.local) with:
After compilation, you may optionally install the LAMMPS executable into
your system with:
make install # optional, copy LAMMPS executable & library elsewhere :pre
This will install the lammps executable and library (if requested), some
tools (if configured) and additional files like library API headers,
manpages, potential and force field files. The location of the installation
tree is set by the CMake variable "CMAKE_INSTALL_PREFIX" which defaults
to $\{HOME\}/.local
:line
There are 3 variants of CMake: a command-line version (cmake), a text mode
@ -114,7 +120,7 @@ The argument can be preceeded or followed by various CMake
command-line options. Several useful ones are:
-D CMAKE_INSTALL_PREFIX=path # where to install LAMMPS executable/lib if desired
-D CMAKE_BUILD_TYPE=type # type = Release or Debug
-D CMAKE_BUILD_TYPE=type # type = RelWithDebInfo (default), Release, MinSizeRel, or Debug
-G output # style of output CMake generates
-DVARIABLE=value # setting for a LAMMPS feature to enable
-D VARIABLE=value # ditto, but cannot come after CMakeLists.txt dir

View File

@ -0,0 +1,86 @@
"Higher level section"_Build.html - "LAMMPS WWW Site"_lws - "LAMMPS
Documentation"_ld - "LAMMPS Commands"_lc :c
:link(lws,http://lammps.sandia.gov)
:link(ld,Manual.html)
:link(lc,Commands_all.html)
:line
Development build options (CMake only) :h3
The CMake build of LAMMPS has a few extra options which are useful during
development, testing or debugging.
:line
Verify compilation flags :h4,link(compilation)
Sometimes it is necessary to verify the complete sequence of compilation flags
generated by the CMake build. To enable a more verbose output during
compilation you can use the following option.
-D CMAKE_VERBOSE_MAKEFILE=value # value = no (default) or yes :pre
Another way of doing this without reconfiguration is calling make with variable VERBOSE set to 1:
make VERBOSE=1 :pre
:line
Address, Undefined Behavior, and Thread Sanitizer Support :h4,link(sanitizer)
Compilers such as GCC and Clang support generating binaries which use different
sanitizers to detect problems in code during run-time. They can detect "memory leaks"_https://clang.llvm.org/docs/AddressSanitizer.html,
code that runs into "undefined behavior"_https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html of the
language and "data races"_https://clang.llvm.org/docs/ThreadSanitizer.html in threaded code.
The following settings allow you enable these features if your compiler supports
it. Please note that they come with a performance hit. However, they are
usually faster than using tools like Valgrind.
-D ENABLE_SANITIZE_ADDRESS=value # enable Address Sanitizer, value = no (default) or yes
-D ENABLE_SANITIZE_UNDEFINED=value # enable Undefined Behaviour Sanitizer, value = no (default) or yes
-D ENABLE_SANITIZE_THREAD=value # enable Thread Sanitizer, value = no (default) or yes
:pre
:line
Code Coverage and Testing :h4,link(testing)
We do extensive regression testing of the LAMMPS code base on a continuous
basis. Some of the logic to do this has been added to the CMake build so
developers can run the tests directly on their workstation.
NOTE: this is incomplete and only represents a small subset of tests that we run
-D ENABLE_TESTING=value # enable simple run tests of LAMMPS, value = no (default) or yes
-D LAMMPS_TESTING_SOURCE_DIR=path # path to lammps-testing repository (option if in custom location)
-D LAMMPS_TESTING_GIT_TAG=value # version of lammps-testing repository that should be used, value = master (default) or custom git commit or tag
:pre
If you enable testing in the CMake build it will create an additional target called "test". You can run them with:
make test
:pre
The test cases used come from the lammps-testing repository. They are
derivatives of the examples folder with some modifications to make the run
faster.
You can also collect code coverage metrics while running the tests by enabling
coverage support during building.
-D ENABLE_COVERAGE=value # enable coverage measurements, value = no (default) or yes :pre
This will also add the following targets to generate coverage reports after running the LAMMPS executable:
make test # run tests first!
make gen_coverage_html # generate coverage report in HTML format
make gen_coverage_xml # generate coverage report in XML format
:pre
These reports require GCOVR to be installed. The easiest way to do this to install it via pip:
pip install git+https://github.com/gcovr/gcovr.git :pre
:pre

View File

@ -88,7 +88,7 @@ which GPU hardware to build for.
# generic (default) or intel (Intel CPU) or fermi, kepler, cypress (NVIDIA)
-D GPU_ARCH=value # primary GPU hardware choice for GPU_API=cuda
# value = sm_XX, see below
# default is Cuda-compiler dependent, but typically sm_20
# default is sm_30
-D CUDPP_OPT=value # optimization setting for GPU_API=cuda
# enables CUDA Performance Primitives Optimizations
# value = yes (default) or no
@ -172,22 +172,17 @@ KIM package :h4,link(kim)
To build with this package, the KIM library with API v2 must be downloaded
and built on your system. It must include the KIM models that you want to
use with LAMMPS. If you want to use the "kim_query"_kim_query.html
use with LAMMPS. If you want to use the "kim_query"_kim_commands.html
command, you also need to have libcurl installed with the matching
development headers and the curl-config tool.
Note that in LAMMPS lingo, a KIM model driver is a pair style
(e.g. EAM or Tersoff). A KIM model is a pair style for a particular
element or alloy and set of parameters, e.g. EAM for Cu with a
specific EAM potential file. Also note that downloading and installing
the KIM API library with all its models, may take a long time (10s of
minutes to hours) to build. Of course you only need to do that once.
See "Obtaining KIM Models"_http://openkim.org/doc/usage/obtaining-models to
learn how to install a pre-build binary of the OpenKIM Repository of Models.
See the list of all KIM models here: https://openkim.org/browse/models
See the list of KIM model drivers here:
https://openkim.org/browse/model-drivers/alphabetical
See the list of all KIM models here:
https://openkim.org/browse/models/by-model-drivers
(Also note that when downloading and installing from source
the KIM API library with all its models, may take a long time (tens of
minutes to hours) to build. Of course you only need to do that once.)
[CMake build]:
@ -307,7 +302,7 @@ files.
KOKKOS_ABSOLUTE_PATH = $(shell cd $(KOKKOS_PATH); pwd)
export OMPI_CXX = $(KOKKOS_ABSOLUTE_PATH)/config/nvcc_wrapper
CC = mpicxx :pre
CC = mpicxx :pre
:line
@ -359,6 +354,9 @@ be installed on your system.
[CMake build]:
-D MESSAGE_ZMQ=value # build with ZeroMQ support, value = no (default) or yes
-D ZMQ_LIBRARY=path # ZMQ library file (only needed if a custom location)
-D ZMQ_INCLUDE_DIR=path # ZMQ include directory (only needed if a custom location)
:pre
[Traditional make]:
@ -371,6 +369,7 @@ simply invoke the lib/message/Install.py script with the specified args:
make lib-message # print help message
make lib-message args="-m -z" # build with MPI and socket (ZMQ) support
make lib-message args="-s" # build as serial lib with no ZMQ support
:pre
The build should produce two files: lib/message/cslib/src/libmessage.a
and lib/message/Makefile.lammps. The latter is copied from an
@ -643,30 +642,61 @@ make lib-linalg args="-m gfortran" # build with GNU Fortran compiler :pre
USER-COLVARS package :h4,link(user-colvars)
This package includes into the LAMMPS distribution the Colvars library, which
can be built for the most part with all major versions of the C++ language.
A few of the most recent features require C++11 support. In particular, the
library is optionally built together with the
"Lepton"_https://simtk.org/projects/lepton library, a copy of which is also
included in the LAMMPS distribution. Lepton implements the
"customFunction"_http://colvars.github.io/colvars-refman-lammps/colvars-refman-lammps.html#colvar|customFunction
feature, and requires C++11 support.
See "here"_https://colvars.github.io/README-c++11.html for a detailed list of
C++11-only features.
[CMake build]:
No additional settings are needed besides "-D PKG_USER-COLVARS=yes".
This is the recommended build recipe: no additional settings are normally
needed besides "-D PKG_USER-COLVARS=yes".
Building and linking of Lepton (or other C++11-only features) is enabled
automatically when compilation is carried out with C++11 support, and disabled
otherwise. Optionally, Lepton build may be manually controlled with the flag
"-D COLVARS_LEPTON=yes|no".
[Traditional make]:
Before building LAMMPS, you must build the COLVARS library in
lib/colvars. You can do this manually if you prefer; follow the
instructions in lib/colvars/README. You can also do it in one step
from the lammps/src dir, using a command like these, which simply
invoke the lib/colvars/Install.py script with the specified args:
Before building LAMMPS, one must build the Colvars library in lib/colvars.
This can be done manually in the same folder by using or adapting one of the
provided Makefiles: for example, Makefile.g++ for the GNU compiler.
In general, it is safer to use build setting consistent with the rest of
LAMMPS. This is best carried out from the LAMMPS src directory using a
command like these, which simply invoke the lib/colvars/Install.py script with
the specified args:
make lib-colvars # print help message
make lib-colvars args="-m serial" # build with GNU g++ compiler (settings as with "make serial")
make lib-colvars args="-m mpi" # build with default MPI compiler (settings as with "make mpi")
make lib-colvars args="-m g++-debug" # build with GNU g++ compiler and colvars debugging enabled :pre
The build should produce two files: lib/colvars/libcolvars.a and
lib/colvars/Makefile.lammps. The latter is copied from an existing
Makefile.lammps.* and has settings needed to build LAMMPS with the
COLVARS library (though typically the settings are just blank). If
necessary, you can edit/create a new lib/colvars/Makefile.machine file
for your system, which should define an EXTRAMAKE variable to specify
a corresponding Makefile.lammps.machine file.
The "machine" argument of the "-m" flag is used to find a Makefile.machine to
use as build recipe. If it does not already exist in lib/colvars, it will be
auto-generated by using compiler flags consistent with those parsed from the
core LAMMPS makefiles.
Optional flags may be specified as environment variables:
COLVARS_DEBUG=yes make lib-colvars args="-m machine" # Build with debug code (much slower)
COLVARS_LEPTON=no make lib-colvars args="-m machine" # Build without Lepton (included otherwise)
The build should produce two files: the library lib/colvars/libcolvars.a
(which also includes Lepton objects if enabled) and the specification file
lib/colvars/Makefile.lammps. The latter is auto-generated, and normally does
not need to be edited.
:line
@ -803,7 +833,7 @@ dir, using a command like these, which simply invoke the
lib/h5md/Install.py script with the specified args:
make lib-h5md # print help message
make lib-hm5d args="-m h5cc" # build with h5cc compiler :pre
make lib-h5md args="-m h5cc" # build with h5cc compiler :pre
The build should produce two files: lib/h5md/libch5md.a and
lib/h5md/Makefile.lammps. The latter is copied from an existing
@ -850,15 +880,15 @@ additional information.
For CPUs:
OPTFLAGS = -xHost -O2 -fp-model fast=2 -no-prec-div -qoverride-limits -qopt-zmm-usage=high
CCFLAGS = -g -qopenmp -DLAMMPS_MEMALIGN=64 -no-offload -fno-alias -ansi-alias -restrict $(OPTFLAGS)
LINKFLAGS = -g -qopenmp $(OPTFLAGS)
CCFLAGS = -g -qopenmp -DLAMMPS_MEMALIGN=64 -no-offload -fno-alias -ansi-alias -restrict $(OPTFLAGS)
LINKFLAGS = -g -qopenmp $(OPTFLAGS)
LIB = -ltbbmalloc :pre
For KNLs:
OPTFLAGS = -xMIC-AVX512 -O2 -fp-model fast=2 -no-prec-div -qoverride-limits
CCFLAGS = -g -qopenmp -DLAMMPS_MEMALIGN=64 -no-offload -fno-alias -ansi-alias -restrict $(OPTFLAGS)
LINKFLAGS = -g -qopenmp $(OPTFLAGS)
CCFLAGS = -g -qopenmp -DLAMMPS_MEMALIGN=64 -no-offload -fno-alias -ansi-alias -restrict $(OPTFLAGS)
LINKFLAGS = -g -qopenmp $(OPTFLAGS)
LIB = -ltbbmalloc :pre
:line

View File

@ -12,6 +12,7 @@ Optional build settings :h3
LAMMPS can be built with several optional settings. Each sub-section
explain how to do this for building both with CMake and make.
"C++11 standard compliance test"_#cxx11 when building all of LAMMPS
"FFT library"_#fft for use with the "kspace_style pppm"_kspace_style.html command
"Size of LAMMPS data types"_#size
"Read or write compressed files"_#gzip
@ -23,6 +24,33 @@ explain how to do this for building both with CMake and make.
:line
C++11 standard compliance test :h4,link(cxx11)
The LAMMPS developers plan to transition to make the C++11 standard the
minimum requirement for compiling LAMMPS. Currently this only applies to
some packages like KOKKOS while the rest aims to be compatible with the C++98
standard. Most currently used compilers are compatible with C++11; some need
to set extra flags to switch. To determine the impact of requiring C++11,
we have added a simple compliance test to the source code, that will cause
the compilation to abort, if C++11 compliance is not available or enabled.
To bypass this check, you need to change a setting in the makefile or
when calling CMake.
[CMake variable]:
-D DISABLE_CXX11_REQUIREMENT=yes :pre
You can set additional C++ compiler flags (beyond those selected by CMake)
through the CMAKE_CXX_FLAGS variable. Example for CentOS 7:
-D CMAKE_CXX_FLAGS="-O3 -g -fopenmp -DNDEBUG -std=c++11" :pre
[Makefile.machine setting]:
LMP_INC = -DLAMMPS_CXX98 :pre
:line
FFT library :h4,link(fft)
When the KSPACE package is included in a LAMMPS build, the

View File

@ -50,11 +50,11 @@ An alphabetic list of all general LAMMPS commands.
"dump"_dump.html,
"dump adios"_dump_adios.html,
"dump image"_dump_image.html,
"dump_modify"_dump_modify.html,
"dump movie"_dump_image.html,
"dump netcdf"_dump_netcdf.html,
"dump netcdf/mpiio"_dump_netcdf.html,
"dump vtk"_dump_vtk.html,
"dump_modify"_dump_modify.html,
"dynamical_matrix"_dynamical_matrix.html,
"echo"_echo.html,
"fix"_fix.html,
@ -68,7 +68,9 @@ An alphabetic list of all general LAMMPS commands.
"improper_style"_improper_style.html,
"include"_include.html,
"jump"_jump.html,
"kim_query"_kim_query.html,
"kim_init"_kim_commands.html,
"kim_interactions"_kim_commands.html,
"kim_query"_kim_commands.html,
"kspace_modify"_kspace_modify.html,
"kspace_style"_kspace_style.html,
"label"_label.html,
@ -122,6 +124,7 @@ An alphabetic list of all general LAMMPS commands.
"thermo"_thermo.html,
"thermo_modify"_thermo_modify.html,
"thermo_style"_thermo_style.html,
"third_order"_third_order.html,
"timer"_timer.html,
"timestep"_timestep.html,
"uncompute"_uncompute.html,

View File

@ -108,7 +108,7 @@ OPT.
"class2 (ko)"_dihedral_class2.html,
"cosine/shift/exp (o)"_dihedral_cosine_shift_exp.html,
"fourier (io)"_dihedral_fourier.html,
"harmonic (io)"_dihedral_harmonic.html,
"harmonic (iko)"_dihedral_harmonic.html,
"helix (o)"_dihedral_helix.html,
"multi/harmonic (o)"_dihedral_multi_harmonic.html,
"nharmonic (o)"_dihedral_nharmonic.html,

View File

@ -66,6 +66,7 @@ KOKKOS, o = USER-OMP, t = OPT.
"group/group"_compute_group_group.html,
"gyration"_compute_gyration.html,
"gyration/chunk"_compute_gyration_chunk.html,
"gyration/shape"_compute_gyration_shape.html,
"heat/flux"_compute_heat_flux.html,
"heat/flux/tally"_compute_tally.html,
"hexorder/atom"_compute_hexorder_atom.html,
@ -80,6 +81,7 @@ KOKKOS, o = USER-OMP, t = OPT.
"meso/e/atom"_compute_meso_e_atom.html,
"meso/rho/atom"_compute_meso_rho_atom.html,
"meso/t/atom"_compute_meso_t_atom.html,
"momentum"_compute_momentum.html,
"msd"_compute_msd.html,
"msd/chunk"_compute_msd_chunk.html,
"msd/nongauss"_compute_msd_nongauss.html,

View File

@ -232,6 +232,7 @@ OPT.
"wall/lj1043"_fix_wall.html,
"wall/lj126"_fix_wall.html,
"wall/lj93 (k)"_fix_wall.html,
"wall/morse"_fix_wall.html,
"wall/piston"_fix_wall_piston.html,
"wall/reflect (k)"_fix_wall_reflect.html,
"wall/region"_fix_wall_region.html,

View File

@ -65,6 +65,7 @@ OPT.
"colloid (go)"_pair_colloid.html,
"comb (o)"_pair_comb.html,
"comb3"_pair_comb.html,
"cosine/squared"_pair_cosine_squared.html,
"coul/cut (gko)"_pair_coul.html,
"coul/cut/soft (o)"_pair_fep_soft.html,
"coul/debye (gko)"_pair_coul.html,
@ -165,6 +166,7 @@ OPT.
"lj/smooth/linear (o)"_pair_lj_smooth_linear.html,
"lj/switch3/coulgauss/long"_pair_lj_switch3_coulgauss.html,
"lj96/cut (go)"_pair_lj96.html,
"local/density"_pair_local_density.html,
"lubricate (o)"_pair_lubricate.html,
"lubricate/poly (o)"_pair_lubricate.html,
"lubricateU"_pair_lubricateU.html,
@ -222,6 +224,8 @@ OPT.
"sph/rhosum"_pair_sph_rhosum.html,
"sph/taitwater"_pair_sph_taitwater.html,
"sph/taitwater/morris"_pair_sph_taitwater_morris.html,
"spin/dipole/cut"_pair_spin_dipole.html,
"spin/dipole/long"_pair_spin_dipole.html,
"spin/dmi"_pair_spin_dmi.html,
"spin/exchange"_pair_spin_exchange.html,
"spin/magelec"_pair_spin_magelec.html,

View File

@ -0,0 +1,15 @@
\documentclass[12pt]{article}
\pagestyle{empty}
\begin{document}
$$
E_{a} = K_2\left(\theta - \theta_0\right)^2 + K_3\left(\theta - \theta_0\right)^3 + K_4\left(\theta - \theta_0\right)^4 + K_5\left(\theta - \theta_0\right)^5 + K_6\left(\theta - \theta_0\right)^6
$$
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:

View File

@ -0,0 +1,15 @@
\documentclass[12pt]{article}
\pagestyle{empty}
\begin{document}
$$
E = K \left[ 1 + \cos(n\theta - \theta_0)\right]
$$
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

View File

@ -0,0 +1,13 @@
\documentclass[12pt]{article}
\pagestyle{empty}
\begin{document}
\begin{eqnarray*}
c = l_z - 0.5(l_y+l_x) \\
b = l_y - l_x \\
k = \frac{3}{2} \frac{l_x^2+l_y^2+l_z^2}{(l_x+l_y+l_z)^2} - \frac{1}{2}
\end{eqnarray*}
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -0,0 +1,9 @@
\documentstyle[12pt]{article}
\pagestyle{empty}
\begin{document}
\begin{eqnarray*}
k = AT^{n}e^{\frac{-E_{a}}{k_{B}T}}
\end{eqnarray*}
\end{document}

View File

@ -0,0 +1,15 @@
\documentclass[12pt]{article}
\pagestyle{empty}
\begin{document}
$$
E = K \left(\theta - \theta_0\right)^2
$$
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:

BIN
doc/src/Eqs/norm_inf.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

15
doc/src/Eqs/norm_inf.tex Normal file
View File

@ -0,0 +1,15 @@
\documentclass[preview]{standalone}
\usepackage{varwidth}
\usepackage[utf8x]{inputenc}
\usepackage{amsmath, amssymb, graphics, setspace}
\begin{document}
\begin{varwidth}{50in}
\begin{equation}
|| \vec{F} ||_{inf}
= {\rm max}\left(|F_1^1|, |F_1^2|, |F_1^3| \cdots,
|F_N^1|, |F_N^2|, |F_N^3|\right)
\nonumber
\end{equation}
\end{varwidth}
\end{document}

BIN
doc/src/Eqs/norm_max.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

15
doc/src/Eqs/norm_max.tex Normal file
View File

@ -0,0 +1,15 @@
\documentclass[preview]{standalone}
\usepackage{varwidth}
\usepackage[utf8x]{inputenc}
\usepackage{amsmath, amssymb, graphics, setspace}
\begin{document}
\begin{varwidth}{50in}
\begin{equation}
% \left| \left| \vec{F} \right| \right|_2
|| \vec{F} ||_{max}
= {\rm max}\left(||\vec{F}_1||, \cdots, ||\vec{F}_N||\right)
\nonumber
\end{equation}
\end{varwidth}
\end{document}

BIN
doc/src/Eqs/norm_two.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

15
doc/src/Eqs/norm_two.tex Normal file
View File

@ -0,0 +1,15 @@
\documentclass[preview]{standalone}
\usepackage{varwidth}
\usepackage[utf8x]{inputenc}
\usepackage{amsmath, amssymb, graphics, setspace}
\begin{document}
\begin{varwidth}{50in}
\begin{equation}
% \left| \left| \vec{F} \right| \right|_2
|| \vec{F} ||_{2}
= \sqrt{\vec{F}_1+ \cdots + \vec{F}_N}
\nonumber
\end{equation}
\end{varwidth}
\end{document}

18
doc/src/Eqs/pair_agni.tex Normal file
View File

@ -0,0 +1,18 @@
\documentclass[12pt]{article}
\pagestyle{empty}
\begin{document}
\begin{eqnarray*}
F_i^u & = & \sum_t^{N_t}\alpha_t \cdot \exp\left[-\frac{\left(d_{i,t}^u\right)^2}{2l^2}\right] \\
d_{i,t}^u & = & \left|\left| V_i^u(\eta) - V_t^u(\eta) \right|\right| \\
V_i^u(\eta) & = & \sum_{j \neq i}\frac{r^u_{ij}}{r_{ij}} \cdot e^{-\left(\frac{r_{ij}}{\eta} \right)^2} \cdot f_d\left(r_{ij}\right) \\
f_d\left(r_{ij}\right) & = & \frac{1}{2} \left[\cos\left(\frac{\pi r_{ij}}{R_c}\right) + 1 \right]
\end{eqnarray*}
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:

View File

@ -1,6 +1,7 @@
\documentclass[12pt]{article}
\begin{document}
\pagestyle{empty}
\begin{eqnarray*}
E = A e^{-\kappa r} - \frac{C}{r^6} \cdot \frac{1}{1 + D r^{14}} \qquad r < r_c \\

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

View File

@ -0,0 +1,16 @@
\documentclass[12pt]{article}
\usepackage{amsmath}
\begin{document}
\begin{align*}
E =
\begin{cases}
-\epsilon& \quad r < \sigma \\
-\epsilon\cos\left(\frac{\pi\left(r - \sigma\right)}{2\left(r_c - \sigma\right)}\right)&\quad \sigma \leq r < r_c \\
0& \quad r \geq r_c
\end{cases}
\end{align*}
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

@ -0,0 +1,11 @@
\documentstyle[12pt]{article}
\begin{document}
$$
E = \epsilon \left[ \left(\frac{\sigma}{r}\right)^{12} -
2\left(\frac{\sigma}{r}\right)^6 + 1\right]
, \quad r < \sigma
$$
\end{document}

View File

@ -0,0 +1,15 @@
\documentclass[12pt]{article}
\pagestyle{empty}
\begin{document}
$$
E = \frac{C_{q_i q_j}}{\epsilon r_{ij}}\,\, \textrm{erf}\left(\alpha_{ij} r_{ij}\right)\quad\quad\quad r < r_c
$$
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 KiB

After

Width:  |  Height:  |  Size: 49 KiB

View File

@ -27,7 +27,7 @@
V_{ij} & = & e^{-\lambda (r_{ij} -z_0)} \left [ C + f(\rho_{ij}) + f(\rho_{ji}) - A \left ( \frac{r_{ij}}{z_0}\right )^{-6} \right ] \\
\rho_{ij}^2 & = & r_{ij}^2 - ({\bf r}_{ij}\cdot {\bf n}_{i})^2 \\[15pt]
\rho_{ji}^2 & = & r_{ij}^2 - ({\bf r}_{ij}\cdot {\bf n}_{j})^2 \\[15pt]
f(\rho) & = & e^{-(\rho/\delta)^2} \sum_{n=0}^2 C_{2n} { \rho/\delta }^{2n}
f(\rho) & = & e^{-(\rho/\delta)^2} \sum_{n=0}^2 C_{2n} { (\rho/\delta) }^{2n}
\end{eqnarray*}
\endgroup
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -0,0 +1,11 @@
\documentclass[12pt]{article}
\begin{document}
$$
U_{LD} = \sum_i F(\rho_i)
$$
\end{document}
~

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

@ -0,0 +1,9 @@
\documentclass[12pt]{article}
\begin{document}
$$
U_{LD} = \sum_k U_{LD}^{(k)} = \sum_i \left[ \sum_k a_\alpha^{(k)} F^{(k)} \left(\rho_i^{(k)}\right) \right]
$$
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@ -0,0 +1,9 @@
\documentclass[12pt]{article}
\begin{document}
$$
U_{LD} = \sum_i a_\alpha F(\rho_i)
$$
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

View File

@ -0,0 +1,16 @@
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\begin{document}
\[
\varphi(r) =
\begin{cases}
1 & r \le R_1 \\
c_0 + c_2r^2 + c_4r^4 + c_6r^6 & r \in (R_1, R_2) \\
0 & r \ge R_2
\end{cases}
\]
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -0,0 +1,10 @@
\documentclass[12pt]{article}
\begin{document}
$$
\rho_i = \sum_{j \neq i} \varphi(r_{ij})
$$
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -0,0 +1,10 @@
\documentstyle[12pt]{article}
\begin{document}
$$
\rho_i^{(k)} = \sum_j b_\beta^{(k)} \varphi^{(k)} (r_{ij})
$$
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@ -0,0 +1,10 @@
\documentclass[12pt]{article}
\begin{document}
$$
\rho_i = \sum_{j \neq i} b_\beta \varphi(r_{ij})
$$
\end{document}

View File

@ -2438,6 +2438,14 @@ Self-explanatory. :dd
Self-explanatory. :dd
{Compute gyration ID does not exist for compute gyration/shape} :dt
Self-explanatory. Provide a valid compute ID. :dd
{Compute gyration/shape compute ID does not point to a gyration compute} :dt
Self-explanatory. Provide and ID of a compute gyration command. :dd
{Compute ID for compute reduce does not exist} :dt
Self-explanatory. :dd
@ -4783,6 +4791,22 @@ Self-explanatory. :dd
This fix option cannot be used with point particles. :dd
{Fix langevin gjf and respa are not compatible} :dt
Self-explanatory. :dd
{Fix langevin gjf cannot have period equal to dt/2} :dt
If the period is equal to dt/2 then division by zero will happen. :dd
{Fix langevin gjf should come before fix nve} :dt
Self-explanatory. :dd
{Fix langevin gjf with tbias is not yet implemented with kokkos} :dt
This option is not yet available. :dd
{Fix langevin omega is not yet implemented with kokkos} :dt
This option is not yet available. :dd
@ -5777,6 +5801,16 @@ definitions. :dd
The data file header lists improper but no improper types. :dd
{Incompatible KIM Simulator Model} :dt
The requested KIM Simulator Model was defined for a different MD code
and thus is not compatible with LAMMPS. :dd
{Incompatible units for KIM Simulator Model} :dt
The selected unit style is not compatible with the requested KIM
Simulator Model. :dd
{Incomplete use of variables in create_atoms command} :dt
The var and set options must be used together. :dd
@ -5890,6 +5924,11 @@ The element names in the ADP file do not match those requested. :dd
The element names in the EAM file do not match those requested. :dd
{Incorrect format of ... section in data file} :dt
Number or type of values per line in the given section of the data file
is not consistent with the requirements for this section. :dd
{Incorrect format in COMB potential file} :dt
Incorrect number of words per line in the potential file. :dd
@ -7042,6 +7081,12 @@ The atom style defined does not have this attribute. :dd
The atom style defined does not have these attributes. :dd
{KIM Simulator Model has no Model definition} :dt
There is no model definition (key: model-defn) in the KIM Simulator
Model. Please contact the OpenKIM database maintainers to verify
and potentially correct this. :dd
{KOKKOS package does not yet support comm_style tiled} :dt
Self-explanatory. :dd
@ -7546,6 +7591,18 @@ Self-explanatory. :dd
Self-explanatory. :dd
{Must use 'kim_style init' command before simulation box is defined} :dt
Self-explanatory. :dd
{Must use 'kim_style define' command after simulation box is defined} :dt
Self-explanatory. :dd
{Must use 'kim_style init' command before 'kim_style define'} :dt
Self-explanatory. :dd
{Must use 'kspace_modify pressure/scalar no' for rRESPA with kspace_style MSM} :dt
The kspace scalar pressure option cannot (yet) be used with rRESPA. :dd
@ -9489,6 +9546,11 @@ See the "read_data extra/special/per/atom" command
for info on how to leave space in the special bonds
list to allow for additional bonds to be formed. :dd
{Species XXX is not supported by this KIM Simulator Model} :dt
The kim_style define command was referencing a species that is not
present in the requested KIM Simulator Model. :dd
{Specified processors != physical processors} :dt
The 3d grid of processors defined by the processors command does not

View File

@ -47,6 +47,11 @@ too far away. :dd
Self-explanatory. :dd
{Angles are defined but no angle style is set} :dt
The topology contains angles, but there are no angle forces computed
since there was no angle_style command. :dd
{Atom style in data file differs from currently defined atom style} :dt
Self-explanatory. :dd
@ -73,6 +78,11 @@ short or the bond has blown apart and an atom is too far away. :dd
Self-explanatory. :dd
{Bonds are defined but no bond style is set} :dt
The topology contains bonds, but there are no bond forces computed
since there was no bond_style command. :dd
{Bond/angle/dihedral extent > half of periodic box length} :dt
This is a restriction because LAMMPS can be confused about which image
@ -129,6 +139,16 @@ Self-explanatory. :dd
Self-explanatory. :dd
{Communication cutoff is 0.0. No ghost atoms will be generated. Atoms may get lost} :dt
The communication cutoff defaults to the maximum of what is inferred from
pair and bond styles (will be zero, if none are defined) and what is specified
via "comm_modify cutoff"_comm_modify.html (defaults to 0.0). If this results
to 0.0, no ghost atoms will be generated and LAMMPS may lose atoms or use
incorrect periodic images of atoms in interaction lists. To avoid, either use
"pair style zero"_pair_zero.html with a suitable cutoff or use "comm_modify
cutoff"_comm_modify.html. :dd
{Communication cutoff is too small for SNAP micro load balancing, increased to %lf} :dt
Self-explanatory. :dd
@ -176,6 +196,11 @@ to check your simulation geometry. :dd
Self-explanatory. :dd
{Dihedrals are defined but no dihedral style is set} :dt
The topology contains dihedrals, but there are no dihedral forces computed
since there was no dihedral_style command. :dd
{Dump dcd/xtc timestamp may be wrong with fix dt/reset} :dt
If the fix changes the timestep, the dump dcd file will not
@ -238,6 +263,10 @@ included one or more of the following: kspace, triclinic, a hybrid
pair style, an eam pair style, or no "single" function for the pair
style. :dd
{Fix langevin gjf using random gaussians is not implemented with kokkos} :dt
This will most likely cause errors in kinetic fluctuations.
{Fix property/atom mol or charge w/out ghost communication} :dt
A model typically needs these properties defined for ghost atoms. :dd
@ -338,6 +367,11 @@ to check your simulation geometry. :dd
Self-explanatory. :dd
{Impropers are defined but no improper style is set} :dt
The topology contains impropers, but there are no improper forces computed
since there was no improper_style command. :dd
{Inconsistent image flags} :dt
The image flags for a pair on bonded atoms appear to be inconsistent.
@ -356,6 +390,11 @@ have fully consistent image flags, since some bonds will cross
periodic boundaries and connect two atoms with the same image
flag. :dd
{Increasing communication cutoff for GPU style} :dt
The pair style has increased the communication cutoff to be consistent with
the communication cutoff requirements for this pair style when run on the GPU. :dd
{KIM Model does not provide 'energy'; Potential energy will be zero} :dt
Self-explanatory. :dd
@ -393,6 +432,30 @@ This library function cannot be used if atom IDs are not defined or
are not consecutively numbered, or if no atom map is defined. See the
atom_modify command for details about atom maps. :dd
{Likewise 1-2 special neighbor interactions != 1.0} :dt
The topology contains bonds, but there is no bond style defined
and a 1-2 special neighbor scaling factor was not 1.0. This
means that pair style interactions may have scaled or missing
pairs in the neighbor list in expectation of interactions for
those pairs being computed from the bond style. :dd
{Likewise 1-3 special neighbor interactions != 1.0} :dt
The topology contains angles, but there is no angle style defined
and a 1-3 special neighbor scaling factor was not 1.0. This
means that pair style interactions may have scaled or missing
pairs in the neighbor list in expectation of interactions for
those pairs being computed from the angle style. :dd
{Likewise 1-4 special neighbor interactions != 1.0} :dt
The topology contains dihedrals, but there is no dihedral style defined
and a 1-4 special neighbor scaling factor was not 1.0. This
means that pair style interactions may have scaled or missing
pairs in the neighbor list in expectation of interactions for
those pairs being computed from the dihedral style. :dd
{Lost atoms via change_box: original %ld current %ld} :dt
The command options you have used caused atoms to be lost. :dd

View File

@ -73,7 +73,7 @@ granregion: use of fix wall/region/gran as boundary on granular particles
hugoniostat: Hugoniostat shock dynamics
hyper: global and local hyperdynamics of diffusion on Pt surface
indent: spherical indenter into a 2d solid
kim: use of potentials in Knowledge Base for Interatomic Models (KIM)
kim: use of potentials from the "OpenKIM Repository"_openkim
latte: examples for using fix latte for DFTB via the LATTE library
meam: MEAM test for SiC and shear (same as shear examples)
melt: rapid melt of 3d LJ system
@ -141,6 +141,7 @@ HEAT: compute thermal conductivity for LJ and water via fix ehex
KAPPA: compute thermal conductivity via several methods
MC: using LAMMPS in a Monte Carlo mode to relax the energy of a system
SPIN: examples for features of the SPIN package
UNITS: examples that run the same simulation in lj, real, metal units
USER: examples for USER packages and USER-contributed commands
VISCOSITY: compute viscosity via several methods :tb(s=:)
@ -153,3 +154,5 @@ illustrate how to use the command(s) provided in that package. Many
of the sub-directories have their own README files which give further
instructions. See the "Packages_details"_Packages_details.html doc
page for more info on specific USER packages.
:link(openkim,https://openkim.org)

View File

@ -136,7 +136,9 @@ The "compute chunk/spread/atom"_compute_chunk_spread_atom.html command
spreads per-chunk values to each atom in the chunk, producing per-atom
values as its output. This can be useful for outputting per-chunk
values to a per-atom "dump file"_dump.html. Or for using an atom's
associated chunk value in an "atom-style variable"_variable.html.
associated chunk value in an "atom-style variable"_variable.html. Or
as input to the "fix ave/chunk"_fix_ave_chunk.html command to
spatially average per-chunk values calculated by a per-chunk compute.
The "compute reduce/chunk"_compute_reduce_chunk.html command reduces a
peratom value across the atoms in each chunk to produce a value per
@ -184,12 +186,20 @@ compute cc1 all chunk/atom c_cluster compress yes
compute size all property/chunk cc1 count
fix 1 all ave/histo 100 1 100 0 20 20 c_size mode vector ave running beyond ignore file tmp.histo :pre
(6) An example of using a per-chunk value to apply per-atom forces to
(6) An example for using a per-chunk value to apply per-atom forces to
compress individual polymer chains (molecules) in a mixture, is
explained on the "compute
chunk/spread/atom"_compute_chunk_spread_atom.html command doc page.
(7) An example of using one set of per-chunk values for molecule
(7) An example for using one set of per-chunk values for molecule
chunks, to create a 2nd set of micelle-scale chunks (clustered
molecules, due to hydrophobicity), is explained on the "compute
chunk/reduce"_compute_reduce_chunk.html command doc page.
(8) An example for using one set of per-chunk values (dipole moment
vectors) for molecule chunks, spreading the values to each atom in
each chunk, then defining a second set of chunks as spatial bins, and
using the "fix ave/chunk"_fix_ave_chunk.html command to calculate an
average dipole moment vector for each bin. This example is explained
on the "compute chunk/spread/atom"_compute_chunk_spread_atom.html
command doc page.

View File

@ -43,19 +43,19 @@ langevin/spin"_fix_langevin_spin.html. It allows to either dissipate
the thermal energy of the Langevin thermostat, or to perform a
relaxation of the magnetic configuration toward an equilibrium state.
The command "fix setforce/spin"_fix_setforce.html allows to set the
components of the magnetic precession vectors (while erasing and
replacing the previously computed magnetic precession vectors on
the atom).
This command can be used to freeze the magnetic moment of certain
atoms in the simulation by zeroing their precession vector.
The command "fix setforce/spin"_fix_setforce.html allows to set the
components of the magnetic precession vectors (while erasing and
replacing the previously computed magnetic precession vectors on
the atom).
This command can be used to freeze the magnetic moment of certain
atoms in the simulation by zeroing their precession vector.
The command "fix nve/spin"_fix_nve_spin.html can be used to
perform a symplectic integration of the combined dynamics of spins
perform a symplectic integration of the combined dynamics of spins
and atomic motions.
The minimization style "min/spin"_min_spin.html can be applied
to the spins to perform a minimization of the spin configuration.
to the spins to perform a minimization of the spin configuration.
All the computed magnetic properties can be output by two main

View File

@ -83,7 +83,7 @@ variable d equal $p*$s # dump interval :pre
# convert from LAMMPS real units to SI :pre
variable kB equal 1.3806504e-23 # \[J/K/] Boltzmann
variable kB equal 1.3806504e-23 # \[J/K\] Boltzmann
variable atm2Pa equal 101325.0
variable A2m equal 1.0e-10
variable fs2s equal 1.0e-15

View File

@ -59,14 +59,15 @@ granular particles; all the other commands create smooth walls.
"fix wall/lj126"_fix_wall.html - flat walls, with Lennard-Jones 12/6 potential
"fix wall/colloid"_fix_wall.html - flat walls, with "pair_style colloid"_pair_colloid.html potential
"fix wall/harmonic"_fix_wall.html - flat walls, with repulsive harmonic spring potential
"fix wall/morse"_fix_wall.html - flat walls, with Morse potential
"fix wall/region"_fix_wall_region.html - use region surface as wall
"fix wall/gran"_fix_wall_gran.html - flat or curved walls with "pair_style granular"_pair_gran.html potential :ul
The {lj93}, {lj126}, {colloid}, and {harmonic} styles all allow the
flat walls to move with a constant velocity, or oscillate in time.
The "fix wall/region"_fix_wall_region.html command offers the most
generality, since the region surface is treated as a wall, and the
geometry of the region can be a simple primitive volume (e.g. a
The {lj93}, {lj126}, {colloid}, {harmonic}, and {morse} styles all
allow the flat walls to move with a constant velocity, or oscillate in
time. The "fix wall/region"_fix_wall_region.html command offers the
most generality, since the region surface is treated as a wall, and
the geometry of the region can be a simple primitive volume (e.g. a
sphere, or cube, or plane), or a complex volume made from the union
and intersection of primitive volumes. "Regions"_region.html can also
specify a volume "interior" or "exterior" to the specified primitive

View File

@ -15,7 +15,8 @@ Binaries are available for different versions of Linux:
"Pre-built Fedora Linux executables"_#fedora
"Pre-built EPEL Linux executables (RHEL, CentOS)"_#epel
"Pre-built OpenSuse Linux executables"_#opensuse
"Gentoo Linux executable"_#gentoo :all(b)
"Gentoo Linux executable"_#gentoo
"Arch Linux build-script"_#arch :all(b)
:line
@ -168,3 +169,31 @@ for details.
Thanks to Nicolas Bock and Christoph Junghans (LANL) for setting up
this Gentoo capability.
:line
Archlinux build-script :h4,link(arch)
LAMMPS is available via Arch's unofficial Arch User repository (AUR).
There are three scripts available, named lammps, lammps-beta and lammps-git.
They respectively package the stable, patch and git releases.
To install, you will need to have the git package installed. You may use
any of the above names in-place of lammps.
$ git clone https://aur.archlinux.org/lammps.git :pre
$ cd lammps :pre
$ makepkg -s :pre
# makepkg -i :pre
To update, you may repeat the above, or change into the cloned directory,
and execute the following, after which, if there are any changes, you may
use makepkg as above.
$ git pull :pre
Alternatively, you may use an AUR helper to install these packages.
Note that the AUR provides build-scripts that download the source and
the build the package on your machine.

View File

@ -10,47 +10,34 @@ Documentation"_ld - "LAMMPS Commands"_lc :c
Download an executable for Mac :h3
LAMMPS can be downloaded, built, and configured for OS X on a Mac with
"Homebrew"_homebrew. Only four of the LAMMPS packages are unavailable
at this time because of additional needs not yet met: KIM, GPU,
USER-INTEL, USER-ATC.
"Homebrew"_homebrew. The following LAMMPS packages are unavailable at this
time because of additional needs not yet met: GPU, KOKKOS, LATTE, MSCG,
MESSAGE, MPIIO POEMS VORONOI.
After installing Homebrew, you can install LAMMPS on your system with
the following commands:
% brew tap homebrew/science
% brew install lammps # serial version
% brew install lammps --with-mpi # mpi support :pre
% brew install lammps :pre
This will install the executable "lammps", a python module named
"lammps", and additional resources with all the standard packages. To
get the location of the additional resources type this:
% brew info lammps :pre
This command also tells you additional installation options available.
The user-packages are available as options, just install them like
this example for the USER-OMP package:
% brew install lammps --enable-user-omp :pre
It is usually best to install LAMMPS with the most up to date source
files, which can be done with the "--HEAD" option:
% brew install lammps --HEAD :pre
To re-install the LAMMPS HEAD, run this command occasionally (make sure
to use the desired options).
% brew install --force lammps --HEAD $\{options\} :pre
This will install the executables "lammps_serial" and "lammps_mpi", as well as
the LAMMPS "doc", "potentials", "tools", "bench", and "examples" directories.
Once LAMMPS is installed, you can test the installation with the
Lennard-Jones benchmark file:
% brew test lammps -v :pre
The LAMMPS binary is built with the "KIM package"_Build_extras#kim which
results in Homebrew also installing the `kim-api` binaries when LAMMPS is
installed. In order to use potentials from "openkim.org"_openkim, you can
install the `openkim-models` package
% brew install openkim-models :pre
If you have problems with the installation you can post issues to
"this link"_homebrew.
Thanks to Derek Thomas (derekt at cello.t.u-tokyo.ac.jp) for setting
up the Homebrew capability.
:link(homebrew,https://github.com/Homebrew/homebrew-science/issues)
:link(homebrew,https://github.com/Homebrew/homebrew-core/issues)
:link(openkim,https://openkim.org)

View File

@ -92,8 +92,8 @@ commands)
implicit solvent potentials: hydrodynamic lubrication, Debye
force-field compatibility with common CHARMM, AMBER, DREIDING, \
OPLS, GROMACS, COMPASS options
access to "KIM archive"_http://openkim.org of potentials via \
"pair kim"_pair_kim.html
access to the "OpenKIM Repository"_http://openkim.org of potentials via \
"kim_init, kim_interactions, and kim_query"_kim_commands.html commands
hybrid potentials: multiple pair, bond, angle, dihedral, improper \
potentials can be used in one simulation
overlaid potentials: superposition of multiple pair potentials :ul

View File

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -1,7 +1,7 @@
<!-- HTML_ONLY -->
<HEAD>
<TITLE>LAMMPS Users Manual</TITLE>
<META NAME="docnumber" CONTENT="18 Jun 2019 version">
<META NAME="docnumber" CONTENT="30 Oct 2019 version">
<META NAME="author" CONTENT="http://lammps.sandia.gov - Sandia National Laboratories">
<META NAME="copyright" CONTENT="Copyright (2003) Sandia Corporation. This software and manual is distributed under the GNU General Public License.">
</HEAD>
@ -21,7 +21,7 @@
:line
LAMMPS Documentation :c,h1
18 Jun 2019 version :c,h2
30 Oct 2019 version :c,h2
"What is a LAMMPS version?"_Manual_version.html

Binary file not shown.

Binary file not shown.

View File

@ -48,8 +48,8 @@ $$ \mathbf{G}_{12} = \mathbf{A}_1^T \mathbf{S}_1^2 \mathbf{A}_1 +
\mathbf{G}_2. $$
Let the relative energy matrices $\mathbf{E}_i = \mbox{diag}
(\epsilon_{ia}, \epsilon_{ib}, \epsilon_{ic})$ be given by
the relative well depths (dimensionless energy scales
(\epsilon_{ia}^{-1/\mu}, \epsilon_{ib}^{-1/\mu}, \epsilon_{ic}^{-1/\mu})$
be given by the relative well depths (dimensionless energy scales
inversely proportional to the well-depths of the respective
orthogonal configurations of the interacting molecules). The
$\chi$ orientation-dependent energy based on the user-specified
@ -62,8 +62,8 @@ $$ \hat{\mathbf{r}}_{12} = { \mathbf{r}_{12} } / |\mathbf{r}_{12}|, $$
and
$$ \mathbf{B}_{12} = \mathbf{A}_1^T \mathbf{E}_1^2 \mathbf{A}_1 +
\mathbf{A}_2^T \mathbf{E}_2^2 \mathbf{A}_2 = \mathbf{B}_1 +
$$ \mathbf{B}_{12} = \mathbf{A}_1^T \mathbf{E}_1 \mathbf{A}_1 +
\mathbf{A}_2^T \mathbf{E}_2 \mathbf{A}_2 = \mathbf{B}_1 +
\mathbf{B}_2. $$
Here, we use the distance of closest approach approximation given by the
@ -131,7 +131,7 @@ and
$$ \frac{ \partial \chi_{12} }{ \partial \mathbf{q}_i } = 4.0 \cdot
r^{-2} \cdot \mathbf{A}_i (- \mathbf{\iota}^T \cdot \mathbf{B}_i
\times \mathbf{\iota} ). $$
\times \mathbf{\iota} ) \cdot \mu \cdot \chi_{12}^{ ( \mu -1 ) / \mu}. $$
For the derivative of the $\eta$ term, we were unable to find a matrix
expression due to the determinant. Let $a_{mi}$ be the mth row of the

View File

@ -338,22 +338,37 @@ KIM package :link(PKG-KIM),h4
[Contents:]
A "pair_style kim"_pair_kim.html command which is a wrapper on the
Knowledge Base for Interatomic Models (KIM) repository of interatomic
potentials, enabling any of them to be used in LAMMPS simulations.
Also a "kim_query"_kim_query.html command, which allows to query
the OpenKIM database for stored properties.
This package contains a set of commands that serve as a wrapper on the
"Open Knowledgebase of Interatomic Models (OpenKIM)"_https://openkim.org
repository of interatomic models (IMs)
enabling compatible ones to be used in LAMMPS simulations.
This includes "kim_init and kim_interactions"_kim_commands.html
commands to select, initialize and instantiate the IM, and a
"kim_query"_kim_commands.html command to perform web queries
for material property predictions of OpenKIM IMs.
Support for KIM IMs that conform to the
"KIM Application Programming Interface (API)"_https://openkim.org/kim-api/
is provided by the "pair_style kim"_pair_kim.html command.
To use this package you must have the KIM library available on your
system.
NOTE: The command {pair_style kim} is called by {kim_interactions} and
is not recommended to be directly used in input scripts.
To use this package you must have the KIM API library available on your
system. The KIM API is available for download on the
"OpenKIM website"_https://openkim.org/kim-api/.
When installing LAMMPS from binary, the kim-api package
is a dependency that is automatically downloaded and installed.
Information about the KIM project can be found at its website:
https://openkim.org. The KIM project is led by Ellad Tadmor and Ryan
Elliott (U Minnesota).
"https://openkim.org"_https://openkim.org.
The KIM project is led by Ellad Tadmor and Ryan Elliott (U Minnesota)
and is funded by the "National Science Foundation"_https://www.nsf.gov/.
[Authors:] Ryan Elliott (U Minnesota) is the main developer for the KIM
API which the "pair_style kim"_pair_kim.html command uses. He
developed the pair style.
API and the {pair_style kim} command. Axel Kohlmeyer (Temple U) and
Ellad Tadmor (U Minnesota) contributed to the "kim_commands"_kim_commands.html
interface in close collaboration with Ryan Elliott.
[Install:]
@ -363,10 +378,11 @@ extras"_Build_extras.html doc page.
[Supporting info:]
"kim_commands"_kim_commands.html
"pair_style kim"_pair_kim.html
src/KIM: filenames -> commands
src/KIM/README
lib/kim/README
"pair_style kim"_pair_kim.html
examples/kim :ul
:line
@ -911,6 +927,8 @@ the usual manner via MD. Various pair, fix, and compute styles.
src/SPIN: filenames -> commands
"Howto spins"_Howto_spins.html
"pair_style spin/dipole/cut"_pair_spin_dipole.html
"pair_style spin/dipole/long"_pair_spin_dipole.html
"pair_style spin/dmi"_pair_spin_dmi.html
"pair_style spin/exchange"_pair_spin_exchange.html
"pair_style spin/magelec"_pair_spin_magelec.html
@ -982,9 +1000,9 @@ USER-ADIOS package :link(PKG-USER-ADIOS),h4
[Contents:]
ADIOS is a high-performance I/O library. This package implements the
ADIOS is a high-performance I/O library. This package implements the
dump "atom/adios" and dump "custom/adios" commands to write data using
the ADIOS library.
the ADIOS library.
[Authors:] Norbert Podhorszki (ORNL) from the ADIOS developer team.
@ -1173,7 +1191,7 @@ USER-PLUMED package :link(PKG-USER-PLUMED),h4
The fix plumed command allows you to use the PLUMED free energy plugin
for molecular dynamics to analyze and bias your LAMMPS trajectory on
the fly. The PLUMED library is called from within the LAMMPS input
script by using the "fix plumed _fix_plumed.html command.
script by using the "fix plumed"_fix_plumed.html command.
[Authors:] The "PLUMED library"_#PLUMED is written and maintained by
Massimilliano Bonomi, Giovanni Bussi, Carlo Camiloni and Gareth
@ -1728,11 +1746,12 @@ USER-PHONON package :link(PKG-USER-PHONON),h4
A "fix phonon"_fix_phonon.html command that calculates dynamical
matrices, which can then be used to compute phonon dispersion
relations, directly from molecular dynamics simulations.
And a "dynamical_matrix" command to compute the dynamical matrix
from finite differences.
And a "dynamical_matrix"_dynamical_matrix.html as well as a
"third_order"_third_order.html command to compute the dynamical matrix
and third order tensor from finite differences.
[Authors:] Ling-Ti Kong (Shanghai Jiao Tong University) for "fix phonon"
and Charlie Sievers (UC Davis) for "dynamical_matrix"
and Charlie Sievers (UC Davis) for "dynamical_matrix" and "third_order"
[Supporting info:]
@ -1741,6 +1760,7 @@ src/USER-PHONON: filenames -> commands
src/USER-PHONON/README
"fix phonon"_fix_phonon.html
"dynamical_matrix"_dynamical_matrix.html
"third_order"_third_order.html
examples/USER/phonon :ul
:line

View File

@ -126,9 +126,10 @@ are intended for computational work like running LAMMPS. By default
Ng = 1 and Ns is not set.
Depending on which flavor of MPI you are running, LAMMPS will look for
one of these 3 environment variables
one of these 4 environment variables
SLURM_LOCALID (various MPI variants compiled with SLURM support)
MPT_LRANK (HPE MPI)
MV2_COMM_WORLD_LOCAL_RANK (Mvapich)
OMPI_COMM_WORLD_LOCAL_RANK (OpenMPI) :pre

View File

@ -46,16 +46,15 @@ software version 7.5 or later must be installed on your system. See
the discussion for the "GPU package"_Speed_gpu.html for details of how
to check and do this.
NOTE: Kokkos with CUDA currently implicitly assumes that the MPI
library is CUDA-aware and has support for GPU-direct. This is not
always the case, especially when using pre-compiled MPI libraries
provided by a Linux distribution. This is not a problem when using
only a single GPU and a single MPI rank on a desktop. When running
with multiple MPI ranks, you may see segmentation faults without
GPU-direct support. These can be avoided by adding the flags "-pk
kokkos gpu/direct off"_Run_options.html to the LAMMPS command line or
by using the command "package kokkos gpu/direct off"_package.html in
the input file.
NOTE: Kokkos with CUDA currently implicitly assumes that the MPI library
is CUDA-aware. This is not always the case, especially when using
pre-compiled MPI libraries provided by a Linux distribution. This is not
a problem when using only a single GPU with a single MPI rank. When
running with multiple MPI ranks, you may see segmentation faults without
CUDA-aware MPI support. These can be avoided by adding the flags "-pk
kokkos cuda/aware off"_Run_options.html to the LAMMPS command line or by
using the command "package kokkos cuda/aware off"_package.html in the
input file.
[Building LAMMPS with the KOKKOS package:]
@ -111,10 +110,10 @@ Makefile.kokkos_mpi_only) will give better performance than the OpenMP
back end (i.e. Makefile.kokkos_omp) because some of the overhead to make
the code thread-safe is removed.
NOTE: Use the "-pk kokkos" "command-line switch"_Run_options.html to
change the default "package kokkos"_package.html options. See its doc
page for details and default settings. Experimenting with its options
can provide a speed-up for specific calculations. For example:
NOTE: Use the "-pk kokkos" "command-line switch"_Run_options.html to
change the default "package kokkos"_package.html options. See its doc
page for details and default settings. Experimenting with its options
can provide a speed-up for specific calculations. For example:
mpirun -np 16 lmp_kokkos_mpi_only -k on -sf kk -pk kokkos newton on neigh half comm no -in in.lj # Newton on, Half neighbor list, non-threaded comm :pre
@ -184,15 +183,15 @@ tasks/node. The "-k on t Nt" command-line switch sets the number of
threads/task as Nt. The product of these two values should be N, i.e.
256 or 264.
NOTE: The default for the "package kokkos"_package.html command when
running on KNL is to use "half" neighbor lists and set the Newton flag
to "on" for both pairwise and bonded interactions. This will typically
be best for many-body potentials. For simpler pair-wise potentials, it
may be faster to use a "full" neighbor list with Newton flag to "off".
Use the "-pk kokkos" "command-line switch"_Run_options.html to change
the default "package kokkos"_package.html options. See its doc page for
details and default settings. Experimenting with its options can provide
a speed-up for specific calculations. For example:
NOTE: The default for the "package kokkos"_package.html command when
running on KNL is to use "half" neighbor lists and set the Newton flag
to "on" for both pairwise and bonded interactions. This will typically
be best for many-body potentials. For simpler pair-wise potentials, it
may be faster to use a "full" neighbor list with Newton flag to "off".
Use the "-pk kokkos" "command-line switch"_Run_options.html to change
the default "package kokkos"_package.html options. See its doc page for
details and default settings. Experimenting with its options can provide
a speed-up for specific calculations. For example:
mpirun -np 64 lmp_kokkos_phi -k on t 4 -sf kk -pk kokkos comm host -in in.reax # Newton on, half neighbor list, threaded comm
mpirun -np 64 lmp_kokkos_phi -k on t 4 -sf kk -pk kokkos newton off neigh full comm no -in in.lj # Newton off, full neighbor list, non-threaded comm :pre
@ -207,20 +206,19 @@ supports.
[Running on GPUs:]
Use the "-k" "command-line switch"_Run_options.html to specify the
number of GPUs per node. Typically the -np setting of the mpirun command
should set the number of MPI tasks/node to be equal to the number of
physical GPUs on the node. You can assign multiple MPI tasks to the same
GPU with the KOKKOS package, but this is usually only faster if some
portions of the input script have not been ported to use Kokkos. In this
case, also packing/unpacking communication buffers on the host may give
speedup (see the KOKKOS "package"_package.html command). Using CUDA MPS
Use the "-k" "command-line switch"_Run_options.html to specify the
number of GPUs per node. Typically the -np setting of the mpirun command
should set the number of MPI tasks/node to be equal to the number of
physical GPUs on the node. You can assign multiple MPI tasks to the same
GPU with the KOKKOS package, but this is usually only faster if some
portions of the input script have not been ported to use Kokkos. In this
case, also packing/unpacking communication buffers on the host may give
speedup (see the KOKKOS "package"_package.html command). Using CUDA MPS
is recommended in this scenario.
Using a CUDA-aware MPI library with
support for GPU-direct is highly recommended. GPU-direct use can be
avoided by using "-pk kokkos gpu/direct no"_package.html. As above for
multi-core CPUs (and no GPU), if N is the number of physical cores/node,
Using a CUDA-aware MPI library is highly recommended. CUDA-aware MPI use can be
avoided by using "-pk kokkos cuda/aware no"_package.html. As above for
multi-core CPUs (and no GPU), if N is the number of physical cores/node,
then the number of MPI tasks/node should not exceed N.
-k on g Ng :pre
@ -231,18 +229,18 @@ one or more nodes, each with two GPUs:
mpirun -np 2 lmp_kokkos_cuda_openmpi -k on g 2 -sf kk -in in.lj # 1 node, 2 MPI tasks/node, 2 GPUs/node
mpirun -np 32 -ppn 2 lmp_kokkos_cuda_openmpi -k on g 2 -sf kk -in in.lj # 16 nodes, 2 MPI tasks/node, 2 GPUs/node (32 GPUs total) :pre
NOTE: The default for the "package kokkos"_package.html command when
running on GPUs is to use "full" neighbor lists and set the Newton flag
to "off" for both pairwise and bonded interactions, along with threaded
communication. When running on Maxwell or Kepler GPUs, this will
typically be best. For Pascal GPUs, using "half" neighbor lists and
setting the Newton flag to "on" may be faster. For many pair styles,
setting the neighbor binsize equal to twice the CPU default value will
give speedup, which is the default when running on GPUs. Use the "-pk
kokkos" "command-line switch"_Run_options.html to change the default
"package kokkos"_package.html options. See its doc page for details and
default settings. Experimenting with its options can provide a speed-up
for specific calculations. For example:
NOTE: The default for the "package kokkos"_package.html command when
running on GPUs is to use "full" neighbor lists and set the Newton flag
to "off" for both pairwise and bonded interactions, along with threaded
communication. When running on Maxwell or Kepler GPUs, this will
typically be best. For Pascal GPUs, using "half" neighbor lists and
setting the Newton flag to "on" may be faster. For many pair styles,
setting the neighbor binsize equal to twice the CPU default value will
give speedup, which is the default when running on GPUs. Use the "-pk
kokkos" "command-line switch"_Run_options.html to change the default
"package kokkos"_package.html options. See its doc page for details and
default settings. Experimenting with its options can provide a speed-up
for specific calculations. For example:
mpirun -np 2 lmp_kokkos_cuda_openmpi -k on g 2 -sf kk -pk kokkos newton on neigh half binsize 2.8 -in in.lj # Newton on, half neighbor list, set binsize = neighbor ghost cutoff :pre

View File

@ -76,9 +76,10 @@ Post-processing tools :h3
"pymol_asphere"_#pymol,
"python"_#pythontools,
"reax"_#reax_tool,
"replica"_#replica,
"smd"_#smd,
"spin"_#spin,
"xmgrace"_#xmgrace :tb(c=6,ea=c,a=l)
"xmgrace"_#xmgrace :tb(c=6,ea=c,a=l)
Miscellaneous tools :h3
@ -86,6 +87,7 @@ Miscellaneous tools :h3
"emacs"_#emacs,
"i-pi"_#ipi,
"kate"_#kate,
"singularity"_#singularity_tool,
"vim"_#vim :tb(c=5,ea=c,a=l)
:line
@ -485,6 +487,21 @@ README for more info on Pizza.py and how to use these scripts.
:line
replica tool :h4,link(replica)
The tools/replica directory contains the reorder_remd_traj python script which
can be used to reorder the replica trajectories (resulting from the use of the
temper command) according to temperature. This will produce discontinuous
trajectories with all frames at the same temperature in each trajectory.
Additional options can be used to calculate the canonical configurational
log-weight for each frame at each temperature using the pymbar package. See
the README.md file for further details. Try out the peptide example provided.
This tool was written by (and is maintained by) Tanmoy Sanyal,
while at the Shell lab at UC Santa Barbara. (tanmoy dot 7989 at gmail.com)
:line
reax tool :h4,link(reax_tool)
The reax sub-directory contains stand-alone codes that can
@ -515,17 +532,26 @@ Ernst Mach Institute in Germany (georg.ganzenmueller at emi.fhg.de).
spin tool :h4,link(spin)
The spin sub-directory contains a C file interpolate.c which can
be compiled and used to perform a cubic polynomial interpolation of
be compiled and used to perform a cubic polynomial interpolation of
the MEP following a GNEB calculation.
See the README file in tools/spin/interpolate_gneb for more details.
This tool was written by the SPIN package author, Julien
Tranchida at Sandia National Labs (jtranch at sandia.gov, and by Aleksei
Tranchida at Sandia National Labs (jtranch at sandia.gov, and by Aleksei
Ivanov, at University of Iceland (ali5 at hi.is).
:line
singularity tool :h4,link(singularity_tool)
The singularity sub-directory contains container definitions files
that can be used to build container images for building and testing
LAMMPS on specific OS variants using the "Singularity"_https://sylabs.io
container software. Contributions for additional variants are welcome.
:line
vim tool :h4,link(vim)
The files in the tools/vim directory are add-ons to the VIM editor
@ -549,3 +575,4 @@ simulation.
See the README file for details.
These files were provided by Vikas Varshney (vv0210 at gmail.com)

Some files were not shown because too many files have changed in this diff Show More