
Use this guide to check GPU access, select a compatible GROMACS environment, and benchmark your own simulation on a cloud GPU. The original RTX 4090 launch target is no longer available for new Compute workloads; see the current GPU fleet and check the console for launchable presets.
This is a setup and validation workflow, not a tested image-and-dataset package. It does not supply a benchmark dataset or measured results. Validate your chosen GPU, driver, GROMACS build, and simulation inputs before relying on the results.
This guide assumes:
Compute supports containers and virtual machines. Containers do not provide root or sudo access; virtual machines provide operating-system control. If your container needs system dependencies, include them in a suitable image. A custom template records launch configuration; it does not back up changes made inside a running instance.
Environment checks before launch
Do not assume GROMACS is preinstalled. Check the image documentation and verify the executable after connecting.
Launch the instance.
SSH into the instance using the command shown in the UI.
First check that the GPU is visible:
nvidia-smi
Confirm that the GPU model matches the preset you selected. This checks device visibility, not whether your GROMACS build can run on that GPU.
If nvidia-smi fails or shows no GPU, pause the setup and inspect the error and instance configuration. Preserve your files and share the instance ID and error with Support if needed. Do not terminate an instance as an automatic troubleshooting step: termination deletes its data.
Choose a prebuilt environment or a source build according to your access and software requirements. Neither path below is a claim that a specific GROMACS image has been tested on Compute.
Use an image from a source you trust, with documented GROMACS and GPU compatibility. Record its exact tag or digest so you can repeat the setup.
For a container instance, configure that image through a custom template and verify that it works with Compute’s access requirements. Do not assume Docker is available inside an already-running container.
command -v gmx
If the executable is available, inspect its build information:
gmx --version
Check the reported version and GPU support. A successful version check does not prove runtime compatibility; confirm that with the test run below.
The commands below assume gmx is available in this same environment. If your installation uses a different executable or launch wrapper, use it consistently.
Choose a source build when you need specific build options or cannot find a suitable prebuilt environment. Use a virtual machine if you need operating-system package installation; a user-local build in a container still requires its dependencies to be available.
At a high level, this means:
Follow the official GROMACS installation guide for your selected release. Enable CUDA support with -DGMX_GPU=CUDA, check its compiler and CUDA requirements against the actual GPU and driver, and run the documented build tests. See NVIDIA’s Blackwell compatibility guidance when evaluating an older build for a newer GPU.
Keep the build recipe, inputs, and results outside the instance. A template can reuse an image and launch settings, but it does not capture arbitrary live filesystem changes. Check the stop and termination rules before relying on local storage.
Create a working directory:
mkdir -p ~/gromacs
cd ~/gromacs
You need a valid .tpr file compatible with your selected GROMACS version to run mdrun.
If you already have one, copy it here as system.tpr or change the filename in the command below.
Otherwise, use your own validated simulation inputs, including any referenced topology files. The example below assumes these filenames exist; this article does not provide them:
gmx grompp -f md.mdp -c conf.gro -p topol.top -o system.tpr
For a compatible single-GPU workload, the following starting point requests GPU nonbonded work while allowing GROMACS to select supported PME and update placement. Check the GPU-offload requirements for your release and inspect the log; these flags are not a universal performance optimum.
gmx mdrun -s system.tpr -deffnm bench \
-nb gpu -pme auto -update auto -pin on
While it runs, confirm GPU activity in another shell:
nvidia-smi
GPU activity is a useful cross-check. Use the GROMACS log to confirm which tasks ran on the GPU; a utilization sample alone does not validate the simulation.
When the run finishes, record the reported performance (ns/day), elapsed time, input settings, and software and hardware versions. Repeat with the same inputs before comparing configurations.
gmx --version reports GPU supportnvidia-smi shows activity during the runTreat these as initial checks, not proof of scientific correctness. Review warnings, numerical behavior, and simulation outputs before using a run as a benchmark.
“GROMACS not found”
The executable may be absent or outside your shell path. Check the selected image or installation, then use its documented environment setup.
CUDA or GPU errors at runtime
Possible causes include build or driver compatibility, GPU visibility, and unsupported workload settings. Check the full error, nvidia-smi, gmx --version, and the run log before changing the environment.
Inconsistent performance between runs
Compare instance size, CPU allocation, software versions, input settings, and warm-up behavior. Keep the environment and workload fixed when assessing repeatability.
Performance depends on:
This article reports no measured performance results. Benchmark your own workload and compare completed work against the actual instance cost.
For a packaged or repeatable environment, maintain a versioned image and build recipe. Ask Support about platform access or instance issues; use the GROMACS documentation for application-specific setup and validation.
Check the current GPU presets and active price in the console before launching. Use a compatible image or build, and keep inputs and results backed up outside the instance. Running instances are billed per second, including idle time. You can reuse launch configuration with custom templates; check the stop and termination rules before pausing or removing an instance.
Pick one AI, compute, or storage workload and see the difference for yourself. Spin it up in minutes, or let our team map your fastest path to production.