Skip to main content
NVIDIA
ALCHEMI VASP Microservice
Container
NVIDIA

ALCHEMI VASP Microservice

A web service which manages running VASP on GPUs

ALCHEMI VASP Microservice Overview

Description

The ALCHEMI VASP Microservice container packages a GPU-accelerated REST web service that runs VASP (Vienna Ab initio Simulation Package)1 plane-wave density functional theory calculations on NVIDIA GPUs. Clients submit a calculation as a JSON request over HTTP, poll for status, and retrieve energies, forces, stresses, and the full set of VASP output files.

The container houses the following program classes:

  • ALCHEMI Quantum Chemistry web service — a FastAPI frontend that validates requests and a multiprocess backend scheduler that dispatches calculations across every GPU visible to the container. The scheduler detects the CPU/GPU memory hierarchy and pins each task to the CPU cores with the best affinity for its GPU, uses NVIDIA Multi-Process Service (MPS) to co-locate multiple calculations on a single GPU, and sizes concurrency from per-job GPU memory estimates.
  • VASP build recipe — an optimized makefile.include tuned for the NVIDIA HPC SDK, a run_vasp.sh launcher, and a Dockerfile.vasp that compiles VASP against the NVHPC compilers, CUDA, and Intel oneAPI MKL.
  • NVIDIA HPC SDK runtime — the compiler runtime, CUDA libraries, and OpenACC support that GPU-accelerated VASP links against.
  • Example workloads — runnable examples covering plane-wave cutoff convergence, gamma-point-only calculations, load-balanced multi-replica deployment, and using the service as a drop-in replacement for the vasp executable.

This container does not include VASP source code, VASP binaries, or VASP pseudopotential (POTCAR) files. VASP is licensed software developed and distributed by VASP Software GmbH, and NVIDIA distributes none of it. To obtain a working service, you must hold a valid VASP license, download the VASP 6.6 source and (optionally) POTCAR files from the VASP portal, and build them into this container using the provided Dockerfile.vasp. See the Install guide for the build procedure.

The container components are ready for commercial or non-commercial use.

License/Terms of Use

GOVERNING TERMS: Use of this container is governed by the NVIDIA Software License Agreement and the Product-Specific Terms for NVIDIA AI Products.

Additional third-party terms. VASP is not included in, or licensed with, this container. VASP is licensed separately by VASP Software GmbH, and your use of VASP — including compiling it into this container and running it through this service — is governed solely by your license agreement with VASP Software GmbH. NVIDIA grants no rights to VASP source code, binaries, or pseudopotential files. Open-source components redistributed in the container are listed with their licenses in /opt/workdir/Third_party_attr.txt inside the image.

You are responsible for ensuring that your use of this NVIDIA provided container and its outputs complies with all applicable laws.

File an NVIDIA Product Legal Request or File an NVBug for Open Source Contribution.

Deployment Geography

Global

Export compliance note. The container as distributed by NVIDIA contains no VASP source code, binaries, or pseudopotential files. You are responsible for export compliance with respect to any VASP source, binaries, POTCAR files, or other third-party content you add to the container, and for the distribution of any derived images you build.

Release Date

NGC 09/02/2026

via https://catalog.ngc.nvidia.com/orgs/nvidia/-/containers/alchemi-vasp-microservice/-

Program Classes

The ALCHEMI VASP Microservice container includes no machine learning models. It houses the following program classes:

Component Name & LinkUse CaseHow the Component Is Provided
ALCHEMI Quantum Chemistry web serviceAccepts quantum chemistry calculation requests over REST, schedules them across available GPUs, and returns results and output filesIncluded in the container
NVIDIA HPC SDK 26.5 (CUDA 13.2)Provides the compiler runtime, CUDA libraries, and OpenACC support that GPU-accelerated VASP requiresIncluded in the container
VASP build recipe (Dockerfile.vasp, makefile.include, run_vasp.sh)Compiles user-supplied VASP source into a GPU-optimized binary layered on top of this containerIncluded in the container
Example workloads and client scriptsDemonstrate cutoff convergence, gamma-point calculations, multi-replica deployment, and executable-style usageIncluded in the container at /opt/examples
VASP 6.6 source codeThe plane-wave DFT code executed by the serviceNot included. Download from the VASP portal under your own VASP license and build it in with Dockerfile.vasp
VASP pseudopotentials (POTCAR files)Element pseudopotentials required by VASP calculationsNot included. Supply at run time by mounting at /opt/potcar, or send in the request

Deployment Details

The microservice is designed and optimized to run on NVIDIA GPU-accelerated systems. By leveraging NVIDIA's hardware (GPU cores, Multi-Process Service) and software frameworks (CUDA libraries, the NVIDIA HPC SDK, OpenACC), VASP achieves substantially faster time-to-solution than CPU-only execution, and the service scheduler keeps GPUs saturated by running multiple calculations concurrently on each device.

Prerequisites

  • x86-64 host with one or more NVIDIA GPUs. The default build targets compute capabilities 7.5, 8.0, 8.6, 8.9, 9.0, 10.0, and 12.0 (Turing through Blackwell).
  • NVIDIA driver compatible with CUDA 13.2.
  • NVIDIA Container Toolkit.
  • A valid VASP 6.6 license and access to the VASP portal.

Step 1 — Gather the Build Components

The container NVIDIA distributes on NGC contains the webservice, the NVIDIA HPC SDK compilers, and an optimized Makefile, but no VASP source, binaries, or pseudopotentials. Building a working service requires two components:

  1. Dockerfile.vasp, which adds VASP to the webservice container. Download it from the Install guide.
  2. The VASP 6.6 source code from the VASP portal downloaded to a directory that can be mounted by Docker.

Step 2 — Build the Container

Place all files in the same directory and invoke the build:

docker build \
  -f Dockerfile.vasp \
  -t alchemi-vasp:latest .

Use the VASP_TARGET_CPU and VASP_TARGET_GPU build arguments to specify the target CPU and GPU architectures the nvfortran compiler builds for.

The built container contains licensed VASP material and must not be redistributed.

Step 3 — Run the Service

docker run -it --rm \
    --runtime=nvidia \
    -p 127.0.0.1:8000:8000 \
    -v /path/to/vasp-potcars/:/opt/potcar \
    -e ALCHEMI_SERVICE_TOKEN=private-token \
    --pid=host \
    alchemi-vasp:latest

--pid=host is optional and only required to track memory use.

Mounting a POTCAR directory is optional. You can also provide POTCARs in the request to the microservice.

Set the ALCHEMI_SERVICE_TOKEN to control access to the microservice. If no token is provided, one will be generated and printed to the container logs.

The service must only be accessible to those licensed by VASP.

Step 4 — Submit Calculations

The service listens on port 8000 and publishes interactive API documentation at /docs and an OpenAPI specification at /openapi.json.

EndpointPurpose
POST /inferRun a calculation and block until it completes
POST /submitQueue a calculation and return a request ID immediately
GET /status/{request_id}Check whether a request is RUNNING, COMPLETED, or UNKNOWN
GET /result/{request_id}Retrieve the result summary
GET /files/{request_id}/downloadDownload all VASP output files as a tar archive
POST /input/uploadUpload large input files ahead of a request
GET /v1/status, GET /v1/status/instanceService-wide and per-instance health

All endpoints except the container health require a bearer token with the ALCHEMI_SERVICE_TOKEN set during Step 3.

Configuration

Execution and file-management behavior is controlled with environment variables, including ALCHEMI_MAX_JOBS_PER_GPU, ALCHEMI_MAX_CPUS_PER_CORE, ALCHEMI_OUTPUT_RETENTION, ALCHEMI_SCHEDULE_DEPTH, ALCHEMI_LAUNCH_DELAY, and ALCHEMI_INPUTS_CAPACITY. See the Configure guide for the full list and performance-tuning guidance.

Scaling

Multiple replicas can run behind a load balancer provided they share the /workspace/completed and /workspace/input directories on a common file system. See the Deploy guide.

References

Container Versions

VersionDescription
alchemi-vasp:v0.1.0First GA release. Deployable service image built on NVIDIA HPC SDK 26.9 (CUDA 13.3, Ubuntu 24.04). Contains the web service, VASP build recipe, and examples; contains no VASP source, binaries, or POTCAR files. Runs as non-root user appuser (UID 1001). Architecture: linux/amd64. Multi-node: not supported.

Security Common Vulnerabilities and Exposures (CVEs)

Please review the Security Scanning tab on NGC to view the latest security scan results. For certain open-source vulnerabilities listed in the scan results, NVIDIA provides a response in the form of a Vulnerability Exploitability eXchange (VEX) document. The VEX information can be reviewed and downloaded from the Security Scanning tab.

Ethical Considerations

NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. Developers should work with their internal developer team to ensure these software components meet requirements for the relevant industry and use case and address unforeseen product misuse.

Users are responsible for ensuring the physical properties of computed structures and molecules are appropriately evaluated and comply with applicable safety regulations and ethical standards. This microservice performs minimal validation of VASP input files; users are responsible for the scientific validity of the input parameters, pseudopotential choices, and k-point sampling they supply, and for verifying convergence of the results it returns.

Please report quality, risk, security vulnerabilities or NVIDIA AI Concerns here.

Get Help

Getting Started with the Microservice

Deploying and integrating the microservice is straightforward thanks to our industry standard APIs. Visit the ALCHEMI Quantum Chemistry Microservices documentation for release documentation, deployment guides, and more.

Further Support

The microservice is developed by NVIDIA and is not supported by VASP Software GmbH. Contact NVIDIA for assistance with problems related to building, deploying, or using the container.

Footnotes

  1. The Vienna Ab initio Simulation Package (VASP) is a trademark of VASP Software GmbH. ↩

Publisher
NVIDIA
LicenseNVIDIA proprietary
Latest Tag1.0.0
UpdatedDecember 1, 2026 UTC
Compressed Size3.54 GB
Multinode SupportNo
Multi-Arch SupportNo

Modal Content

NVIDIA uses cookies to improve your experience on our web site. We and our third-party partners also use cookies and other tools to collect and record information you provide as well as information about your interactions with our websites for performance improvement, analytics, and to assist in marketing efforts. By clicking "Accept All", you consent to our use of cookies and other tools as described in our Cookie Policy. You can manage your cookie settings by clicking on "Manage Settings." By continuing to use this site or by clicking one of the buttons below, you agree to our Terms of Service (which contains important waivers). Please see our Privacy Policy for more information on our privacy practices.