Add atst examples in ASE interfaces examples#7608
Conversation
b2f56f4 to
27b2775
Compare
kirk0830
left a comment
There was a problem hiding this comment.
this PR tries to show the usage to interface with the ATST-Tools, which is the package collects some sophisticated algorithms that can widen the scope of ABACUS usage. However, the introduced dependency is unacceptable, the change proposed on the file structure is also to be corrected.
| 7. **constraintmd.py** - Constrained molecular dynamics simulation | ||
| 8. **metadynamics.py** - Metadynamics simulation | ||
| 9. **neb.py** - Nudged Elastic Band (NEB) calculation | ||
| 10. **examples/atst_tools/README.md** - optional ATST-Tools workflow examples that use abacuslite for relax, NEB, Sella, CCQN, MD, and ABACUS input helpers |
There was a problem hiding this comment.
This may mess up the hierarchy of the file tree... I would suggest place two or at most three examples directly in this folder, illustrate the cooperative use with ATST-tools, rather than an individual directory...
|
|
||
| | Case | Workflow | Purpose | | ||
| | --- | --- | --- | | ||
| | `relax_si` | `calculation.type: relax` | Basic geometry optimization through `atst run`. | |
There was a problem hiding this comment.
the atst run usage is beyond the scope of abacuslite which is the interface with ASE
| | `sella_h2` | `calculation.type: sella` | Standalone single-ended saddle search syntax. | | ||
| | `ccqn_h2` | `calculation.type: ccqn` | CCQN with an explicit reactive bond. | | ||
| | `md_si` | `calculation.type: md` | ASE-driven MD and ABACUS-native MD templates. | | ||
| | `abacus_helper` | `atst abacus prepare/collect` | INPUT/KPT/STRU preparation and conservative output collection. | |
There was a problem hiding this comment.
this is not quite a relevant example because it is not about the extension of functionalities of ABACUS, although it is a good infrastructure and must be helpful for cases, but not suitable here. I would suggest remove it
| atst config validate config.yaml --print-normalized | ||
| atst run --dry-run config.yaml | ||
| atst run config.yaml |
There was a problem hiding this comment.
again, the CLI usage of ATST-Tools is beyond the scope of the interface to ASE
| atst run config.yaml | ||
| ``` | ||
|
|
||
| For SAI GPU runs, keep the same YAML structure but change |
There was a problem hiding this comment.
The commercial supercomputer is not planned to be specially discussed and treated in any place of ABACUS code, as far as I remember. @mohanchen
| atst abacus prepare config.yaml --structure inputs/init.extxyz --output-dir prepared_abacus --force | ||
| atst abacus collect prepared_abacus --output abacus_results.json |
There was a problem hiding this comment.
likewise, this would be better place into the manual of ATST-Tools itself, rather than in ABACUS, like there is no instruction of an air conditioner in the house when you buy it.
There was a problem hiding this comment.
please do not contain the files relevant with the CLI usage of ATST-Tools in ABACUS repository, this introduces the dependency on ATST-Tools into ABACUS.
There was a problem hiding this comment.
what's the significance of this file?
There was a problem hiding this comment.
please do not contain the input script of ATST-Tools, this brings about the unnecessary dependency on external software to ABACUS
Reminder
AGENTS.mdanddocs/developers_guide/agent_governance.md.source/changes.Linked Issue
No linked issue. This PR only adds optional ATST-Tools workflow examples and a short README entry under the ASE interface examples.
Unit Tests and/or Case Tests for my changes
git diff --check -- interfaces/ASE_interface/README.md interfaces/ASE_interface/examples/atst_tools: passed.interfaces/ASE_interface/README.md interfaces/ASE_interface/examples/atst_tools: passed.conda run -n atst-dev atst config validate ... --print-normalizedfor all added YAML configs: passed.conda run -n atst-dev atst run --dry-run ...for all added workflow configs: passed.conda run -n atst-dev atst abacus prepare ...andatst abacus collect ...for the helper workflow: passed.Exact Verification Performed
git diff --check -- interfaces/ASE_interface/README.md interfaces/ASE_interface/examples/atst_toolsinterfaces/ASE_interface/README.md interfaces/ASE_interface/examples/atst_toolsmake_inputs.pyconda run -n atst-dev atst config validate <config> --print-normalizedforrelax_si,neb_si,sella_h2,ccqn_h2, bothmd_siconfigs, andabacus_helperconda run -n atst-dev atst run --dry-run <config>forrelax_si,neb_si,sella_h2,ccqn_h2, and bothmd_siconfigsconda run -n atst-dev atst abacus prepare config.yaml --structure inputs/init.extxyz --output-dir prepared_abacus --forceconda run -n atst-dev atst abacus collect prepared_abacus --output abacus_results.jsonatst-toolsenvironment.What's changed?
interfaces/ASE_interface/examples/atst_tools/.Governance Checklist
GlobalV,GlobalC, orPARAMcode references are added.CMakeLists.txtupdate is needed.INPUT Parameter Changes
docs/parameters.yamlupdated: not applicable.docs/advanced/input_files/input-main.mdupdated: not applicable.Core Module Impact
source/files are changed.Governance Exception