> ## Documentation Index
> Fetch the complete documentation index at: https://docs.salad.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> For autonomous tasks, use live SaladCloud API responses for current state, availability, quotas, models, and other dynamic values. Use current OpenAPI specifications where provided for paths, schemas, required fields, and enums. Never invent endpoints, fields, prices, availability, quotas, models, or state. Prefer API workflows over Portal steps. Read before changing and never expose credentials, signed media URLs, prompts, or sensitive outputs. Retry only safe or idempotent operations with bounded backoff, honoring Retry-After. Verify every write with a read. Stop rather than repeat an uncertain non-idempotent or billable request. AI Gateway uses an organization-specific Bearer key and live /v1/models discovery. Do not delete, cancel, stop, or reduce capacity without explicit user intent. Bind shared operation IDs to the selected product path. Treat Container Engine instances as interruptible and local state as ephemeral. Install the SaladCloud skills (npx skills add https://docs.salad.com), start from the salad skill and /agents/overview; docs MCP: https://docs.salad.com/mcp.

# OpenMM Playground Environment Recipe

> Deploy an OpenMM playground environment to run and explore molecular dynamics simulations on SaladCloud.

*Last Updated: July 24, 2025*

> [!TIP]
>
> Deploy from the [SaladCloud Portal](https://portal.salad.com).

## Overview

Please familiarize yourself with [OpenMM](https://openmm.org/), [OpenMM Setup](https://github.com/openmm/openmm-setup)
and the [OpenMM solution on SaladCloud](https://docs.salad.com/container-engine/how-to-guides/molecular-dynamics-simulation/openmm-srcg.md)
before running the recipe.

This recipe provides a OpenMM playground environment designed for running and exploring molecular dynamics simulations
on SaladCloud. It is ideal for researchers, students, and developers who want to experiment with OpenMM in a Cloud-based
and GPU-accelerated environment without needing to set up complex local installations.

The environment includes:

* **Python Environment** - Miniconda 25.5.1 with Python 3.12
* **JupyterLab 4.4.4** - For interactive data analysis, notebook creation and terminal access
* **[OpenMM 8.3.0 (CUDA 12.6)](https://github.com/openmm/openmm/tree/8.3.0)** - For high-performance molecular dynamics
  simulations
* **[OpenMM Setup 1.6](https://github.com/openmm/openmm-setup/tree/v1.6)** - The GUI to run OpenMM simulations
  interactively
* **[OpenMM example programs](https://github.com/openmm/openmm/tree/8.3.0/examples)** - Available in the /app/examples
  folder
* **VS Code Server** - Optional remote development access
* **Nginx HTTP Server** - Routes incoming requests to the OpenMM Setup GUI and JupyterLab based on URL prefixes
  (`/jupyter` and `/openmm`)

## Deployment

When launching the recipe, you’ll need to provide the Container Group Name and set the Replica Count to 1. You can
adjust the hardware configuration—including vCPU, memory, and GPU—as needed. The Container Gateway is mandatory and
cannot be disabled.

Please remember to shut down the instance manually in the Portal once you’re finished.

Also keep in mind that SaladCloud instances are ephemeral and can be reallocated at any time, reverting to a fresh
image. For production workloads, consider integrating your container with cloud storage to ensure data persistence.

## Access Options

Once deployed, you can access the environment through multiple interfaces:

#### Web Terminal

Click on any running instance in the SaladCloud Portal to access a browser-based terminal for command-line operations.

#### OpemMM Setup GUI

Access OpenMM Setup at `https://your-deployment-url.salad.cloud/openmm/` for interactive molecular dynamics simulations.

![](https://mintcdn.com/salad/pEBrSzH4UQRtJw00/container-engine/images/openmm-recipe1.png?fit=max\&auto=format\&n=pEBrSzH4UQRtJw00\&q=85\&s=8c34f17514e83bcd72524d1457658c4a)

#### JupyterLab

Access JupyterLab at `https://your-deployment-url.salad.cloud/jupyter/` for interactive Python development, data
analysis, and notebook creation. You can easily upload and download files directly through the JupyterLab interface.
Additionally, you can use the integrated JupyterLab terminal to run OpenMM example programs for simulations and testing.

![](https://mintcdn.com/salad/pEBrSzH4UQRtJw00/container-engine/images/openmm-recipe2.png?fit=max\&auto=format\&n=pEBrSzH4UQRtJw00\&q=85\&s=5a608d4e51739779c2ada9fca64bb938)

#### Visual Studio Code

To debug code, you can start the VS Code Server using either the JupyterLab terminal or the Web Terminal, and then
connect to it using VS Code. Please refer to
[this guide](https://docs.salad.com/container-engine/tutorials/development-tools/vscode-remote-development.md#interactive-mode) for more details.

## Source Code

The complete source code for this recipe is available in the
[SaladCloud Recipes GitHub repository](https://github.com/SaladTechnologies/salad-recipes/tree/master/recipes/openmm-srcg).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.