next up previous contents index
Next: Scripting interface (Tcl): list Up: Biasing and analysis methods Previous: Defining scripted biases   Contents   Index

Performance of scripted biases

If concurrent computation over multiple threads is available (this is indicated by the message ``SMP parallelism is available.'' printed at initialization time), it is useful to take advantage of the scripting interface to combine many components, all computed in parallel, into a single variable.

The default SMP schedule is the following:

  1. distribute the computation of all components across available threads;
  2. on a single thread, collect the results of multi-component variables using polynomial combinations (see [*]), or scripted functions (see [*]);
  3. distribute the computation of all biases across available threads;
  4. compute on a single thread any scripted biases implemented via the keyword scriptedColvarForces.
  5. communicate on a single thread forces to VMD.

The following options allow to fine-tune this schedule:


next up previous contents index
Next: Scripting interface (Tcl): list Up: Biasing and analysis methods Previous: Defining scripted biases   Contents   Index
vmd@ks.uiuc.edu