> This page is for version latest (default).
> For other versions, use one of these documentation indexes:
> - latest (default): https://docs.nvidia.com/alchemi/vasp/latest/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/alchemi/vasp/llms.txt.

# ALCHEMI VASP Microservice

> Run VASP calculations through a GPU-accelerated REST microservice.

The ALCHEMI VASP Microservice exposes [VASP](https://vasp.at/)[^1]
through a REST API,
running your calculations on NVIDIA GPUs
while optimizing calculation throughput.

## Key Capabilities

The microservice provides the following capabilities:

* Runs as a Docker container for easy deployment.
* Uses NVIDIA Multi-Process Service (MPS) for efficient GPU utilization.
* Adjusts the number of concurrent tasks based on available GPU resources.
* Ensures optimal memory affinity between CPU cores and GPUs for each task.

The VASP microservice assigns each calculation to one GPU,
which is best suited for small-to-medium calculations
and not large-scale parallel runs.

## How It Works

The microservice runs inside a container and exposes a FastAPI frontend.
A multiprocess scheduler executes jobs across every available GPU.

To use it, submit a calculation, track its status, and retrieve the result and
output files over HTTP.

## Next Steps

Continue with any of the following sections:

* [Install](/alchemi/vasp/install) the container and its dependencies.
* [Configure](/alchemi/vasp/configure) execution and file-management behavior.
* [Deploy](/alchemi/vasp/deploy) the service, including multi-replica setups.
* [Use the microservice](/alchemi/vasp/use) to submit calculations and read results.
* [Review examples](/alchemi/vasp/examples) of how to use the service.
* Browse the [API Reference](/alchemi/vasp/api) for every endpoint and schema.

[^1]: The Vienna Ab initio Simulation Package (VASP) is a trademark of VASP Software GmbH.