Skip to main content

SCGO: Simple Cluster Global Optimization

Python PyPI License: MIT

SCGO Logo

Global optimization of atomic clusters with ASE: Basin Hopping, Genetic Algorithms, NEB transition-state search, and MLIPs (MACE, UMA, UPET) via TorchSim. Covers gas-phase, surface, and adsorbate workflows.

Documentation: Read the Docs

Install

Exactly one MLIP extra per environment:

pip install "scgo[mace]"   # or [uma] / [upet]
# UPET only: pip install 'vesin==0.6.0' --force-reinstall --no-deps

Python 3.12+, SQLite JSON1. Details: installation guide.

Quick start

from scgo import run_go
from scgo.param_presets import get_testing_params

results = run_go(
    ["Pt"] * 4,
    params=get_testing_params(),
    seed=42,
    system_type="gas_cluster",
)

results is a list of (energy, Atoms) unique minima (energy-sorted). Use run_go_campaign for multi-composition runs.

Workflows

Goal Entry point
Single composition GO run_go
Multi-composition GO run_go_campaign
TS from existing minima run_ts_search
GO then TS run_go_ts
Multi-composition TS / GO+TS run_ts_campaign / run_go_ts_campaign

system_type is always a run argument: gas_cluster, surface_cluster, gas_cluster_adsorbate, surface_cluster_adsorbate, surface, or surface_adsorbate. Surfaces need surface_config=; adsorbates need adsorbates=.

Output: run_go writes {path_key}_searches/; GO+TS/TS use a campaign root with sibling {path_key}_searches/ and {path_key}_ts_results/ (e.g. Pt5_OH_OH_graphite_searches). See quickstart.

Examples

examples/ — MACE + TorchSim smoke scripts for the supported system types (example_pt5_*.py, example_defected_graphite.py, example_n_doped_graphite.py).

Development

pip install -e ".[mace,dev]"   # or [uma,dev] / [upet,dev]
pre-commit install
pytest tests/ -m "not slow"

Long MLIP sweeps: benchmark/.


MIT License — see LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scgo-0.6.4.tar.gz (616.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scgo-0.6.4-py3-none-any.whl (757.0 kB view details)

Uploaded Python 3

File details

Details for the file scgo-0.6.4.tar.gz.

File metadata

  • Download URL: scgo-0.6.4.tar.gz
  • Upload date:
  • Size: 616.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for scgo-0.6.4.tar.gz
Algorithm Hash digest
SHA256 245462077f1af3efffebdfe9a8c0a9d3732445a9e6203c647ead43d12e55677a
MD5 6fd53b14ed6295607bb6f74a6bb53786
BLAKE2b-256 45339e83329c91fffa8fec8748852180ba40bda5c2a514c635b449fc7eb46e39

See more details on using hashes here.

Provenance

The following attestation bundles were made for scgo-0.6.4.tar.gz:

Publisher: publish-pypi.yml on rlaplaza-lab/scgo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scgo-0.6.4-py3-none-any.whl.

File metadata

  • Download URL: scgo-0.6.4-py3-none-any.whl
  • Upload date:
  • Size: 757.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for scgo-0.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 be4a5aa8f3f205fd70955872ca3455b6c6c10763ee7d7a2d0ad876c27e937f27
MD5 51dccd1ec457a1a00d1fce139c4245cc
BLAKE2b-256 b696795a74de6e9ffcc4ed16fdb96cf3a40f15d8fed7dcec471831674deaeb33

See more details on using hashes here.

Provenance

The following attestation bundles were made for scgo-0.6.4-py3-none-any.whl:

Publisher: publish-pypi.yml on rlaplaza-lab/scgo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.8.0

2 files

0.7.0

2 files

0.6.5

2 files

This release

0.6.4 This release

2 files

0.6.3

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.2

2 files

0.5.1

2 files

0.4.0

2 files

0.2.0

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page