Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
689 commits
Select commit Hold shift + click to select a range
009a7b1
print detailed version string also for multi-replica runs
akohlmey Mar 13, 2025
8c9e1fe
update pimd/*/bosonic examples
akohlmey Mar 13, 2025
a1c0d93
limit to 1 processor per partition
akohlmey Mar 13, 2025
b53449f
free communicator only if not NULL
akohlmey Mar 13, 2025
c449bed
apply clang-format
akohlmey Mar 13, 2025
f6394b2
remove obsolete line
akohlmey Mar 13, 2025
0f10741
update tests for variable commands
akohlmey Mar 13, 2025
9d70c8b
provide error information for two more cases
akohlmey Mar 13, 2025
bfdfd32
make compatible with C++20 and later
akohlmey Mar 13, 2025
889f917
explain image flag related errors and warnings
akohlmey Mar 13, 2025
34b3dd9
Proofreading errors doc page
jtclemm Mar 13, 2025
03f7125
Merge pull request #4494 from lammps/example-input-fixes
akohlmey Mar 13, 2025
bf1a5e0
correctly flag out-of-range access for thermo data, where possible
akohlmey Mar 13, 2025
9da8a7f
improve error pointers and out-of-range message for dump custom
akohlmey Mar 14, 2025
8ff5855
modernize boldface font selection in LaTeX sections
akohlmey Mar 14, 2025
e3de43f
modernize use of \it and \sf
akohlmey Mar 14, 2025
d784706
small changes to appease coverity scan
akohlmey Mar 14, 2025
b11672a
define extract() in pair_yukawa.h
evoyiatzis Mar 14, 2025
419b18b
implement extract() in pair_yukawa.cpp
evoyiatzis Mar 14, 2025
7374d38
Update mol-pair-yukawa.yaml
evoyiatzis Mar 14, 2025
5ab442f
Include yukawa in the list of supported pair styles in fix_adapt.rst
evoyiatzis Mar 14, 2025
29558a1
key word -> keyword
akohlmey Mar 14, 2025
e97807b
clarify. mention using timer command to re-enable regular runs
akohlmey Mar 14, 2025
fcb2eee
corrections for documentation of bosonic PIMD fix styles
akohlmey Mar 14, 2025
a0d1dee
small clarification. add version tag for universe keyword
akohlmey Mar 14, 2025
cea31e4
remove references to -DLAMMPS_SMALLSMALL and trigger error when used
akohlmey Mar 14, 2025
4c3260a
fix bug missing a read_int() when reading general triclinic rotation …
akohlmey Mar 14, 2025
4e0d37e
ensure that df[] array is always initialized
akohlmey Mar 14, 2025
55eeaca
Merge pull request #4498 from evoyiatzis/patch-4
akohlmey Mar 14, 2025
557d279
remove references to SMALLSMALL from examples
akohlmey Mar 14, 2025
361914f
remove references to SMALLSMALL from GPU library
akohlmey Mar 14, 2025
3aba21f
Merge pull request #4481 from akohlmey/collected-small-fixes
akohlmey Mar 14, 2025
81ab0b7
Merge pull request #4456 from akohlmey/add-error-explanations
akohlmey Mar 15, 2025
aafdac1
update intros to three pages with errors and warnings and cross-refer…
akohlmey Mar 15, 2025
ee93093
remove "self-explanatory" explanations.
akohlmey Mar 15, 2025
07c0c43
Merge branch 'develop' into remove-smallsmall
akohlmey Mar 15, 2025
2c3824b
update remaining places that used to support -DLAMMPS_SMALLSMALL
akohlmey Mar 15, 2025
48570e0
Merge branch 'develop' into use-pandoc-for-fasthtml
akohlmey Mar 15, 2025
5b5b700
copy image files to fasthtml folder
akohlmey Mar 15, 2025
54be0ad
resolve some issues in .rst files detected by pandoc
akohlmey Mar 15, 2025
b921852
CSS style tweaks to make pandoc output more similar to sphinx output
akohlmey Mar 15, 2025
546ea91
fix a few more .rst formatting issues flagged by pandoc
akohlmey Mar 15, 2025
067f998
Update Build_manual.rst
athomps Mar 15, 2025
2240430
Merge pull request #4495 from lammps/use-pandoc-for-fasthtml
akohlmey Mar 15, 2025
589c026
Tweaked the description of numbering order
athomps Mar 15, 2025
bca920a
Merge remote-tracking branch 'github/develop' into errors-more-cleanup
akohlmey Mar 15, 2025
96f135c
some more small tweaks of explanation and spelling fixes
akohlmey Mar 15, 2025
7b915b2
error message does not exist anymore
akohlmey Mar 16, 2025
b34b6b8
refactor info code so coeffs status can be appended to error
akohlmey Mar 16, 2025
111817c
also print pair coeff setflag status when not all pair coeffs are set
akohlmey Mar 16, 2025
73585e1
revert broken change to print angstrom character
akohlmey Mar 16, 2025
035aefc
address issues flagged by coverity scan
akohlmey Mar 16, 2025
afbae53
convert remaining errors to print coeff status
akohlmey Mar 16, 2025
d65b0ce
update to WHAM version 2.1.0
akohlmey Mar 16, 2025
368e0a2
adding WHAM dialog is postponed
akohlmey Mar 16, 2025
0a7b528
don't silence format errors
akohlmey Mar 17, 2025
9e8b9e5
Merge remote-tracking branch 'github/develop' into collected-small-fixes
akohlmey Mar 17, 2025
d42330e
consolidate errors #6 and #7 plus handle non-numeric box. add missing…
akohlmey Mar 17, 2025
68c92f3
add new explanation for warning about multiple time integrations
akohlmey Mar 17, 2025
afaf440
expand/clarify some discussions
akohlmey Mar 17, 2025
aee02c7
remove entries that are now covered by Errors_details.rst
akohlmey Mar 17, 2025
b329d01
small clarification
akohlmey Mar 17, 2025
6f0a593
Merge pull request #4500 from akohlmey/remove-smallsmall
akohlmey Mar 17, 2025
e502d40
Merge remote-tracking branch 'github/develop' into collected-small-fixes
akohlmey Mar 17, 2025
f0b9889
add some notes about releasing a stable release update
akohlmey Mar 17, 2025
7d6c19f
adjust for macos_arm64 arch
akohlmey Mar 17, 2025
4aece11
add note about need to run `ldconfig` on Linux system after make install
akohlmey Mar 18, 2025
69881ba
add false positives
akohlmey Mar 18, 2025
78bfa5b
Create fix qeqr/reaxff
navlalli Mar 18, 2025
056733f
Add warning if fix efield is not in use
navlalli Mar 18, 2025
d02e26d
document DOWNLOAD_POTENTIALS with CMake
akohlmey Mar 18, 2025
90cd786
document how to address "externally managed environment" errors with …
akohlmey Mar 19, 2025
4cd3fa1
spelling
akohlmey Mar 19, 2025
8a04dc0
Merge remote-tracking branch 'github/develop' into errors-more-cleanup
akohlmey Mar 19, 2025
b936673
consolidate calls to utils::errorurl() with corresponding error class…
akohlmey Mar 19, 2025
ee78e3e
add -f option to install.py to install into externally-managed enviro…
akohlmey Mar 19, 2025
5bcfc35
Reimplement warning through fix qtpie/reaxff
navlalli Mar 19, 2025
bb8b659
Remove unused header files and add affiliation
navlalli Mar 19, 2025
db8abdb
Update macOS info
fxcoudert Mar 19, 2025
6700a3b
Fixed the Moltemplate HowTo docs. (I also added a very simple polyme…
jewettaij Mar 19, 2025
63b8e86
tried to minimize the differences between my version and the existing…
jewettaij Mar 19, 2025
37248a0
deleted trailing whitespace in the Howto_moltemplate.rst file (for PR…
jewettaij Mar 19, 2025
04bb57f
update a bunch more error messages
akohlmey Mar 19, 2025
643afe6
fix segfault issue for optional arguments
akohlmey Mar 20, 2025
ca575e3
fix spelling and duplicate references issues
akohlmey Mar 20, 2025
e4c9645
flag some more compatible time and out-of-bounds errors with errorurl()s
akohlmey Mar 20, 2025
e11245d
Add examples for fix qeqr/reaxff
navlalli Mar 20, 2025
2e98ae9
Improve qtpie/reaxff docs and add qeqr/reaxff docs
navlalli Mar 20, 2025
f85a19d
Added code which provides callbacks from external ML-IAP functions to…
fglines-nv Aug 14, 2024
829a086
fixed whitespace
Feb 5, 2025
bbed85a
Remove dead code
Mar 20, 2025
3b61bcf
more error reporting updates
akohlmey Mar 20, 2025
e9bc334
add some more missing errorurl() calls and error pointers
akohlmey Mar 21, 2025
c037ec0
make utils::errorurl() point to generic page with error code 0
akohlmey Mar 21, 2025
3ab91e4
fix up uses of errorurl(21)
akohlmey Mar 21, 2025
3834169
first attempt to implement a "jump to top" anchor in the sidebar
akohlmey Mar 21, 2025
649fd86
add errorurl(11) with explanation to "Energy/Stess was not tallied by…
akohlmey Mar 21, 2025
1b58a46
add explanations for "before/after simulation box is defined" errors
akohlmey Mar 22, 2025
410d3e8
add a Howto demonstrating how to convert a bulk molecular system to a…
akohlmey Mar 22, 2025
725b34a
add snapshot images to show the initial and final geometry and box
akohlmey Mar 22, 2025
c289ad9
forgot to include upward arrow image
akohlmey Mar 22, 2025
9d0c25f
improve wording
akohlmey Mar 22, 2025
8a0900f
revert broken change to print angstrom character
akohlmey Mar 16, 2025
cb5e45f
small tweaks
akohlmey Mar 22, 2025
12cc12b
Typos and alternate wording suggestions
jtclemm Mar 22, 2025
6f24e1e
remove leftover pieces of obsolete warning
akohlmey Mar 22, 2025
f4b92a2
small clarification cherry-picked from PR #4502
akohlmey Mar 22, 2025
c65c881
cosmetic changes and re-wrap paragraphs
akohlmey Mar 22, 2025
88cecbd
alternate implementation of jump to top by @rbberger
akohlmey Mar 22, 2025
adaa313
Merge pull request #4502 from akohlmey/collected-small-fixes
akohlmey Mar 23, 2025
3d5430b
Merge branch 'develop' into errors-more-cleanup
akohlmey Mar 23, 2025
824b1b0
relax epsilon to pass tests on macos-arm64
akohlmey Mar 23, 2025
a64863c
fix sphinx directive error in embedded docs
akohlmey Mar 23, 2025
a26ea95
throw suitable exception when trying to extract unknown or incompatib…
akohlmey Mar 23, 2025
6fca985
add method that allows suppressing printing error messages immediately
akohlmey Mar 23, 2025
ccbf47c
forgot exceptions in two cases
akohlmey Mar 23, 2025
b4e4ea1
we don't need lammps_throw_error. just call lmp->error->xxx
akohlmey Mar 24, 2025
aabfef6
update packaging to conform with suggested packaging changes
akohlmey Mar 24, 2025
2b718d3
add interface to lammps_set_show_error()
akohlmey Mar 24, 2025
9577343
use a global constant for a common string buffer size
akohlmey Mar 24, 2025
3a18ca5
updates, recover failed tests with -DLAMMPS_BIGBIG
akohlmey Mar 24, 2025
e79fcfb
implement improved version of go-to-top button with javascript requir…
akohlmey Mar 24, 2025
15cdba0
have Error::set_show_error() return the previous setting
akohlmey Mar 24, 2025
e0322b9
sync new library interface function across all interfaced derived pac…
akohlmey Mar 24, 2025
350fa4d
more library interface argument checking and error handling
akohlmey Mar 24, 2025
7b5c281
when calling Error we must wrap the code in BEGIN/END capture
akohlmey Mar 24, 2025
b45c811
more argument error improvements
akohlmey Mar 24, 2025
bbd0578
wrong qi*qj cuda code
Eddy-Barraud Mar 24, 2025
d830412
added boolean
Eddy-Barraud Mar 24, 2025
b4ff184
complete refactoring of handle check and error handling
akohlmey Mar 24, 2025
15026cf
cosmetic
akohlmey Mar 25, 2025
3ed03c4
add post_constructor() method to computes for symmetry with fixes
akohlmey Mar 25, 2025
5a62d0a
correct data in data file and pair_coeff changes are no longer needed
akohlmey Mar 25, 2025
7fba02f
fix logic bug when writing coeffs to data file
akohlmey Mar 25, 2025
3872fa1
small update to internal command documentation
akohlmey Mar 25, 2025
3efddff
Changed use of varient on LHS
Mar 25, 2025
e9ac9e7
add option to return an entire column, row, or array as flat array wi…
akohlmey Mar 25, 2025
183486d
implement suggestions from @ndtrung81
akohlmey Mar 25, 2025
66d5fbd
Merge pull request #4516 from Eddy-Barraud/dpd_charged
akohlmey Mar 25, 2025
bdf1b54
Merge branch 'mac' of https://github.com/fxcoudert/lammps into collec…
akohlmey Mar 25, 2025
5dbeacb
Merge pull request #4508 from jewettaij/master
akohlmey Mar 25, 2025
32e4a0d
Merge branch 'develop' into lammps-kokkos-mliap-comms
bathmatt Mar 25, 2025
9e241df
Merge pull request #4182 from akohlmey/group-bitmap-accessor
akohlmey Mar 25, 2025
2ea5cf1
Merge remote-tracking branch 'github/develop' into collected-small-fixes
akohlmey Mar 25, 2025
bafd2a8
Merge remote-tracking branch 'github/develop' into file-formats
akohlmey Mar 25, 2025
678e90f
make spellchecker happy
akohlmey Mar 25, 2025
d850d93
Make Pytorch optional
fglines-nv Mar 25, 2025
fecd937
spelling
akohlmey Mar 25, 2025
2d0c1af
Merge remote-tracking branch 'github/develop' into howto-bulk-to-slab
akohlmey Mar 25, 2025
227b784
add disclaimer and improve some formulations
akohlmey Mar 25, 2025
0b43649
Merge pull request #4513 from akohlmey/howto-bulk-to-slab
akohlmey Mar 25, 2025
bb788cb
Merge remote-tracking branch 'github/develop' into file-formats
akohlmey Mar 25, 2025
3c055fe
Clean up cupy vs. torch in exchanges
fglines-nv Mar 25, 2025
7878ec1
Merge pull request #4501 from lammps/errors-more-cleanup
akohlmey Mar 25, 2025
faa6e80
Merge remote-tracking branch 'github/develop' into file-formats
akohlmey Mar 25, 2025
bc791da
Merge remote-tracking branch 'github/develop' into collected-small-fixes
akohlmey Mar 25, 2025
a98a743
Fix tabs->spaces in last commit
fglines-nv Mar 25, 2025
d658c58
update formulations some more
akohlmey Mar 26, 2025
16f836b
Merge branch 'develop' into lammps-kokkos-mliap-comms
bathmatt Mar 26, 2025
24389a5
remove argument expansion since it would take only the first expanded…
akohlmey Mar 26, 2025
c95d43f
plug memory leaks
akohlmey Mar 26, 2025
a9f2bdf
remove misplaced excess error call
akohlmey Mar 26, 2025
c22716f
error out on non-existing groups and improve error messages
akohlmey Mar 26, 2025
811f79a
error out or ignore on displacements in z-direction with 2d system
akohlmey Mar 26, 2025
d515af2
Merge branch 'develop' into library-handle-argument-errors
akohlmey Mar 26, 2025
cf5d74b
add pair style pedone to list of pair styles compatible with fix adapt
akohlmey Mar 26, 2025
8a373ab
spelling
akohlmey Mar 26, 2025
bc1b22a
finish (for now) the summary of the data file format
akohlmey Mar 26, 2025
194b340
add section about molecule files
akohlmey Mar 26, 2025
dcbc3c9
whitespace
akohlmey Mar 26, 2025
465171d
Merge pull request #4514 from akohlmey/library-handle-argument-errors
akohlmey Mar 26, 2025
637b572
Merge remote-tracking branch 'github/develop' into file-formats
akohlmey Mar 26, 2025
7f0b71f
spelling
akohlmey Mar 26, 2025
2542b98
small tweak
akohlmey Mar 26, 2025
c45558b
some tweaks for local table of contents
akohlmey Mar 27, 2025
9661d02
Merge branch 'develop' into collected-small-fixes
akohlmey Mar 27, 2025
dd31346
add support for writing one file per timestep with '*' wildcard
akohlmey Mar 27, 2025
f0b3b20
add a write permission check before opening a pipe for compressed writes
akohlmey Mar 27, 2025
f5dbf30
improve error messages
akohlmey Mar 26, 2025
2ad0cc1
document extxyz dump style
akohlmey Mar 26, 2025
855737c
implement derived extxyz dump style
akohlmey Mar 26, 2025
bb6470e
More flexibility: forces, vel, mass
fxcoudert Mar 27, 2025
b0a8391
Update CODEOWNERS
fxcoudert Mar 27, 2025
0c7c219
Update .github/CODEOWNERS
fxcoudert Mar 27, 2025
dcb844b
Safer printf
fxcoudert Mar 27, 2025
8eceb2b
small updates and clarifications
akohlmey Mar 27, 2025
c9d557a
add test for version related tags missing a colon
akohlmey Mar 27, 2025
fce3246
detect misformatted Sphinx directives
akohlmey Mar 27, 2025
032c1c3
Handle mass better
fxcoudert Mar 27, 2025
d12f4b0
Dump pe, temp, press
fxcoudert Mar 27, 2025
738fb4a
add info about restart files
akohlmey Mar 27, 2025
f652687
add support for outputting the same temperature, pressure, and potent…
akohlmey Mar 27, 2025
fc78806
apply clang-format
akohlmey Mar 27, 2025
c9be07d
fix bug with addstep_compute skipping on first step
akohlmey Mar 27, 2025
c3309bc
error message and programming style updates
akohlmey Mar 27, 2025
8949a62
Use "Contact the LAMMPS developers" consistently and add an errorurl(…
akohlmey Mar 27, 2025
963083b
must use addstep_compute() on next variable dump output
akohlmey Mar 28, 2025
9ac09e8
trigger computes only if next variable step or time based dump present
akohlmey Mar 28, 2025
0263774
must use addstep_compute() on next time based or variable step dump o…
akohlmey Mar 28, 2025
a17ec2a
fix bug with addstep_compute skipping on first step
akohlmey Mar 27, 2025
09242c0
forgot handling addstep_compute in setup()
akohlmey Mar 28, 2025
9a55856
forgot handling addstep_compute in setup()
akohlmey Mar 28, 2025
c0321b5
More doc
fxcoudert Mar 28, 2025
9661c21
comment out possible additional sections
akohlmey Mar 28, 2025
b7b9a4a
Update Kokkos library in LAMMPS to v4.6.0
stanmoore1 Mar 28, 2025
aeed7a4
we only need to worry about Python3 now
akohlmey Mar 28, 2025
1172a8c
Merge pull request #4506 from fxcoudert/mac
akohlmey Mar 28, 2025
4dbf18e
small suggested changes
jrgissing Mar 29, 2025
990007c
whitespace, rewrap, and comments
akohlmey Mar 29, 2025
7ff9ee5
small tweaks
akohlmey Mar 29, 2025
285baf2
Merge pull request #4518 from akohlmey/file-formats
akohlmey Mar 29, 2025
2396668
Merge remote-tracking branch 'github/develop' into collected-small-fixes
akohlmey Mar 29, 2025
fc9d7bc
rename fix qeqr/reaxff to fix qeq/rel/reaxff
akohlmey Mar 29, 2025
367dd46
Merge remote-tracking branch 'github/develop' into qeqr
akohlmey Mar 29, 2025
2da463a
missed renames
akohlmey Mar 29, 2025
578b1cf
fix typo
akohlmey Mar 30, 2025
935e323
Merge branch 'develop' into bond/react-molmap_option
akohlmey Mar 31, 2025
6e39542
better align with LAMMPS' programming conventions
akohlmey Mar 31, 2025
677e8dd
documentation fixes
akohlmey Mar 31, 2025
1c609ef
cosmetic, more LAMMPS style
akohlmey Mar 31, 2025
9d2b530
modernize some error messages
akohlmey Mar 31, 2025
084ba67
Remove atomics units and distance function
navlalli Mar 31, 2025
3b69cf6
Merge branch 'develop' of github.com:lammps/lammps into kk_update_4.6.0
stanmoore1 Mar 31, 2025
a4f7c7e
Update CMake for KOKKOS package
stanmoore1 Mar 31, 2025
bba860f
Update docs for KOKKOS update
stanmoore1 Mar 31, 2025
e577528
switch CWD to home if default is "/" or contains "AppData"
akohlmey Apr 1, 2025
6964156
fix syntax error
akohlmey Apr 1, 2025
c99ae61
enable lj96 for fix adapt
evoyiatzis Apr 1, 2025
fd77c93
Precompute terms in overlap integral
navlalli Apr 1, 2025
db8dae3
enable lj/gromacs for fix adapt
evoyiatzis Apr 1, 2025
76e3900
add line in the end of pair_lj_gromacs.cpp
evoyiatzis Apr 1, 2025
b0ca9ed
enable lj/cubic for fix adapt
evoyiatzis Apr 1, 2025
618c92a
fix typos
akohlmey Apr 1, 2025
144637c
Merge pull request #4523 from evoyiatzis/patch-7
akohlmey Apr 2, 2025
5371aa8
Merge pull request #4335 from jrgissing/bond/react-molmap_option
akohlmey Apr 2, 2025
5933eca
Merge pull request #4515 from akohlmey/collected-small-fixes
akohlmey Apr 2, 2025
5bd3218
update version strings
akohlmey Apr 2, 2025
d51017c
Set pending version tags to 2Apr2025
akohlmey Apr 2, 2025
8defe0e
Merge pull request #4482 from rbberger/dihedral_multi_harmonic_kokkos
akohlmey Apr 2, 2025
38df714
Merge branch 'develop' into lammps-kokkos-mliap-comms
bathmatt Apr 2, 2025
9f7653d
Merge pull request #4519 from fxcoudert/extxyz2
akohlmey Apr 2, 2025
92321f4
Merge pull request #4521 from stanmoore1/kk_update_4.6.0
akohlmey Apr 2, 2025
8df9f34
Merge pull request #4467 from evoyiatzis/patch-2
akohlmey Apr 2, 2025
cb85504
Merge pull request #4507 from navlalli/qeqr
akohlmey Apr 2, 2025
9cfcb97
whitespace
stanmoore1 Apr 2, 2025
0043bca
Merge branch 'develop' into next_release
akohlmey Apr 2, 2025
91e4cbb
update a couple more pending version tags
akohlmey Apr 2, 2025
0a7f556
Merge pull request #4463 from bathmatt/lammps-kokkos-mliap-comms
akohlmey Apr 2, 2025
7b4c336
Merge pull request #4524 from akohlmey/next_release
akohlmey Apr 2, 2025
c992a97
Merge branch 'oxdna3' into develop
ohenrich Apr 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ src/EXTRA-COMMAND/group_ndx.* @akohlmey
src/EXTRA-COMMAND/ndx_group.* @akohlmey
src/EXTRA-COMPUTE/compute_stress_mop*.* @RomainVermorel
src/EXTRA-COMPUTE/compute_born_matrix.* @Bibobu @athomps
src/EXTRA-DUMP/dump_extxyz.* @fxcoudert
src/EXTRA-FIX/fix_deform_pressure.* @jtclemm
src/EXTRA-PAIR/pair_dispersion_d3.* @soniasolomoni @arthurfl
src/EXTRA-PAIR/d3_parameters.h @soniasolomoni @arthurfl
src/MISC/*_tracker.* @jtclemm
src/MC/fix_gcmc.* @athomps
src/MC/fix_sgcmc.* @athomps
Expand Down
45 changes: 43 additions & 2 deletions .github/release_steps.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ and using the CMake settings:

``` sh
-D CMAKE_OSX_ARCHITECTURES=arm64;x86_64
-D CMAKE_OSX_DEPLOYMENT_TARGER=11.0
-D CMAKE_OSX_DEPLOYMENT_TARGET=11.0
```

This will add the compiler flags `-arch arm64 -arch x86_64
Expand Down Expand Up @@ -324,6 +324,47 @@ At this point it should be possible to do a fast-forward merge of

### Push branches and tags

## LAMMPS Stable Update Release

After making a stable release, bugfixes from the 'develop' branch
are selectively backported to the 'maintenance' branch. This is
done with "git cherry-pick \<commit hash\>' wherever possible.
The LAMMPS\_UPDATE define in "src/version.h" is set to "Maintenance".

## LAMMPS Stable Update Release
### Prerequesites

When a sufficient number of bugfixes has accumulated or an urgent
or important bugfix needs to be distributed a new stable update
release is made. To make this publicly visible a pull request
is submitted that will merge 'maintenance' into 'stable'. Before
merging, set LAMMPS\_UPDATE in "src/version.h" to "Update #" with
"#" indicating the update count (1, 2, and so on).
Also draft suitable release notes under https://github.com/lammps/lammps/releases

### Fast-forward merge of 'maintenance' into 'stable', apply tag, and publish

Do a fast-forward merge of 'maintenance' to 'stable' and then
apply the stable\_DMmmYYYY\_update# tag and push branch and tag
to GitHub. The corresponding pull request will be automatically
closed. Example:

```
git checkout maintenance
git pull
git checkout stable
git pull
git merge --ff-only maintenance
git tag -s -m 'Update 2 for Stable LAMMPS version 29 August 2024' stable_29Aug2024_update2
git push git@github.com:lammps/lammps.git --tags maintenance stable
```

Associate draft release notes with new tag and publish as "latest release".

On https://ci.lammps.org/ go to "dev", "stable" and manually execute
the "update\_release" task. This will update https://docs.lammps.org/stable
and prepare a stable tarball.

### Build and upload binary packages and source tarball to GitHub

The build procedure is the same as for the feature releases, only
that packages are built from the 'stable' branch.
4 changes: 2 additions & 2 deletions cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,8 @@ else()
target_link_libraries(lammps PUBLIC mpi_stubs)
endif()

set(LAMMPS_SIZES "smallbig" CACHE STRING "LAMMPS integer sizes (smallsmall: all 32-bit, smallbig: 64-bit #atoms #timesteps, bigbig: also 64-bit imageint, 64-bit atom ids)")
set(LAMMPS_SIZES_VALUES smallbig bigbig smallsmall)
set(LAMMPS_SIZES "smallbig" CACHE STRING "LAMMPS integer sizes (smallbig: 64-bit #atoms #timesteps, bigbig: also 64-bit imageint, 64-bit atom ids)")
set(LAMMPS_SIZES_VALUES smallbig bigbig)
set_property(CACHE LAMMPS_SIZES PROPERTY STRINGS ${LAMMPS_SIZES_VALUES})
validate_option(LAMMPS_SIZES LAMMPS_SIZES_VALUES)
string(TOUPPER ${LAMMPS_SIZES} LAMMPS_SIZES)
Expand Down
4 changes: 2 additions & 2 deletions cmake/Modules/LAMMPSInterfacePlugin.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ endif()

################
# integer size selection
set(LAMMPS_SIZES "smallbig" CACHE STRING "LAMMPS integer sizes (smallsmall: all 32-bit, smallbig: 64-bit #atoms #timesteps, bigbig: also 64-bit imageint, 64-bit atom ids)")
set(LAMMPS_SIZES_VALUES smallbig bigbig smallsmall)
set(LAMMPS_SIZES "smallbig" CACHE STRING "LAMMPS integer sizes (smallbig: 64-bit #atoms #timesteps, bigbig: also 64-bit imageint, 64-bit atom ids)")
set(LAMMPS_SIZES_VALUES smallbig bigbig)
set_property(CACHE LAMMPS_SIZES PROPERTY STRINGS ${LAMMPS_SIZES_VALUES})
validate_option(LAMMPS_SIZES LAMMPS_SIZES_VALUES)
string(TOUPPER ${LAMMPS_SIZES} LAMMPS_SIZES)
Expand Down
6 changes: 3 additions & 3 deletions cmake/Modules/Packages/KOKKOS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ if(DOWNLOAD_KOKKOS)
list(APPEND KOKKOS_LIB_BUILD_ARGS "-DCMAKE_CXX_EXTENSIONS=${CMAKE_CXX_EXTENSIONS}")
list(APPEND KOKKOS_LIB_BUILD_ARGS "-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}")
include(ExternalProject)
set(KOKKOS_URL "https://github.com/kokkos/kokkos/archive/4.5.01.tar.gz" CACHE STRING "URL for KOKKOS tarball")
set(KOKKOS_MD5 "4d832aa0284169d9e3fbae3165286bc6" CACHE STRING "MD5 checksum of KOKKOS tarball")
set(KOKKOS_URL "https://github.com/kokkos/kokkos/archive/4.6.00.tar.gz" CACHE STRING "URL for KOKKOS tarball")
set(KOKKOS_MD5 "61b2b69ae50d83eedcc7d47a3fa3d6cb" CACHE STRING "MD5 checksum of KOKKOS tarball")
mark_as_advanced(KOKKOS_URL)
mark_as_advanced(KOKKOS_MD5)
GetFallbackURL(KOKKOS_URL KOKKOS_FALLBACK)
Expand All @@ -83,7 +83,7 @@ if(DOWNLOAD_KOKKOS)
add_dependencies(LAMMPS::KOKKOSCORE kokkos_build)
add_dependencies(LAMMPS::KOKKOSCONTAINERS kokkos_build)
elseif(EXTERNAL_KOKKOS)
find_package(Kokkos 4.5.01 REQUIRED CONFIG)
find_package(Kokkos 4.6.00 REQUIRED CONFIG)
target_link_libraries(lammps PRIVATE Kokkos::kokkos)
else()
set(LAMMPS_LIB_KOKKOS_SRC_DIR ${LAMMPS_LIB_SOURCE_DIR}/kokkos)
Expand Down
3 changes: 1 addition & 2 deletions cmake/presets/kokkos-cuda.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# preset that enables KOKKOS and selects CUDA compilation with OpenMP
# enabled as well. This preselects CC 5.0 as default GPU arch, since
# that is compatible with all higher CC, but not the default CC 3.5
# enabled as well. The GPU architecture *must* match your hardware
set(PKG_KOKKOS ON CACHE BOOL "" FORCE)
set(Kokkos_ENABLE_SERIAL ON CACHE BOOL "" FORCE)
set(Kokkos_ENABLE_CUDA ON CACHE BOOL "" FORCE)
Expand Down
49 changes: 30 additions & 19 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ MATHJAXTAG = 3.2.2

PYTHON = $(word 3,$(shell type python3))
DOXYGEN = $(word 3,$(shell type doxygen))
PANDOC = $(word 3,$(shell type pandoc))
HAS_PYTHON3 = NO
HAS_DOXYGEN = NO
HAS_PDFLATEX = NO
HAS_PANDOC = NO

ifeq ($(shell type python3 >/dev/null 2>&1; echo $$?), 0)
HAS_PYTHON3 = YES
Expand All @@ -31,10 +33,14 @@ endif

ifeq ($(shell type pdflatex >/dev/null 2>&1; echo $$?), 0)
ifeq ($(shell type latexmk >/dev/null 2>&1; echo $$?), 0)
HAS_PDFLATEX = YES
HAS_PDFLATEX = YES
endif
endif

ifeq ($(shell type pandoc >/dev/null 2>&1; echo $$?), 0)
HAS_PANDOC = YES
endif

# override settings for PIP commands
# PIP_OPTIONS = --cert /etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt --proxy http://proxy.mydomain.org

Expand All @@ -45,8 +51,9 @@ SPHINXEXTRA = -j $(shell $(PYTHON) -c 'import multiprocessing;print(multiprocess
# we only want to use explicitly listed files.
DOXYFILES = $(shell sed -n -e 's/\#.*$$//' -e '/^ *INPUT \+=/,/^[A-Z_]\+ \+=/p' doxygen/Doxyfile.in | sed -e 's/@LAMMPS_SOURCE_DIR@/..\/src/g' -e 's/\\//g' -e 's/ \+/ /' -e 's/[A-Z_]\+ \+= *\(YES\|NO\|\)//')

.PHONY: help clean-all clean clean-spelling epub mobi html pdf spelling anchor_check style_check char_check role_check xmlgen fasthtml
.PHONY: help clean-all clean clean-spelling epub mobi html pdf spelling anchor_check style_check char_check role_check xmlgen fasthtml fasthtml-init

FASTHTMLFILES = $(patsubst $(RSTDIR)/%.rst,fasthtml/%.html,$(wildcard $(RSTDIR)/*rst))
# ------------------------------------------

help:
Expand Down Expand Up @@ -105,6 +112,8 @@ html: xmlgen globbed-tocs $(VENV) $(SPHINXCONFIG)/conf.py $(ANCHORCHECK) $(MATHJ
env LC_ALL=C grep -n ':\(ref\|doc\):[^`]' $(RSTDIR)/*.rst ;\
env LC_ALL=C grep -n '\(ref\|doc\)`[^`]' $(RSTDIR)/*.rst ;\
$(PYTHON) $(BUILDDIR)/utils/check-styles.py -s ../src -d src ;\
env LC_ALL=C grep -n -E '^ *\.\. [a-z0-9]+:(\s+.*|)$$' \
$(RSTDIR)/*.rst ../src/*.{cpp,h} ../src/*/*.{cpp,h} ;\
echo "############################################" ;\
deactivate ;\
)
Expand All @@ -116,25 +125,23 @@ html: xmlgen globbed-tocs $(VENV) $(SPHINXCONFIG)/conf.py $(ANCHORCHECK) $(MATHJ
@rm -rf html/PDF/.[sg]*
@echo "Build finished. The HTML pages are in doc/html."

fasthtml: xmlgen globbed-tocs $(VENV) $(SPHINXCONFIG)/conf.py $(ANCHORCHECK) $(MATHJAX)
@if [ "$(HAS_BASH)" == "NO" ] ; then echo "bash was not found at $(OSHELL)! Please use: $(MAKE) SHELL=/path/to/bash" 1>&2; exit 1; fi
@$(MAKE) $(MFLAGS) -C graphviz all
@mkdir -p fasthtml
@(\
. $(VENV)/bin/activate ; env PYTHONWARNINGS= PYTHONDONTWRITEBYTECODE=1 \
sphinx-build $(SPHINXEXTRA) -b html -c $(SPHINXCONFIG) -d $(BUILDDIR)/fasthtml/doctrees $(RSTDIR) fasthtml ;\
touch $(RSTDIR)/Fortran.rst ; env PYTHONWARNINGS= PYTHONDONTWRITEBYTECODE=1 \
sphinx-build $(SPHINXEXTRA) -b html -c $(SPHINXCONFIG) -d $(BUILDDIR)/fasthtml/doctrees $(RSTDIR) fasthtml ;\
deactivate ;\
)
@rm -rf fasthtml/_sources
@rm -rf fasthtml/PDF
@rm -rf fasthtml/USER
@rm -rf fasthtml/JPG
@cp -r src/PDF fasthtml/PDF
@rm -rf fasthtml/PDF/.[sg]*
fasthtml: fasthtml-init $(FASTHTMLFILES)
@echo "Fast HTML build finished. The HTML pages are in doc/fasthtml."

fasthtml-init:
@mkdir -p fasthtml/JPG
@cp src/JPG/*.* fasthtml/JPG
@cp $(RSTDIR)/accel_styles.rst $(RSTDIR)/lepton_expression.rst fasthtml/
@cp $(BUILDDIR)/utils/pandoc.css fasthtml/

fasthtml/%.html: $(RSTDIR)/%.rst
@if [ "$(HAS_PANDOC)" == "NO" ] ; then echo "Make 'fasthtml' requires the 'pandoc' software" 1>&2; exit 1; fi
@mkdir -p fasthtml
@echo converting $< to $@
@sed -e 's/\\AA/\\mathring{\\mathrm{A}}/g' $< > fasthtml/$*.temp.rst
@pandoc -s --mathml --css="pandoc.css" --template=$(BUILDDIR)/utils/pandoc.html --metadata title="$@" -o $@ fasthtml/$*.temp.rst
@rm -f fasthtml/$*.temp.rst

spelling: xmlgen globbed-tocs $(SPHINXCONFIG)/conf.py $(VENV) $(SPHINXCONFIG)/false_positives.txt
@if [ "$(HAS_BASH)" == "NO" ] ; then echo "bash was not found at $(OSHELL)! Please use: $(MAKE) SHELL=/path/to/bash" 1>&2; exit 1; fi
@(\
Expand Down Expand Up @@ -188,6 +195,8 @@ pdf: xmlgen globbed-tocs $(VENV) $(SPHINXCONFIG)/conf.py $(ANCHORCHECK)
env LC_ALL=C grep -n ':\(ref\|doc\):[^`]' $(RSTDIR)/*.rst ;\
env LC_ALL=C grep -n '\(ref\|doc\)`[^`]' $(RSTDIR)/*.rst ;\
$(PYTHON) utils/check-styles.py -s ../src -d src ;\
env LC_ALL=C grep -n -E '^ *\.\. [a-z0-9]+:(\s+.*|)$$' \
$(RSTDIR)/*.rst ../src/*.{cpp,h} ../src/*/*.{cpp,h} ;\
echo "############################################" ;\
deactivate ;\
)
Expand Down Expand Up @@ -237,6 +246,8 @@ role_check :
@( env LC_ALL=C grep -n ' `[^`]\+<[a-z][^`]\+`[^_]' $(RSTDIR)/*.rst && exit 1 || : )
@( env LC_ALL=C grep -n ':\(ref\|doc\):[^`]' $(RSTDIR)/*.rst && exit 1 || : )
@( env LC_ALL=C grep -n '\(ref\|doc\)`[^`]' $(RSTDIR)/*.rst && exit 1 || : )
@( env LC_ALL=C grep -n -E '^ *\.\. [a-z0-9]+:(\s+.*|)$$' \
$(RSTDIR)/*.rst ../src/*.{cpp,h} ../src/*/*.{cpp,h} && exit 1 || : )

link_check : $(VENV) html
@(\
Expand Down
4 changes: 2 additions & 2 deletions doc/lammps.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.TH LAMMPS "1" "4 February 2025" "2025-02-04"
.TH LAMMPS "1" "2 April 2025" "2025-04-02"
.SH NAME
.B LAMMPS
\- Molecular Dynamics Simulator. Version 4 February 2025
\- Molecular Dynamics Simulator. Version 2 April 2025

.SH SYNOPSIS
.B lmp
Expand Down
7 changes: 7 additions & 0 deletions doc/src/Build_cmake.rst
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,13 @@ configured) and additional files like LAMMPS API headers, manpages,
potential and force field files. The location of the installation tree
defaults to ``${HOME}/.local``.

.. note::

If you have set `-D CMAKE_INSTALL_PREFIX` to install LAMMPS into a
system location on a Linux machine , you may also have to run (as
root) the `ldconfig` program to update the cache file for fast lookup
of system shared libraries.

.. _cmake_options:

Configuration and build options
Expand Down
14 changes: 8 additions & 6 deletions doc/src/Build_extras.rst
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,10 @@ Traditional make

Before building LAMMPS, you must build the GPU library in ``lib/gpu``\ .
You can do this manually if you prefer; follow the instructions in
``lib/gpu/README``. Note that the GPU library uses MPI calls, so you must
use the same MPI library (or the STUBS library) settings as the main
LAMMPS code. This also applies to the ``-DLAMMPS_BIGBIG``\ ,
``-DLAMMPS_SMALLBIG``\ , or ``-DLAMMPS_SMALLSMALL`` settings in whichever
Makefile you use.
``lib/gpu/README``. Note that the GPU library uses MPI calls, so you
must use the same MPI library (or the STUBS library) settings as the
main LAMMPS code. This also applies to the ``-DLAMMPS_BIGBIG`` or
``-DLAMMPS_SMALLBIG`` settings in whichever Makefile you use.

You can also build the library in one step from the ``lammps/src`` dir,
using a command like these, which simply invokes the ``lib/gpu/Install.py``
Expand Down Expand Up @@ -612,6 +611,9 @@ They must be specified in uppercase.
* - ZEN3
- HOST
- AMD Zen3 architecture
* - ZEN4
- HOST
- AMD Zen4 architecture
* - RISCV_SG2042
- HOST
- SG2042 (RISC-V) CPUs
Expand Down Expand Up @@ -715,7 +717,7 @@ They must be specified in uppercase.
- GPU
- Intel GPU Ponte Vecchio

This list was last updated for version 4.5.1 of the Kokkos library.
This list was last updated for version 4.6.0 of the Kokkos library.

.. tabs::

Expand Down
43 changes: 36 additions & 7 deletions doc/src/Build_manual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ folder. The following ``make`` commands are available:
make epub # generate LAMMPS.epub in ePUB format using Sphinx
make mobi # generate LAMMPS.mobi in MOBI format using ebook-convert

make fasthtml # generate approximate HTML in fasthtml dir using Sphinx
# some Sphinx extensions do not work correctly with this
make fasthtml # generate approximate HTML in fasthtml dir using pandoc

make clean # remove intermediate RST files created by HTML build
make clean-all # remove entire build folder and any cached data
Expand Down Expand Up @@ -205,12 +204,42 @@ documentation is required and either existing files in the ``src``
folder need to be updated or new files added. These files are written in
`reStructuredText <rst_>`_ markup for translation with the Sphinx tool.

Testing your contribution
^^^^^^^^^^^^^^^^^^^^^^^^^

Before contributing any documentation, please check that both the HTML
and the PDF format documentation can translate without errors. During
testing the html translation, you may use the ``make fasthtml`` command
which does an approximate translation (i.e. not all Sphinx features and
extensions will work), but runs very fast because it will only translate
files that have been changed since the last ``make fasthtml`` command.
and the PDF format documentation can translate without errors and that
there are no spelling issues. This is done with ``make html``, ``make pdf``,
and ``make spelling``, respectively.

Fast and approximate translation to HTML
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Translating the full manual to HTML or PDF can take a long time. Thus
there is a fast and approximate way to translate the reStructuredText to
HTML as a quick-n-dirty way of checking your manual page.

This translation uses `Pandoc <https://pandoc.org>`_ instead of Sphinx
and thus all special Sphinx features (cross-references, advanced tables,
embedding of Python docstrings or doxygen documentation, and so on) will
not render correctly. Most embedded math should render correctly. This
is a **very fast** way to check the syntax and layout of a documentation
file translated to HTML while writing or updating it.

To translate **all** manual pages, you can type ``make fasthtml`` at the
command line. The translated HTML files are then in the ``fasthtml``
folder. All subsequent ``make fasthtml`` commands will only translate
``.rst`` files that have been changed. The ``make fasthtml`` command
can be parallelized with make using the `-j` flag. You can also
directly translate only individual pages: e.g. to translate only the
``doc/src/pair_lj.rst`` page type ``make fasthtml/pair_lj.html``

After writing the documentation is completed, you will still need
to verify with ``make html`` and ``make pdf`` that it translates
correctly in both formats.

Tests for consistency, completeness, and other known issues
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Please also check the output to the console for any warnings or problems. There will
be multiple tests run automatically:
Expand Down
Loading