forked from abacusmodeling/abacus-develop
-
Notifications
You must be signed in to change notification settings - Fork 244
Parallel MD #7812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
19hello
wants to merge
18
commits into
deepmodeling:develop
Choose a base branch
from
19hello:pr/mdcell-runtime
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Parallel MD #7812
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
261d678
feat: enable MDCell runtime workflows
d4d8c65
Fix MDCell force output and default RNG seeding
a5b2fa0
Add MDCell output controls
7b2887e
Move MDCell force logging to IO
0a00e90
Update random MD references
43f83b2
Clean up MDCell runtime state
0dcbaf4
Avoid redundant MDCell force storage
3ef50e2
Fix MD test velocity setup
c5cff08
Update Langevin MD test references
17c9547
Optimize MDCell migration output
0a7bbb8
Fix rebase integration and parameter metadata
ef66425
Localize MDCell ghost force communication
57727e2
Add reusable MDCell neighbor skin
b128302
Preserve legacy velocity initialization for MD fallback
49fbc5b
Simplify MDCell helper functions
b7552ee
Rerun abacuslite MPI check
d00f3af
Remove legacy UnitCell velocity initialization
1b09cab
Remove unused UnitCell MD helpers
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,6 +8,7 @@ | |
| - [System variables](#system-variables) | ||
| - [suffix](#suffix) | ||
| - [ntype](#ntype) | ||
| - [cell\_replica](#cell_replica) | ||
| - [calculation](#calculation) | ||
| - [esolver\_type](#esolver_type) | ||
| - [symmetry](#symmetry) | ||
|
|
@@ -356,6 +357,8 @@ | |
| - [md\_restart](#md_restart) | ||
| - [md\_restartfreq](#md_restartfreq) | ||
| - [md\_dumpfreq](#md_dumpfreq) | ||
| - [md\_neighbor\_skin](#md_neighbor_skin) | ||
| - [md\_out\_force](#md_out_force) | ||
| - [dump\_force](#dump_force) | ||
| - [dump\_vel](#dump_vel) | ||
| - [dump\_virial](#dump_virial) | ||
|
|
@@ -601,6 +604,12 @@ | |
| - **Description**: Number of different atom species in the calculation. | ||
| - **Default**: 0 | ||
|
|
||
| ### cell_replica | ||
|
|
||
| - **Type**: Three Integers | ||
| - **Description**: Replicate the input STRU by Na, Nb, and Nc along its lattice vectors for distributed MDCell workflows. The default is 1 1 1, which preserves the input structure. | ||
| - **Default**: 1 1 1 | ||
|
|
||
| ### calculation | ||
|
|
||
| - **Type**: String | ||
|
|
@@ -3504,15 +3513,28 @@ | |
| ### md_restartfreq | ||
|
|
||
| - **Type**: Integer | ||
| - **Description**: The output frequency of OUT.{suffix}/STRIU/, which are used to restart molecular dynamics calculations, see md_restart in detail. | ||
| - **Description**: The output frequency of OUT.{suffix}/STRU_MD_*, which are used to restart molecular dynamics calculations, see md_restart in detail. Set to 0 to disable MD restart output. | ||
| - **Default**: 5 | ||
|
|
||
| ### md_dumpfreq | ||
|
|
||
| - **Type**: Integer | ||
| - **Description**: The output frequency of OUT.${suffix}/MD_dump in molecular dynamics calculations, which including the information of lattices and atoms. | ||
| - **Description**: The output frequency of OUT.${suffix}/MD_dump in molecular dynamics calculations, which includes lattice and atomic information. Set to 0 to disable MD_dump output. | ||
| - **Default**: 1 | ||
|
|
||
| ### md_neighbor_skin | ||
|
|
||
| - **Type**: Real | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. add a note: only used for classical potentials or machine-learned interatomic potentials |
||
| - **Description**: The extra neighbor-list radius in Angstrom for MDCell molecular dynamics. A positive value reuses the cutoff-plus-skin candidate list until an atom has moved by half this distance; 0 rebuilds the list every force evaluation. | ||
| - **Default**: 0.0 | ||
| - **Unit**: Angstrom | ||
|
|
||
| ### md_out_force | ||
|
|
||
| - **Type**: Boolean | ||
| - **Description**: Whether to output the TOTAL-FORCE table in OUT.${suffix}/running_md.log for MDCell molecular dynamics. This does not affect force calculation or molecular dynamics integration. | ||
| - **Default**: True | ||
|
|
||
| ### dump_force | ||
|
|
||
| - **Type**: Boolean | ||
|
|
@@ -3535,8 +3557,8 @@ | |
|
|
||
| - **Type**: Integer | ||
| - **Description**: The random seed to initialize random numbers used in molecular dynamics calculations. | ||
| - < 0: No srand() function is called. | ||
| - >= 0: The function srand(md_seed) is called. | ||
| - < 0: Each MPI rank uses the default seed 1 plus its rank. | ||
| - >= 0: Each MPI rank uses md_seed plus its rank. | ||
| - **Default**: -1 | ||
|
|
||
| ### md_tfreq | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a note: only used for classical potentials or machine-learned interatomic potentials