CYANA Macro: forall: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
Line 11: Line 11:
This macro performs a loop over all selected structures, copies them into the structure memory #0, executes the user ''commands'', and copies the structure back to the structure memory. Optionally, it is possible to '''save''' the structures as angle files with names ''dnnnmmm''.ang (''nnn'' denotes the current process number, and ''mmm'' the structure number). The calculation may be executed in '''parallel''' (if the INCLAN variable '''nproc''' has a value larger than 1). For example:
This macro performs a loop over all selected structures, copies them into the structure memory #0, executes the user ''commands'', and copies the structure back to the structure memory. Optionally, it is possible to '''save''' the structures as angle files with names ''dnnnmmm''.ang (''nnn'' denotes the current process number, and ''mmm'' the structure number). The calculation may be executed in '''parallel''' (if the INCLAN variable '''nproc''' has a value larger than 1). For example:


  forall parallel "vtfmin steps=100,800; angstat make"
  '''forall parallel "vtfmin steps=100,800; angstat make"'''


This command minimizes all selected structures using the macro '''vtfmin''' with the given number of steps and include the resulting structures into the angle statistics.
This command minimizes all selected structures using the macro '''vtfmin''' with the given number of steps and include the resulting structures into the angle statistics.

Revision as of 13:58, 12 August 2009

Parameters

parameters
save
parallel
skip

Description

This macro performs a loop over all selected structures, copies them into the structure memory #0, executes the user commands, and copies the structure back to the structure memory. Optionally, it is possible to save the structures as angle files with names dnnnmmm.ang (nnn denotes the current process number, and mmm the structure number). The calculation may be executed in parallel (if the INCLAN variable nproc has a value larger than 1). For example:

forall parallel "vtfmin steps=100,800; angstat make"

This command minimizes all selected structures using the macro vtfmin with the given number of steps and include the resulting structures into the angle statistics.