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
-
Install the Nvidia Drivers
-
Install wsl:
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e2dad0699e5aa3b0ec849492ef9cd79013576d05e6076b281860850102cbdc0
|
|
| MD5 |
8950a937c2bd1908ff0ba5dde969c1d8
|
|
| BLAKE2b-256 |
9e6c5a6300091dfdf8931bf09f017ad9ee5cef33dec4814c1c7672b298d117d5
|
Provenance
The following attestation bundles were made for rapmat-0.3.5.tar.gz:
Publisher:
python-publish.yml on leqord/rapmat
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rapmat-0.3.5.tar.gz -
Subject digest:
9e2dad0699e5aa3b0ec849492ef9cd79013576d05e6076b281860850102cbdc0 - Sigstore transparency entry: 2084372404
- Sigstore integration time:
-
Permalink:
leqord/rapmat@7f50ec4db8bc8771c2b4eb6aa63c05f4626a8064 -
Branch / Tag:
refs/tags/0.3.5 - Owner: https://github.com/leqord
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@7f50ec4db8bc8771c2b4eb6aa63c05f4626a8064 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2a4038b547656d94bc88cc2e84f61ab3f202941caf822903def8ae2fd88a99c
|
|
| MD5 |
e7fabb7ab53d54fb60d47a9824f50647
|
|
| BLAKE2b-256 |
584d588d6143c592c2f8820b1cc98b1d7b0eddcf9ac3abd8d62b2c0b4eee2c5f
|
Provenance
The following attestation bundles were made for rapmat-0.3.5-py3-none-any.whl:
Publisher:
python-publish.yml on leqord/rapmat
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rapmat-0.3.5-py3-none-any.whl -
Subject digest:
c2a4038b547656d94bc88cc2e84f61ab3f202941caf822903def8ae2fd88a99c - Sigstore transparency entry: 2084372411
- Sigstore integration time:
-
Permalink:
leqord/rapmat@7f50ec4db8bc8771c2b4eb6aa63c05f4626a8064 -
Branch / Tag:
refs/tags/0.3.5 - Owner: https://github.com/leqord
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@7f50ec4db8bc8771c2b4eb6aa63c05f4626a8064 -
Trigger Event:
release
-
Statement type: