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.

1 HOW TO READ THIS MANUAL 1<br />

1 HOW TO READ THIS MANUAL<br />

This manual is organized as follows: The next chapter gives an overview of the general structure<br />

of <strong>MOLPRO</strong>. It is essential for the new user to read this chapter, in order to understand the<br />

conventions used to define the symmetry, records and files, orbital spaces and so on. The later<br />

chapters, which describe the input of the individual program modules in detail, assume that you<br />

are familiar with these concepts. The appendices describe details of running the program, and<br />

the installation procedure.<br />

Throughout this manual, words in Typewriter Font denote keywords recognized by MOL-<br />

PRO. In the input, these have to be typed as shown, but may be in upper or lower case. Numbers<br />

or options which must be supplied by the user are in italic. In some cases, various different<br />

forms of an input record are possible. This is indicated as [options], and the possible options are<br />

described individually in subsequent subsections.<br />

2 RUNNING <strong>MOLPRO</strong><br />

On Unix systems, <strong>MOLPRO</strong> is accessed using the molpro unix command. The syntax is<br />

molpro<br />

[options] [datafile]<br />

<strong>MOLPRO</strong>’s execution is controlled by user-prepared data; if datafile is not given on the command<br />

line, the data is read from standard input, and program results go to standard output. Otherwise,<br />

data is taken from datafile, and the output is written to a file whose name is generated from<br />

datafile by removing any trailing suffix, and appending .out. If the output file already exists,<br />

then the old file is appended to the same name with suffix .out 1, and then deleted. This provides<br />

a mechanism for saving old output files from overwriting. Note that the above behaviour<br />

can be modified with the -o or -s options.<br />

2.1 Options<br />

Most options are not required, since sensible system defaults are usually set. Options as detailed<br />

below may be given, in order of decreasing priority, on the command line, in the environment<br />

variable <strong>MOLPRO</strong> OPTIONS, or in the files ./molpro.rc, $HOME/.molprorc,<br />

and tuning.rc in the library files directory.<br />

-d dir1:dir2:... where dir1:dir2:... is a list of directories which may be used for<br />

creating scratch files. Each of the directories should be writable<br />

by those who will use the program, and the directory specification<br />

may contain embedded environment variables in shell form, for<br />

example $TMPDIR or /tmp/$USER; these will be expanded at<br />

run time. If multiple scratch file systems are available, it is advantageous<br />

to present a list of directories of which there is one in<br />

each file system. Some parts of <strong>MOLPRO</strong> present extreme I/O demands,<br />

and it is therefore important to be careful in optimizing the<br />

provision and specification of scratch directories.<br />

Note that in the building of bin/molpro, the environment variables<br />

$TMPDIR, $TMPDIR2, $TMPDIR3,... are used to construct<br />

the list of scratch directories for the -d option. Thus, these<br />

environment variables should at make time be filled with the names

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

Saved successfully!

Ooh no, something went wrong!