All Pages
driver

driver is a tool that allows one to to use plumed to post-process an existing trajectory.

The input to driver is specified using the command line arguments described below.

In addition, you can use the special READ command inside your plumed input to read in colvar files that were generated during your MD simulation. The values read in can then be treated like calculated colvars.

The input trajectory is specified using one of the following
–ixyz the trajectory in xyz format
–igro the trajectory in gro format
The following must be present
–plumed ( default=plumed.dat ) specify the name of the plumed input file
–timestep ( default=1.0 ) the timestep that was used in the calculation that produced this trajectory in picoseconds
–trajectory-stride ( default=1 ) the frequency with which frames were output to this trajectory during the simulation
–multi ( default=0 ) set number of replicas for multi environment (needs mpi)
The following options are available
–help/-h ( default=off ) print this help
–help-debug ( default=off ) print special options that can be used to create regtests
–noatoms

( default=off ) don't read in a trajectory. Just use colvar files as specified in plumed.dat

–length-units units for length, either as a string or a number
–dump-forces dump the forces on a file
–dump-forces-fmt ( default=%f ) the format to use to dump the forces
–pdb provides a pdb with masses and charges
–box

comma-separated box dimensions (3 for orthorombic, 9 for generic)

Examples

The following command tells plumed to postprocess the trajectory contained in trajectory.xyz by performing the actions described in the input file plumed.dat. If an action that takes the stride keyword is given a stride equal to \(n\) then it will be performed only on every \(n\)th frame in the trajectory file.

plumed driver --plumed plumed.dat --ixyz trajectory.xyz

The following command tells plumed to postprocess the trajectory contained in trajectory.xyz. by performing the actions described in the input file plumed.dat. Here though –trajectory-stride is set equal to the frequency with which frames were output during the trajectory and the –timestep is equal to the simulation timestep. As such the STRIDE parameters in the plumed.dat files are no longer ignored and any files output resemble those that would have been generated had we run the calculation we are running with driver when the MD simulation was running.

plumed driver --plumed plumed.dat --ixyz trajectory.xyz --trajectory-stride 100 --timestep 0.001