File handling
FILE
The FILE directive is used to open permanent files, which can be used for later restarts. The file name must not contain parenthesis, brackets, exclamation marks, or other special characters like exclamation marks (!), question marks (?), slashes (/), backslashes (\), blanks( ), equality signs($=$), commas (,), semicolons (;), asterisks (*), or any kind of quotes(underscore is allowed). The syntax in Molpro94 and later versions is
FILE,file,name,[status]
file is the logical Molpro file number (1-9). name is the file name (will be converted to lower case). status can be one of the following:
UNKNOWNA permanent file is opened. If it exists, it is automatically restarted. This is the default.OLDSame effect asUNKNOWN. No error occurs if the file does not exist.NEWA permanent file is opened. If it already exists, it is erased and not restarted.ERASESame effect asNEW.SCRATCHA temporary file is opened. If it already exists, it is erased and not restarted. After the job has finished, the file is no longer existent.DELETESame effect asSCRATCH.
Note that RESTART is now the default for all permanent files. All temporary files are usually allocated automatically where needed. I/O buffers are allocated at the top of the dynamic memory, and the available memory decreases by the size of the buffers. The MEMORY card must therefore be presented before the first FILE card!
Examples:
FILE,1,H2O.INTallocates permanent file 1 with nameH2O.INT. Previous information on the file is recovered.FILE,2,H2O.WFU,NEWallocates permanent file 2 with nameH2O.WFU. All previous information on the file is erased.
Note that filenames are converted to lower case on unix machines.
DELETE
DELETE,file1, file2, …
Deletes the specified files. file refers to the logical Molpro file numbers as specified on the FILE card.
ERASE
ERASE,file1, file2, …
Erases the specified files. file refers to the logical Molpro file numbers as specified on the FILE card.
DATA
The DATA command can be used to modify the Molpro binary files.
UNITAlias forNPL(should never be used)RENAME,rec1,rec2 used to rename rec1 to rec2. rec1 and rec2 must be given in the form name.ifil, where ifil is the number of a Molpro binary file (alias forNAME).TRUNCATE,nenused to truncate files after nen-1 records (alias forNEN).TRUNCATE,recused to truncate before record rec. rec must be given in the form name.ifil, where ifil is the number of a Molpro binary file.COUNTAlias forNRE(presently not used)COPY,rec1,rec2 Copies record rec1 to rec2. rec1 and rec2 must be given in the form nam1.ifil1, nam2.ifil2. If nam2=0, nam2=nam1. If nam1=0, all records are copied from file ifil1 to file ifil2.
Assigning punch files (PUNCH)
PUNCH,filename,[REWIND]
Opens punch file named filename. If this file already exists, it is appended, unless the REWIND or NEW option is specified; in that case, any previous information on the punch file is overwritten. See FILE for machine dependent interpretation of filename. The punch file contains all important results (geometries, energies, dipole, transition moments etc). It can be read by a separate program READPUN, which can produce tables in user supplied format.
Example:
PUNCH,H2O.PUNallocates punch fileH2O.PUN
Note that the file name is converted to lower case on unix machines.
MOLPRO system parameters (GPARAM)
The GPARAM card allows to change MOLPRO system parameters. This should only be used by experts!
GPARAM,option=value,$\ldots$
The following options can be given in any order.
NOBUFFif present, disable system bufferingLSEGdisk sector lengthINTRELnumber of integer words per real word (should never be modified!)IBANKnumber of memory banks. Default is 2, which should always be o.k.IVECT0=scalar, 1=vector machineMINVECminimum vector length for call to mxmbLTRACKpage size in buffer routines (must be multiple of lseg)LENBUFlength of integral buffer (file 1)NTRlength of integral records (must be multiple of $3 \cdot$ltrack)LTRdisk sector length assumed in CI (default 1 is reasonable)NCACHEmachine cache size in bytesIASYNif nonzero, use asynchronous I/O on CONVEXMXMBLKcolumn/row block size for mxmaMXMBLNlink block size for mxmaNCPUSmaximum number of cpus to be used in multitaskingMINBR1min number of floating point ops per processorMXDMPhighest file number to be treated as dump file with full functionality ($1 \le.$MXDMP$\le.3$).
The MXDMP option is for experts only! This prevents basis and geometry information from being written to dump files with higher file number than the given value, and can sometimes be useful for counterpoise corrected geometry optimizations. Note that some functionality is lost by giving this option, and errors will result unless all input is correct!