Article ID: 1009 - Last Modified: January 19, 2012
How do I continue a Desmond simulation?
There are two scenarios for continuing a Desmond simulation: with the same parameters, or with modified parameters. These two scenarios use different files.
If you want to continue with the same parameters and number of processors, the easiest and most accurate way is to use the checkpoint file saved at the end of the simulation. To restart the simulation from Maestro, follow these steps:
- Choose Applications → Desmond → task.
- Choose Import from file in the Model system section.
- Click Browse and navigate to the checkpoint file (
.cpt). - Increase the total simulation time. (This is the only parameter that you can adjust.)
- To avoid overwriting the files from the original simulation, do one of the following:
- Change to a new working directory in Maestro, either by choosing Change Directory from the Maestro menu, or by using the cd command in the Commands text box.
- Use a different job name when you start the job
- Start the job.
To restart the simulation from the command line, follow these steps:
- Open the
.cfgfile in a text editor. - Increase the value assigned to
last_time. This is the total simulation time. - To avoid overwriting the files from the original simulation, either change to a new directory, or rename the
.cfg,.cpt, and.cmsfiles, before running the job - Start the job with the following command:
$SCHRODINGER/desmond -exec mdsim -P processors -HOST host -restore checkpoint-file -c config-file
The path to the checkpoint file and config file must be specified as the path from the new directory or to the renamed files. The value of processors must be the same as in the original job.
If you want to change the simulation parameters or run on a different number of processors you must use the output CMS file from the previous run. Since this file does not store all of the information to exactly continue the simulation, the new run will not be a strict continuation of the original simulation.
In particular, the velocities will be randomized again unless you increase the first randomization time to a value that is greater than the total (new) simulation time.
To restart the simulation from Maestro, follow these instructions:
- Choose Applications → Desmond → task.
- Choose Import from file in the Model system section.
- Click Browse and navigate to the output CMS file (
.cms). - If you want to start with the same settings as the previous job and make adjustments, click Read, and read the config file (
.cfg)for the original job. - Increase the total simulation time, and make any other desired changes to the settings. In particular, adjust the Randomize velocities setting in the Misc tab of the Advanced Options panel to avoid velocity randomization.
- To avoid overwriting the files from the original simulation, do one of the following:
- Change to a new working directory in Maestro, either by choosing Change Directory from the Maestro menu, or by using the cd command in the Commands text box.
- Use a different job name when you start the job
- Start the job.
To restart the simulation from the command line, follow these steps:
- Open the
.cfgfile in a text editor. - Increase the value assigned to
last_time, and make any other desired changes to the settings. In particular, ensure that you include arandomize_velocity = {...}block with appropriate settings if you do not want the velocities randomized again. - To avoid overwriting the files from the original simulation, either change to a new directory, or rename the
.cfg,.cpt, and.cmsfiles, before running the job - Start the job with the following command:
$SCHRODINGER/desmond -exec mdsim -P processors -HOST host -in cms-file -c config-file
You will have to insert the path from the new directory to the CMS file and config file or use the new names.
Keywords: Desmond, continue simulation
Type the words or phrases on which you would like to search, or click here to view a list of all
Knowledge Base articles

