IOp
The IOp keyword allows the user to set internal options (variables in system common /IOp/) to specific values. The execution of each overlay of Gaussian is controlled by numbered options. Each option may be assigned an integer value, with 0 being the default. The value of an option is held unchanged throughout execution of all of the links in one overlay. Thus the significance of a particular option applies to all the component links in one pass through the overlay. Since setting internal options can have arbitrary effects on the calculation, archiving is disabled by use of this keyword.
The syntax for specifying an internal option is:
IOp(overlaya/optiona=valuea [,overlayb/optionb=valueb, …])
which sets option number optiona to the value valuea for every occurrence of overlay number overlaya (and so on for other entries in the list). For example, the following sets the value of option 12 in overlay 1 to 5 and that of option 44 in overlay 3 to 0: IOp(1/12=5,3/44=0)
IOp values explicitly set in the route section are not passed on to the second and subsequent automatically-generated job steps; this applies to keyword combinations like Opt Freq and to inherently multi-step methods such as G2 and the CBS methods. For example, if you want to specify an alternate grid for a DFT optimization+frequency job, you must use an option to the Int=Grid keyword rather than an explicit IOp value.
The full list of Gaussian options is given in the Gaussian IOps Reference.
Alternate Syntax for Specifying Values
IOps can also be set using several alternative formats. In the specifications below, IOp 5 in overlay 3 (i.e., 3/5) is used as an example:
- 3/5B=N: Specify a binary value rather than a decimal one (i.e., N is interpreted as a binary integer).
- 3/5D=N: Specify a decimal substitution mask. Each non-zero digit in N is copied to the corresponding place in the default value. For example, if the default value is 17, then 3/5D=230 would set the IOp to the value of 237, and 3/5D=203 would set the value to 217.
- 3/5+=N: Add N to the default value.
- 3/5–=N: Subtract N from the default value.
- 3/5A=N: Perform a bitwise AND of N with the default value.
- 3/5O=N: Perform a bitwise OR of N with the default value.
If both A= and O= are specified, the AND operation is performed first.
