Skip to content

Deploying BioSimulations in alternative environments

As discussed here, although BioSimulations use Slurm to run simulations, BioSimulations is designed to be easily modified to execute simulations with other environments.

Simulations are executed by the dispatch-service. This service generates Slurm scripts to run simulations, submits these scripts via an SSH connection to a Slurm queue, and uses an SSH connection to monitor simulation jobs. When jobs complete, the service retrieves their logs via SSH and submits them to BioSimulations' API.

The following modifications are needed to deploy BioSimulations in other systems:

  • Slurm-based HPCs: The path to the dispatch-service user's home directory, the location of the simulation file, and other configuration variables must be modified. This is done simply by setting the appropriate environment variables through the application config. An example configuration is available here.

  • Other job schedulers: The generation of the Sbatch script and submission of the job must be modified to support the desired scheduler. The job submission and monitoring code must also be modified to support the desired scheduler. The following files contain the code that must be modified:

  • Cloud-based compute: Using a cloud-based environment may also require changing how simulation runs are monitored and how their logs are retrieved. The following files contain the code that may need to be modified:

For further assistance, please contact the BioSimulations Team.

Last update: 2022-01-20
Back to top