19.01.2015 Views

MOLPRO

MOLPRO

MOLPRO

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4 GENERAL PROGRAM STRUCTURE 16<br />

in dump record 2100.2, the second SCF in record 2101.2, the first MCSCF in 2140.2, the second<br />

MCSCF in 2141.2 and so on. Note that these numbers refer to the occurrence in the input and<br />

not on the order in which the calculations are performed in the actual run. If an input or part of<br />

it is repeated using DO loops, this ensures that each calculation will start with the orbitals from<br />

the corresponding orbitals from the previous cycle, as long as the order of the commands in the<br />

input remains unchanged. If for instance the first SCF would be skipped in the second cycle<br />

using some IF / ENDIF structure, the second SCF would still use record 2101.2. Thus, under<br />

most circumstances the program defaults are appropriate, and the user does not have to specify<br />

the records.<br />

After a restart this logic will still work correctly if the number and sequence of SCF and MCSCF<br />

commands is kept unchanged. Thus, if you want to skip certain parts of the input after a restart,<br />

it is recommended to use IF / ENDIF structures or the GOTO command rather than to delete or<br />

comment certain commands. If for some reason this is not possible, the START and ORBITAL<br />

directives can be used to specify explicitely the records to be used.<br />

In general we recommend the use of program defaults whenever possible, since this minimizes<br />

the probability of input errors and frustration!<br />

After completion of each program step, <strong>MOLPRO</strong> prints a summary of the records on each file.<br />

4.4 Restart<br />

Information from the permanent files is automatically recovered in subsequent calculations.<br />

This can be controlled using the RESTART directive.<br />

4.5 Data set manipulation<br />

It is possible to truncate files and rename or copy records using the DATA command. Several<br />

standard matrix operations can be performed with MATROP, e.g., printing records, linearly<br />

combining or multiplying matrices, or forming the trace of a product of two matrices.<br />

4.6 Memory allocation<br />

<strong>MOLPRO</strong> allocates memory dynamically as required by the user on the MEMORY card. Thus it is<br />

not necessary to maintain different versions of the program with different memory sizes. If the<br />

MEMORY command is omitted, the program will use a default memory size, which depends on<br />

the hardware used and how the program was installed. Note that, on Unix machines, the default<br />

memory can be set on the molpro command line using the flag -m.<br />

4.7 Multiple passes through the input<br />

It is possible to perform loops over parts of the input using DO loops, very much as in FORTRAN<br />

programs. DO loops may be nested to any reasonable depth. This can be conveniently used, for<br />

instance, to compute automatically whole potential energy surfaces.<br />

4.8 Symmetry<br />

<strong>MOLPRO</strong> can use Abelian point group symmetry only. For molecules with degenerate symmetry,<br />

an Abelian subgroup must be used — e.g., C 2v or D 2h for linear molecules. The symmetry

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!