Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,9 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
*.bas4
*.bas2
*.bas3
*.bas5
*.bas0
*.bas1
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ performance flags (`--compile`, `--nb-threshold`, `--ensemble-member`),
long-range Coulomb (`--coulomb-method`, `--coulomb-cutoff`), DFT-D3
flags, GPU server deployment notes, and complete ORCA-input examples.

### MACE options

`oet_mace` and the `oet_server mace` server expose model-selection
and performance flags specific to MACE. See
[`readmes/mace.md`](readmes/mace.md) for further details.

## Interface

All scripts must be executable as:
Expand Down
2 changes: 1 addition & 1 deletion install.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


# Available extras
EXTRAS = ["uma", "aimnet2", "mlatom"]
EXTRAS = ["aimnet2", "mace", "mlatom", "uma"]

# Minimal python interpreter required by the base class (currently 3.10)
minimal_python_version = (3, 10)
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ packages = ["src/oet"]
oet_aenet = "oet.calculator.aenet:main"
oet_aimnet2 = "oet.calculator.aimnet2:main"
oet_gxtb = "oet.calculator.gxtb:main"
oet_mace = "oet.calculator.mace:main"
oet_mlatom = "oet.calculator.mlatom:main"
oet_mopac = "oet.calculator.mopac:main"
oet_uma = "oet.calculator.uma:main"
Expand Down Expand Up @@ -101,6 +102,7 @@ module = [
"fairchem.core", "fairchem.core.*",
"ase", "ase.*",
"huggingface_hub", "huggingface_hub.*",
"mace", "mace.*",
]
ignore_missing_imports = true

Expand Down
20 changes: 20 additions & 0 deletions readmes/mace.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# MACE ExtTool for ORCA

Wrapper around MACE calculators to use ORCA's `otool_external` interface.

- Suites: `mace-mp` (Materials Project) and `mace-omol` (OMOL foundation model)
- Extras: `dispersion` (MP only), `default_dtype` (`float32` or `float64`), optional `device`, and `head` for advanced MP heads.

## Arguments

| Category | Argument | Values / Description | Default |
|---|---|---|---|
| Common | `-s, --suite` | `mp` or `omol` | `omol` |
| Common | `-m, --model` | Model spec or local path. MP examples: `medium-mpa-0`, `medium`, `small`; OMOL: `extra_large` or local path | — |
| Common | `--default-dtype` | `float32` (MD speed) or `float64` (optimization accuracy) | — |
| Common | `--device` | Compute device, e.g. `cpu`, `cuda` | Auto / framework default |
| MP only | `--dispersion` | Enable D3 dispersion correction | Off |
| MP only | `--damping` | Advanced dispersion damping controls | — |
| MP only | `--dispersion-xc` | Exchange-correlation functional for dispersion | — |
| MP only | `--dispersion-cutoff` | Dispersion cutoff distance | — |
| MP only | `--head` | MACE head selection for multi-head variants | — |
1 change: 1 addition & 0 deletions requirements/mace.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mace-torch>=0.3.14
Loading
Loading