Skip to main content

Rapmat - rapid materials discovery using MLIPs and random search

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.

Install WSL2

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

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.3.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.3-py3-none-any.whl (135.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rapmat-0.3.3.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.3.tar.gz
Algorithm Hash digest
SHA256 8f47bc3eca3a4495c496476fe1eb1334dd229b803ca1ff2a590654d6845c9b6a
MD5 c267c72fddb571fc290feaddc7464148
BLAKE2b-256 c16c70c695c3b405003f0f96b2777920adc2c09f654accecbc8a8d0b0e467490

See more details on using hashes here.

Provenance

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

Publisher: python-publish.yml on milevevvvv/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.3-py3-none-any.whl.

File metadata

  • Download URL: rapmat-0.3.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 09972e713d765c9aba6279ffe1a9bbe178487a25838c2aa5ab75f678ba4ac1e0
MD5 57016beffbb4b096205ee1b4cb32ab31
BLAKE2b-256 6c368d409f4d20966c66d1a494f6f595d76bf5db1b32bd7a7c19fee82589a033

See more details on using hashes here.

Provenance

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

Publisher: python-publish.yml on milevevvvv/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