Structure Relaxation
What This Tool Does
Batch-relax uploaded CIF structures with NequIP-OAM-L by default, or MACE-MP / MatterSim as alternatives, then export relaxed CIFs and human-readable summary tables.
Typical Inputs
- One or more CIF files, or a ZIP/TAR.GZ archive containing CIF files.
- Relaxation model: NequIP-OAM-L, MACE-MP, or MatterSim.
- Device: auto, CPU, or CUDA. Auto uses CUDA when the worker runtime exposes it and falls back to CPU.
- Force tolerance (
fmax) such as 0.02, 0.005, or 0.0001 eV/A. - Maximum relaxation steps.
- Atom-only or atom-plus-cell relaxation.
- Optimizer and cell filter.
- Optional advanced lines such as
nequip_model_path=...,mace_model=medium-mpa-0,constrain_symmetry=false, ormattersim_runner=ase.
Access And Computing Limits
This is a computing-intensive app and requires login. Free daily CIF limits are counted after archive expansion: unverified users can submit 3 CIFs per day, verified non-academic users can submit 10 CIFs per day, and verified academic users can submit 50 CIFs per day. Submissions above the daily free limit consume computing credits when credits are available.
Method
The app reads each CIF with ASE, attaches the selected ML potential, and runs an ASE relaxation. NequIP-OAM-L uses the saved .nequip.zip model artifact by default, while compiled NequIP artifacts can still be supplied through nequip_model_path. MACE-MP uses the configured MACE model name or local model path. MatterSim can run through ASE optimizers or the MatterSim Relaxer path.
Local Docker builds install MatterSim and MACE-compatible dependencies by default. NequIP remains optional locally because it needs the OAM-L model artifact and its sidecar runtime. Remote Ubuntu deployments install both MatterSim and NequIP through update_server.sh, which exports MTOOLBOX_INSTALL_MATTERSIM=true and MTOOLBOX_INSTALL_NEQUIP=true before the backend rebuild.
Output
structure-relaxation-results.csvwith filename, formula, status, engine, device, optimizer, final energy, final energy per atom, final max force, cell parameters, and volume change.structure-relaxation-results.zipcontaining all relaxed CIFs and per-structure JSON summaries.structure-relaxation-summaries.jsoncollecting every per-structure JSON summary in one file.structure-relaxation-manifest.csvdescribing loaded and skipped inputs.
How To Use The Result
Use the relaxed CIF ZIP as input for downstream screening such as phonon stability, energy diagnostics, MLIP-MD, elastic constants, or DFT setup. Use the CSV to quickly sort by final force, convergence status, energy per atom, and volume change.
Limitations
This is ML-potential relaxation, not final DFT validation. Tight fmax values such as 0.0001 eV/A can be slow and may not be meaningful if the ML potential is outside domain. Compiled NequIP artifacts should be compiled on the same hardware/runtime used for inference. Final publication-quality structures should be validated with DFT or experiment.
Example Input
Upload CIF files or a CIF archive
relaxation_model=nequip
device=auto
fmax=0.02
steps=500
relax_cell=true
optimizer=FIRE
cell_filter=FrechetCellFilter