Skip to main content

Rapid materials discovery using MLIPs

Project description

rapmat

Rapid materials discovery TUI tool, based on random crystal generation and machine learning interatomic potentials.

Installation

An Nvidia GPU is highly recommended. Linux is recommended as well, since all backends are currently supported on Linux systems. Conda may be useful.

Linux

Install pytorch<2.10.0 with CUDA support if you have an NVIDIA GPU, otherwise skip this step:

pip install torch==2.9.1 torchvision --index-url https://download.pytorch.org/whl/cu126

Then install rapmat:

# basic install
pip install rapmat

# mattersim support
pip install rapmat[mattersim]

# all calculators at once
pip install rapmat[all-calculators]

Run its TUI:

rapmat

Windows

On Windows, only the UPET and MatterSim (the latter if built with its prerequisites installed) MLIPs are supported.

One way to overcome the Windows limitations is WSL2 -- check the Nvidia or Ubuntu guides.

Install WSL2

wsl.exe --install
  • Ensure it's up to date:
wsl.exe --update
  • Enter into WSL (Ubuntu is the default distro):
wsl.exe
  • Install CUDA Toolkit inside WSL:
$ wget https://developer.download.nvidia.com/compute/cuda/repos/wsl-ubuntu/x86_64/cuda-keyring_1.1-1_all.deb

$ sudo dpkg -i cuda-keyring_1.1-1_all.deb

$ sudo apt-get update

$ sudo apt-get -y install cuda-toolkit-13-2

Update the linker paths

NequIP compiles its CUDA kernels and needs the CUDA (stub) libraries on the linker path before installation:

export LIBRARY_PATH=/usr/local/cuda/lib64/stubs:$LIBRARY_PATH

Or, even better, add it to the ~/.bashrc to make it permanent:

echo 'export LIBRARY_PATH=/usr/local/cuda/lib64/stubs:$LIBRARY_PATH' >> ~/.bashrc
source ~/.bashrc

Proceed to the linux install guide

Usage

Basic concepts

A study defines the system (e.g. Al-O) you are working on and the calculation settings like calculator, forces convergence criterion or pressure. A run defines a specific formula x [formula units range]: e.g. Al2O3 x 6..8 constituting the unit cell being calculated.

Each run belongs to exactly one study, while a study may have many runs. Runs in one study may overlap, but you can view and perform actions such as deduplication or thickness filtering for only one run at a time.

Project details


Download files

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

Source Distribution

rapmat-0.3.5.tar.gz (139.9 kB view details)

Uploaded Source

Built Distribution

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

rapmat-0.3.5-py3-none-any.whl (135.5 kB view details)

Uploaded Python 3

File details

Details for the file rapmat-0.3.5.tar.gz.

File metadata

  • Download URL: rapmat-0.3.5.tar.gz
  • Upload date:
  • Size: 139.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rapmat-0.3.5.tar.gz
Algorithm Hash digest
SHA256 9e2dad0699e5aa3b0ec849492ef9cd79013576d05e6076b281860850102cbdc0
MD5 8950a937c2bd1908ff0ba5dde969c1d8
BLAKE2b-256 9e6c5a6300091dfdf8931bf09f017ad9ee5cef33dec4814c1c7672b298d117d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for rapmat-0.3.5.tar.gz:

Publisher: python-publish.yml on leqord/rapmat

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

File details

Details for the file rapmat-0.3.5-py3-none-any.whl.

File metadata

  • Download URL: rapmat-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 135.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rapmat-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c2a4038b547656d94bc88cc2e84f61ab3f202941caf822903def8ae2fd88a99c
MD5 e7fabb7ab53d54fb60d47a9824f50647
BLAKE2b-256 584d588d6143c592c2f8820b1cc98b1d7b0eddcf9ac3abd8d62b2c0b4eee2c5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for rapmat-0.3.5-py3-none-any.whl:

Publisher: python-publish.yml on leqord/rapmat

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

Supported by

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