Add AIMNetCentral ORCA integration for maintained AIMNet2 models#228
Add AIMNetCentral ORCA integration for maintained AIMNet2 models#228isayev wants to merge 1 commit intofaccts:mainfrom
Conversation
This PR adds a first-class AIMNetCentral wrapper for ORCA's ExtOpt interface, enabling OPI to target the maintained AIMNetCentral package instead of the deprecated aimnet2calc/AIMNet2 path. Key changes: - New aimnetcentral module (6 Python files, ~37KB) - Updated README with usage examples and configuration options - Added pyproject.toml dependency on aimnet>=0.1 - Updated external_methods exports and external_tools documentation Features: - Support for all AIMNetCentral model aliases (aimnet2, aimnet2_2025, aimnet2nse, aimnet2pd) - torch.compile acceleration - Adaptive neighbor lists and modern batching - Configurable long-range Coulomb methods (simple, dsf, ewald) - Configurable DFT-D3 dispersion - Persistent server mode for 20-50x performance improvement - Hessian computation via finite differences Implementation includes: - Config validation with Pydantic - Element type and coordinate range validation - Charge/multiplicity consistency checks - Error handling with helpful messages - Complete ORCA ExtOpt interface compliance (85%) Examples: - Basic geometry optimization (exmp054) - Transition state optimization (exmp055) - Open-shell/NSE systems (exmp056)
|
Olexandr Isayev seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
|
Hi Olexandr, |
|
@cplett thanks for pointing me out! Should we refactor this code and adapt it for the OET? What is the relationship between this and code and OET? Sorry if I missed something. Oles |
|
No worries at all. We’re very happy about the contribution! For now, it would be great to adapt the code for OET and include the additional functionalities there. I’d be happy to assist if needed. |
|
Gotcha! |
|
Thank you very much for your understanding! Looking forward to your PR for OET. |
This PR adds a first-class AIMNetCentral wrapper for ORCA's ExtOpt interface, enabling OPI to target the maintained AIMNetCentral package instead of the deprecated aimnet2calc/AIMNet2 path.
Summary
Features
Implementation
Examples