Next: 8.11 Global Thresholds (GTHRESH) Up: 8 PROGRAM CONTROL Previous: 8.9 Text cards (TEXT)


8.10 Checking the program status (STATUS)

STATUS, $nr,prog_1,\ldots,prog_6$

This command reads the status information from file $nr$ and checks the status of the specified program steps. $prog_1$ to $prog_6$ may be HF, RHF, UHF, MCSCF, CI, MULTI, FORCES. If none of these is specified, the status of the last step is checked. If one of $prog_1$ to $prog_6$ is CRASH or STOP the program will either crash or stop if status was not o.k. (STOP is default). If CLEAR is specified, a bad status is cleared, so there will be no crash at subsequent status checks.

Examples:

STATUS,1,HF,CRASH;
will check the status of the last HF-SCF step and crash if it was not o.k. (i.e. no convergence). CRASH is useful to avoid that the next program in a chain is executed.
STATUS,2,MULTI,CI,STOP;
will check the status of the most previous MULTI and CI steps which had allocated file 2 and stop if something was wrong.
STATUS,1,RHF,CLEAR;
will clear status flag for last RHF. No action even if RHF did not converge.
Note that the status variables are recovered in a restart.



Next: 8.11 Global Thresholds (GTHRESH) Up: 8 PROGRAM CONTROL Previous: 8.9 Text cards (TEXT)

P.J. Knowles and H.-J. Werner
molpro@tc.bham.ac.uk
Jan 15, 2002