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 14<br />

Global options<br />

Options in procedures<br />

Command line options<br />

Options given on directives within a command block<br />

The last option set is then actually used. Thus, options specified on command lines or within<br />

command blocks have preference over procedure options, and procedure options have preference<br />

over global options.<br />

4 GENERAL PROGRAM STRUCTURE<br />

This chapter gives an overview of the most important features of <strong>MOLPRO</strong>. For the new user, it<br />

is essential to understand the strategies and conventions described in this section, in particular<br />

the meaning of files and records, and the use of symmetry. This chapter will focus on general<br />

aspects; detailed information about each command will be given in later chapters. Information<br />

about commands and parameters can also be obtained using the <strong>MOLPRO</strong> help facility (see<br />

section 4.13).<br />

4.1 Input structure<br />

A typical <strong>MOLPRO</strong> input has the following structure:<br />

***,title<br />

memory,4,m<br />

file,1,name.int<br />

file,2,name.wfu<br />

gprint,options<br />

gthresh,options<br />

gdirect[,options]<br />

gexpec,opnames<br />

basis=basisname<br />

geometry={...}<br />

var1=value,var2=value,...<br />

!title (optional)<br />

!memory specification (optional)<br />

!permanent named integral file (optional)<br />

!permanent named wavefunction file (optional)<br />

!global print options (optional)<br />

!global thresholds (optional)<br />

!global direct (optional)<br />

!global definition of one-electron operators (opt<br />

!basis specification. If not present, cc-pVDZ is<br />

!geometry specification<br />

!setting variables for geometry and/or wavefuncti<br />

{command,options<br />

!program or procedure name<br />

directive,data,option !directives for command (optional)<br />

...<br />

} !end of command block<br />

--- !end of input (optional)<br />

If the memory card is given, it should be the first card (after the optional title card). If any file<br />

cards are given, they should follow immediately. The order of basis, geometry, gprint,<br />

gdirect, gthresh, gexpec, and variable definitions is arbitrary. It is possible to call several<br />

programs one after each other. It is also possible to redefine basis set and/or geometry<br />

between the call to programs; the program will recognize automatically if the integrals have to<br />

be recomputed.

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

Saved successfully!

Ooh no, something went wrong!