Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1803 commits
Select commit Hold shift + click to select a range
e9dc43c
move and rename example folder for fix neighbor/swap. update inputs. …
akohlmey May 22, 2025
0df77ef
start a tools/json folder with molecule schema and README
akohlmey May 23, 2025
30b555d
add units keyword
akohlmey May 23, 2025
2fe88a1
further refactor molecule class
akohlmey May 23, 2025
76ef41a
overload Atom::add_molecule() with function accepting a JSON object
akohlmey May 23, 2025
f979d50
fix minor issues
akohlmey May 24, 2025
534373b
flag required properties
akohlmey May 24, 2025
0975207
Add more fields to molecule schema
akohlmey May 24, 2025
61d3759
fix typo
akohlmey May 24, 2025
018342a
update schema with stricter checks. no need to bond-ids, angle-ids etc.
akohlmey May 24, 2025
442e50b
simplify
akohlmey May 24, 2025
1d8d8b6
add title and version info to JSON schema file
akohlmey May 24, 2025
8d09e44
start documentation for JSON format
akohlmey May 24, 2025
730cf8b
add false positive
akohlmey May 24, 2025
94f44e3
add new header, json_fwd.h with forward declarations for using headers
akohlmey May 25, 2025
2436bd4
provide some more talking points for comparison of KOKKOS and GPU pac…
akohlmey May 25, 2025
8181224
discuss in more details factors that affect performance (WIP)
akohlmey May 25, 2025
f8665fd
add a more explicit warning about using hybrid for many-body potentials
akohlmey May 26, 2025
1f758bc
more discussion of items that affect LAMMPS serial and parallel perfo…
akohlmey May 26, 2025
2e77503
clarify and improve formatting
akohlmey May 26, 2025
6ea16ae
we only need the MPI C library support for loading liblammps.so dynam…
akohlmey May 26, 2025
06b06fd
only use prototype for PIMPL struct in KOKKOS classes
akohlmey May 26, 2025
6a5ed2a
add renieigbor option to fix set
sjplimp May 26, 2025
f5c51af
demonstrate how serial and parallel performance can change
akohlmey May 27, 2025
df3467a
update error message
akohlmey May 27, 2025
d6a0d3b
small update
akohlmey May 27, 2025
d59f7d3
Merge branch 'develop' into fix-gauss
akohlmey May 27, 2025
6843424
add version tag, rewrap, minor tweaks to doc page.
akohlmey May 27, 2025
5ff0f05
more details in serial performance summary
akohlmey May 27, 2025
ce44fad
correct discuss FFT benchmark timing for PPPM
akohlmey May 28, 2025
747ed42
documentation updates based on review
martok May 28, 2025
1668bcf
fix 2 bugs caught in review
sjplimp May 28, 2025
46b0e48
clarify use of pair-wise additive pair style requirement as go-betwee…
akohlmey May 28, 2025
1ddc64b
eliminate warning (doesn't change results since we don't compute pair…
akohlmey May 28, 2025
8254107
remove unused variable "quoteflag"
akohlmey May 28, 2025
ce074d4
additional small changes to doc page and code comment
martok May 28, 2025
3552847
consistent use of definitions to avoid CMake adding spurious '-D' pre…
akohlmey May 29, 2025
8f07b44
Merge branch 'cmake-adjustments' of github.com:akohlmey/lammps into c…
akohlmey May 29, 2025
be59eb6
fix up two more inconsistent definitions
akohlmey May 29, 2025
de98aa0
Merge branch 'develop' into atom-style-var-with-python
akohlmey May 29, 2025
a246619
whitespace
akohlmey May 29, 2025
f5cc752
update magic file and point to origin
akohlmey May 29, 2025
3dadcab
remove dead code and redundant implementation.
akohlmey May 29, 2025
129a3a8
Merge branch 'develop' into fix-set-command
akohlmey May 29, 2025
f584d72
correct incorrect reference to command
akohlmey May 29, 2025
26def4a
we only need the MPI C library support for loading liblammps.so dynam…
akohlmey May 26, 2025
0af41a2
add false positive
akohlmey May 29, 2025
f12d1d3
we only need the MPI C library support for loading liblammps.so dynam…
akohlmey May 26, 2025
f839532
silence compiler warnings
akohlmey May 29, 2025
cea8d22
remove undocumented and unused define and related unused array
akohlmey May 29, 2025
1330470
add missing override
akohlmey May 29, 2025
8f9806e
remove / comment-out unused parameters
akohlmey May 29, 2025
66c2e4f
improve documentation of moment corrections
martok May 29, 2025
5e9f00f
fix typo
akohlmey May 29, 2025
a6d7f01
synchronize units checking with data file and native format molecule …
akohlmey May 29, 2025
06af3b8
Fix typo in doc/src/fix_ave_moments.rst
akohlmey May 29, 2025
8f56874
Merge pull request #4527 from martok/fix-gauss
akohlmey May 29, 2025
5b65c49
avoid problems with consteval
akohlmey May 30, 2025
765701b
Merge remote-tracking branch 'github/develop' into collected-small-fixes
akohlmey May 30, 2025
e43acf2
small optimization
akohlmey May 30, 2025
68ce9c8
modify C++23 compilation workflow to test both GCC and Clang
akohlmey May 30, 2025
7bed09c
Bugfix from Trung for running EAM on GPUs with OpenCL.
akohlmey May 30, 2025
290f409
improve / modernize more error messages in the read_data command
akohlmey May 30, 2025
9d81246
add FLERR as first argument to Domain::minimum_image() and Domain::mi…
akohlmey May 31, 2025
d7cee3e
remove undesired "generated" tag
akohlmey May 31, 2025
2cc7c71
add info about updating old source packages for minimum image API change
akohlmey May 31, 2025
2599f9d
spelling
akohlmey May 31, 2025
b05f5f8
add info about updating old source packages for minimum image API change
akohlmey May 31, 2025
5ea7bec
update ATC library for minimum image API change
akohlmey May 31, 2025
c663a5a
undo substitution in comment
akohlmey May 31, 2025
7780309
Merge branch 'develop' into molecule-refactor-for-json
akohlmey Jun 1, 2025
04c6429
make "format" and "data" required object sections
akohlmey Jun 1, 2025
ed535e5
fix minimum image bug detected by GitHub Copilot
akohlmey Jun 1, 2025
17ed72f
show use of Domain::minimum_image_big() in second example block
akohlmey Jun 1, 2025
7aac770
consolidate checking and determining sizes. use macro to reduce redun…
akohlmey Jun 1, 2025
b5cf8eb
Merge pull request #4610 from akohlmey/minimum_image_flerr
akohlmey Jun 1, 2025
52f8d1d
Merge branch 'develop' into collected-small-fixes
akohlmey Jun 1, 2025
07acf91
Merge branch 'develop' into molecule-refactor-for-json
akohlmey Jun 1, 2025
f7ae203
improve error message
akohlmey Jun 1, 2025
1fae7e3
remove support for obsolete MPICH library binaries for Windows
akohlmey Jun 2, 2025
1fc8e05
roll back changes switching from MPI::MPI_CXX to MPI::MPI_C
akohlmey Jun 2, 2025
23694ee
Merge branch 'develop' into cmake-adjustments
akohlmey Jun 2, 2025
60c33bf
correct typos
akohlmey Jun 2, 2025
07f650a
try to work around compilation issues
akohlmey Jun 2, 2025
6888000
force skip MPI for C++ setting into cache
akohlmey Jun 3, 2025
8a8fc2f
apply `-DLAMMPS_${LAMMPS_SIZES}` consistently across all platforms
akohlmey Jun 3, 2025
117a451
Merge pull request #4597 from akohlmey/cmake-adjustments
akohlmey Jun 3, 2025
3086e6e
Merge branch 'develop' into collected-small-fixes
akohlmey Jun 3, 2025
6a2e796
make fix neighbor/swap valgrind clean
akohlmey Jun 3, 2025
deef742
make attempt_swap valgrind clean. now fails in pair->compute().
akohlmey Jun 3, 2025
f9003e6
revert to single defition of LAMMPS integer sizes to be applied to GP…
akohlmey Jun 3, 2025
87cf0f9
use common container for Linux release tasks
akohlmey Jun 3, 2025
5386dce
Update molecule.rst
jrgissing Jun 4, 2025
ba09379
remove tabs
akohlmey Jun 4, 2025
11bf72c
Merge branch 'develop' into molecule-refactor-for-json
akohlmey Jun 4, 2025
9941d91
reformulate
akohlmey Jun 4, 2025
b509c53
small improvement
akohlmey Jun 4, 2025
ddb6bb2
adjust to include new build of gcc/musl cross-compiler
akohlmey Jun 4, 2025
45ba47e
Set version date for next feature release
akohlmey Jun 4, 2025
ba8dd4d
only build the voro++ library when downloading
akohlmey Jun 4, 2025
b73f78e
update libvoro++ patch
akohlmey Jun 4, 2025
3f58927
one more correction
akohlmey Jun 4, 2025
0fb02af
Merge pull request #4599 from akohlmey/collected-small-fixes
akohlmey Jun 4, 2025
ece4939
Merge branch 'develop' into fix-set-command
akohlmey Jun 4, 2025
b3f160c
Merge pull request #4567 from lammps/fix-set-command
akohlmey Jun 4, 2025
acf8a51
Merge branch 'develop' into molecule-refactor-for-json
akohlmey Jun 4, 2025
f5b6411
accept denormal floating point numbers in tokenizer class and utils::…
akohlmey Jun 5, 2025
9d4aad2
Remove APIP from dump_custom, fix store/state and variable.
d-immel Jun 5, 2025
67d668c
Add apip names in compute property/atom.
d-immel Jun 5, 2025
d3f00ee
Add apip names in set.
d-immel Jun 5, 2025
bd26d7a
Add apip names in read_dump.
d-immel Jun 5, 2025
bf97cc4
Temporarily remove fix neighbor/swap until implementation issues are …
akohlmey Jun 5, 2025
b6a57c2
Add apip prefix to internal variable names.
d-immel Jun 5, 2025
1d5efd0
fix apip_atom_weight -> fix atom_weight/apip
d-immel Jun 5, 2025
dd4afb1
fix lambda_thermostat -> fix lambda_thermostat/apip
d-immel Jun 5, 2025
94d3923
fix lambda -> fix lambda/apip
d-immel Jun 5, 2025
f34284f
Capitalise apip in EAM class names.
d-immel Jun 5, 2025
1086db6
Capitalise apip in PACE class names.
d-immel Jun 5, 2025
4fcbdbe
pair_style lambda/zone -> pair_style lambda/zone/apip
d-immel Jun 5, 2025
19a108b
Add apip suffix in pair_styles lambda/input and lambda/input/csp.
d-immel Jun 5, 2025
bc93311
Fix typos.
d-immel Jun 5, 2025
20f123d
Update notation in APIP examples.
d-immel Jun 5, 2025
6c798f1
Update APIP naming in documentation.
d-immel Jun 5, 2025
e5f0e23
clang-format apip package.
d-immel Jun 5, 2025
f6f3eb1
bug-fix bug fix
jrgissing Jun 6, 2025
e1aa3cf
move throwing Python variable errors to PythonImpl class and change A…
akohlmey Jun 6, 2025
1b12f3b
improve error messages for python command
akohlmey Jun 6, 2025
f69d28f
Merge branch 'develop' into atom-style-var-with-python
akohlmey Jun 6, 2025
001fa6a
corrections from GitHub copilot
akohlmey Jun 6, 2025
65debaf
resolve NOTES and add option to print return value to log with python…
akohlmey Jun 6, 2025
4cb936c
no need to allocate since we use the space of the python style variab…
akohlmey Jun 6, 2025
84f20fe
must initialize pyindex[ivar] in equalstyle check
akohlmey Jun 6, 2025
9a65ab2
Merge branch 'develop' into apip_devel and solve merge conflict in set.
d-immel Jun 6, 2025
ccc078f
Add apip to documentation of read_dump and compute property/atom.
d-immel Jun 6, 2025
23b185a
add overload to utils::print() so it can be used without FILE pointer
akohlmey Jun 6, 2025
3f685e9
fix several spelling and formatting issues in added/modified document…
akohlmey Jun 6, 2025
43dbb0c
add special case for setting locale on macOS based on suggestion from…
akohlmey Jun 8, 2025
e41d485
record changes to LAMMPS-GUI for flatpak build
akohlmey Jun 8, 2025
1e59400
update help table for new commands
akohlmey Jun 8, 2025
72080d7
hide repetitive code use a macro
akohlmey Jun 8, 2025
962f791
Merge pull request #4616 from jrgissing/another_reaction_count_fix
akohlmey Jun 9, 2025
2567a3d
Merge pull request #4581 from lammps/atom-style-var-with-python
akohlmey Jun 9, 2025
c7fd081
Merge branch 'develop' into collected-small-fixes
akohlmey Jun 9, 2025
7a7ec80
edits of 2 doc pages
sjplimp Jun 9, 2025
1f57be8
another tweak
sjplimp Jun 9, 2025
319037c
fix typo
akohlmey Jun 10, 2025
a45561a
Bufix for memory leak fix from Stan. Forgot to clear the new per-atom…
akohlmey Jun 10, 2025
c8cd692
more doc page tweaks
sjplimp Jun 10, 2025
f77be0a
Merge branch 'python-wrapper-doc' of github.com:lammps/lammps into py…
sjplimp Jun 10, 2025
8ae5b16
use consistent markup
akohlmey Jun 10, 2025
8d11f16
Insert pre-titlepage text asking about removal of PDF version.
akohlmey Jun 10, 2025
464b9f4
add support for loading run and min styles
akohlmey Jun 11, 2025
df08818
refactor handling of plugin loading to make plugin a global property
akohlmey Jun 11, 2025
30cc257
Merge branch 'develop' into plugin-add-run-min-style
akohlmey Jun 11, 2025
0fd7a40
update documentation for writing plugins
akohlmey Jun 11, 2025
67128a0
Merge branch 'kspace_zero' into plugin-add-run-min-style
akohlmey Jun 11, 2025
75c3415
add missing comment
akohlmey Jun 11, 2025
6ccb1b7
remove debug code, move to toplevel dir and document kspace style zero
akohlmey Jun 11, 2025
2d8ef50
address output issue reported by GitHub Copilot (but properly and in …
akohlmey Jun 11, 2025
c4e062f
Merge branch 'develop' into molecule-refactor-for-json
akohlmey Jun 11, 2025
dad1f02
process "coords" and "types" sections in JSON format
akohlmey Jun 11, 2025
e44e2e2
reuse variable
akohlmey Jun 11, 2025
768d5bb
address small PDF formatting issue
akohlmey Jun 11, 2025
d7cd279
add error to CreateAtoms for per-atom systems
FelixWodaczek Jun 11, 2025
d3691dc
better checking
akohlmey Jun 11, 2025
e7cf070
add support for molecule and fragments sections
akohlmey Jun 11, 2025
9df3040
try alternate initialized for Windows
akohlmey Jun 11, 2025
3d7f7af
parse charges, diameters, and masses
akohlmey Jun 11, 2025
b0694e4
add support for dipoles section
akohlmey Jun 11, 2025
cac7606
use explicit type when clearning memory
akohlmey Jun 12, 2025
72533c8
check that dipole z-component is zero for 2d systems
akohlmey Jun 12, 2025
5e948b1
add support for bonds and angles
akohlmey Jun 12, 2025
d4be195
make code more consistent by always using "item" for topology data entry
akohlmey Jun 12, 2025
5868aa0
add dihedrals and impropers
akohlmey Jun 12, 2025
125389b
safer memory management for checking format
akohlmey Jun 12, 2025
b15f4e5
add updated example using json molecule files
akohlmey Jun 12, 2025
b21ce96
more meaningful error message if a file is in JSON format but has a p…
akohlmey Jun 12, 2025
766ef24
update date
akohlmey Jun 12, 2025
1db87d8
documentation updates for JSON format in general and molecule files i…
akohlmey Jun 12, 2025
2eed658
Corrected what I think is a typo
Bibobu Jun 12, 2025
dd30b5a
add tool to regularize/reformat/reindent JSON files
akohlmey Jun 12, 2025
4097733
small tweaks
akohlmey Jun 12, 2025
6745007
add minimal documentation for the JSON molecule file format
akohlmey Jun 12, 2025
349def9
remove superfluous test
akohlmey Jun 12, 2025
db22bdc
rewrap doc source
akohlmey Jun 12, 2025
ed1d49c
Merge branch 'python-wrapper-doc' of github.com:lammps/lammps into py…
akohlmey Jun 12, 2025
00ffebc
Remove not required variable from PairLambdaZoneAPIP.
d-immel Jun 12, 2025
285fffa
Merge pull request #4619 from lammps/python-wrapper-doc
akohlmey Jun 12, 2025
db835d1
add false positive
akohlmey Jun 12, 2025
9b195d2
Merge branch 'develop' into molecule-refactor-for-json
akohlmey Jun 12, 2025
f84bbf9
Update logs of APIP examples.
d-immel Jun 12, 2025
97b85d3
Fix GPU architecture in CUDA preset for Kokkos
DaKerboul Jun 12, 2025
2d10754
Merge pull request #4624 from ethan-puyaubreau/cuda-preset-fix
akohlmey Jun 12, 2025
a9c5d09
Merge pull request #4621 from akohlmey/plugin-add-run-min-style
akohlmey Jun 13, 2025
f9de296
make "coords" optional and infer natoms from "types" instead
akohlmey Jun 13, 2025
f389b66
make inconsistent units an error; special case: "real" and "metal" ar…
akohlmey Jun 13, 2025
37b02a2
improve error messages
akohlmey Jun 13, 2025
550048f
Merge branch 'develop' into molecule-refactor-for-json
akohlmey Jun 13, 2025
66684de
Merge pull request #4600 from akohlmey/molecule-refactor-for-json
akohlmey Jun 13, 2025
fa59b1c
correct and simplify install script for legacy build system
akohlmey Jun 13, 2025
6df845a
Merge remote-tracking branch 'github/develop' into apip
akohlmey Jun 13, 2025
3052bc7
make added comments consistent and consistently formatted
akohlmey Jun 13, 2025
dcf6048
cosmetic
akohlmey Jun 13, 2025
4865235
small doc tweaks and update for the simplified installation
akohlmey Jun 13, 2025
949bac6
Merge pull request #4614 from akohlmey/collected-small-fixes
akohlmey Jun 13, 2025
380ad17
Merge branch 'develop' into next_release
akohlmey Jun 13, 2025
336bb46
add a few missing version tags
akohlmey Jun 13, 2025
0d2f47d
Merge pull request #4613 from akohlmey/next_release
akohlmey Jun 13, 2025
c79a1a6
flag as development version
akohlmey Jun 13, 2025
5b8c505
only strip debug info
akohlmey Jun 13, 2025
c5920ee
stop installing components from the downloaded pace library
akohlmey Jun 13, 2025
3a628ce
simplify by returning new variable index in creator function and avoi…
akohlmey Jun 13, 2025
ee165e7
minor changes of APIP doc page
d-immel Jun 13, 2025
1ba1b71
Merge branch 'develop' into apip
akohlmey Jun 13, 2025
2c9dac5
Merge branch 'develop' into bugfix/bond-react-peratom-mass
FelixWodaczek Jun 13, 2025
08d2856
Merge pull request #4627 from Saric-Group/bugfix/bond-react-peratom-mass
akohlmey Jun 14, 2025
5013b80
Merge remote-tracking branch 'github/develop' into collected-small-ch…
akohlmey Jun 14, 2025
848ef74
download sphinx_toolbox extension and enable "collaps" directive
akohlmey Jun 14, 2025
1475111
use different ccache storage keys for gcc and clang
akohlmey Jun 14, 2025
4b32e58
make sure that all molecule members are initialized
akohlmey Jun 14, 2025
ced0d35
handling parsing exceptions and check for error creating a backup
akohlmey Jun 14, 2025
df1d70b
move up re-initialization one level to avoid uninitialized access
akohlmey Jun 14, 2025
81bfcb8
add missing prototype
akohlmey Jun 14, 2025
88f5ad1
use "const std::string &" instead of "const char *" it will be conve…
akohlmey Jun 14, 2025
e2cd2a1
make error handling for checking the handle and its state more consis…
akohlmey Jun 14, 2025
ea23af4
only perform size check if section is present
akohlmey Jun 14, 2025
faa1dbc
add missing type check and setting of ntypes for json data molecules
akohlmey Jun 14, 2025
2d5f02a
add lammps_add_molecule API to the C-library interface and python/for…
akohlmey Jun 14, 2025
7dc4e17
fix compilation with MPI STUBS
akohlmey Jun 14, 2025
90df96b
fix bugs detected by GitHub Copilot
akohlmey Jun 14, 2025
6004a58
fix spelling issues
akohlmey Jun 14, 2025
0ea4ba2
Merge remote-tracking branch 'github/develop' into apip
akohlmey Jun 14, 2025
c5c1f47
move redundant code to find pointer to main widget to helper function
akohlmey Jun 14, 2025
4bc5bc3
update label only when needed
akohlmey Jun 14, 2025
97d09c2
update changelog
akohlmey Jun 14, 2025
72538fb
warn about inconsistent units only during the first pass reading the …
akohlmey Jun 15, 2025
7fb930d
start adding tests for JSON format molecule files
akohlmey Jun 15, 2025
a6b30c3
use more obvious flow of control that does not confuse static code an…
akohlmey Jun 15, 2025
d95d97d
remove dead code, avoid uninitialized access
akohlmey Jun 15, 2025
bb1b854
check for empty molecule to avoid division by zero
akohlmey Jun 15, 2025
d38f97e
remove dead code
akohlmey Jun 15, 2025
8f31b62
make flow of control more obvious
akohlmey Jun 15, 2025
0538518
add missing entries to .gitignore
akohlmey Jun 16, 2025
47fae6b
Merge pull request #4628 from akohlmey/collected-small-changes
akohlmey Jun 16, 2025
53fec55
Merge pull request #4543 from d-immel/apip
akohlmey Jun 16, 2025
246684e
readding old LATTEQEQ code
jmgoff Jun 17, 2025
0e89a83
including local LATTEQEQ
jmgoff Jun 18, 2025
c33153c
forgot LATTEQEQ cmake file
jmgoff Jun 18, 2025
38d7888
updated flag for 0th order contribution in compute pace
jmgoff Jun 24, 2025
549bdc4
Merge branch 'mlxl_grid' into mala-ace-grid
jmgoff Jan 21, 2026
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
368 changes: 315 additions & 53 deletions .github/release_steps.md

Large diffs are not rendered by default.

23 changes: 17 additions & 6 deletions .github/workflows/check-cpp23.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# GitHub action to build LAMMPS on Linux with gcc and C++23
# GitHub action to build LAMMPS on Linux with gcc or clang and C++23
name: "Check for C++23 Compatibility"

on:
Expand All @@ -11,11 +11,19 @@ on:

workflow_dispatch:

concurrency:
group: ${{ github.event_name }}-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{github.event_name == 'pull_request'}}

jobs:
build:
name: Build with C++23 support enabled
if: ${{ github.repository == 'lammps/lammps' }}
runs-on: ubuntu-latest
strategy:
max-parallel: 2
matrix:
idx: [ gcc, clang ]
env:
CCACHE_DIR: ${{ github.workspace }}/.ccache

Expand All @@ -29,8 +37,11 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y ccache \
libeigen3-dev \
clang \
libcurl4-openssl-dev \
libeigen3-dev \
libfftw3-dev \
libomp-dev \
mold \
mpi-default-bin \
mpi-default-dev \
Expand All @@ -44,8 +55,8 @@ jobs:
uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: linux-cpp23-ccache-${{ github.sha }}
restore-keys: linux-cpp23-ccache-
key: linux-cpp23-ccache-${{ matrix.idx }}-${{ github.sha }}
restore-keys: linux-cpp23-ccache-${{ matrix.idx }}

- name: Building LAMMPS via CMake
shell: bash
Expand All @@ -58,14 +69,14 @@ jobs:
cmake -S cmake -B build \
-C cmake/presets/most.cmake \
-C cmake/presets/kokkos-openmp.cmake \
-C cmake/presets/${{ matrix.idx }}.cmake \
-D CMAKE_CXX_STANDARD=23 \
-D CMAKE_CXX_COMPILER=g++ \
-D CMAKE_C_COMPILER=gcc \
-D CMAKE_CXX_COMPILER_LAUNCHER=ccache \
-D CMAKE_C_COMPILER_LAUNCHER=ccache \
-D CMAKE_BUILD_TYPE=Debug \
-D CMAKE_CXX_FLAGS_DEBUG="-Og -g" \
-D DOWNLOAD_POTENTIALS=off \
-D FFT=KISS \
-D BUILD_MPI=on \
-D BUILD_SHARED_LIBS=on \
-D BUILD_TOOLS=off \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-vla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
-D PKG_MDI=on \
-D PKG_MANIFOLD=on \
-D PKG_ML-PACE=on \
-D PKG_ML-RANN=off \
-D PKG_ML-RANN=on \
-D PKG_MOLFILE=on \
-D PKG_RHEO=on \
-D PKG_PTM=on \
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/style-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ jobs:
make check-permissions
make check-homepage
make check-errordocs
make check-fmtlib
19 changes: 19 additions & 0 deletions LATTEQEQ_prntchrg/.codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
coverage:
precision: 2
round: down
range: "0...100"

status:
project:
default: on
patch:
default: on
changes:
default: off

comment:
layout: "header, reach, diff, flags, files, footer"
behavior: default
require_changes: no
require_base: no
require_head: yes
60 changes: 60 additions & 0 deletions LATTEQEQ_prntchrg/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
language: c

sudo: required

sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.6

os:
- linux

before_install:
- export LATTEPATH=`pwd`
- sudo apt-get install gfortran libblas-dev liblapack-dev
- sudo apt-get install python gcc g++ curl
- cd; git clone --depth=1 https://github.com/lanl/qmd-progress.git
- cd; git clone --depth=1 https://github.com/lanl/bml.git
- cd; git clone --depth=1 https://github.com/lammps/lammps.git
- pip install --user codecov

# Install BML, PROGRESS and LAMMPS
- cd; cd bml; CC=gcc FC=gfortran CMAKE_BUILD_TYPE=Release BLAS_VENDOR=GNU BML_OPENMP=yes BML_TESTING=no ./build.sh configure
- cd; cd bml/build; make; make install
- cd; cd qmd-progress; CC=gcc FC=gfortran PROGRESS_MPI=no PROGRESS_TESTING=yes BLAS_VENDOR=GNU CMAKE_PREFIX_PATH=~/bml/install PROGRESS_OPENMP=yes ./build.sh configure
- cd; cd qmd-progress/build; make; make install
# Lammps installation
- cd; cd lammps/lib/latte; ln -s $LATTEPATH/src/latte_c_bind.o filelink.o ; ln -s $LATTEPATH/src includelink ; ln -s $LATTEPATH liblink
- cd; cd lammps/lib/latte; cp Makefile.lammps.gfortran Makefile.lammps
- cd; cd lammps/lib/latte; echo "latte_SYSLIB += -fprofile-arcs -ftest-coverage -O0" >> Makefile.lammps
- cd; cd lammps/src/; if [[ ${LATTE_CMAKE} != yes ]]; then make yes-latte; make yes-molecule; fi
- cd; cd lammps/src/; if [[ ${LATTE_CMAKE} != yes ]]; then sed -i "s/-g -O3/-g -O3 -std=c++11/g" MAKE/Makefile.serial; fi

before_script:
- cd; cd $LATTEPATH

env:
- OPTIONS="CVR=ON" TEST="" CHOICES=gfort.lapack
- OPTIONS="CVR=ON PROGRESS=ON" TEST="" CHOICES=gfort.lapack
- OPTIONS="CVR=ON MAKELIB=ON lammps" TEST="_lmp" CHOICES=gfort.lapack
- LATTE_CMAKE=yes CMAKE_WITH_PROGRESS=yes
- LATTE_CMAKE=yes LAMMPS_CMAKE=yes
- LATTE_PERFORMANCE=yes TEST="" CHOICES=gfort.lapack

script:
- cp -f -v ./makefiles/makefile.CHOICES.${CHOICES:-gfort.lapack} makefile.CHOICES
- if [[ ! ${LATTE_CMAKE} ]]; then
make ${OPTIONS} && make test${TEST};
else
mkdir build && cd build && cmake ../cmake -DCMAKE_INSTALL_PREFIX=$HOME/latte/install -DPROGRESS=${CMAKE_WITH_PROGRESS} -DOPENMP=${CMAKE_WITH_PROGRESS} -DCMAKE_PREFIX_PATH="$HOME/bml/install;$HOME/qmd-progress/install" && make && make install &&
if [[ ${LAMMPS_CMAKE} ]]; then
cd $HOME/lammps && mkdir build && cd build && cmake ../cmake -DPKG_MOLECULE=ON -DPKG_LATTE=ON -DCMAKE_PREFIX_PATH=$HOME/latte/install -DCMAKE_CXX_STANDARD=11 && make;
fi
fi

after_success:
- bash <(curl -s https://codecov.io/bash) -v -X gcov
- codecov

cache:
- ccache
15 changes: 15 additions & 0 deletions LATTEQEQ_prntchrg/AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Nick Bock T-1
Josh Coe T-1
Aditi Krishnapriyan T-1
Matt Kroonblawd T-1
Adam Lang T-1
Enrique Martinez MST-8
Sue Mniszewski CCS-3
Christian Negre T-1
Ed Sanville T-1
Mitch Wood T-1
Ping Yang T-1
Anders Niklasson T-1
Marc Cawkwell T-1

Los Alamos National Laboratory
Loading