Gaussian 03 Online Manual
Last update: 29 September 2006

testrt

testrt is a utility which takes a standard Gaussian route as input and produces the equivalent non-standard route. The route is usually specified on the command line (enclosed in quotation marks):

$ testrt "# rhf/sto-3g" 

If it is not included on the command line, testrt will prompt for the route to be tested.

If the specified route is valid, testrt will print out the non-standard route corresponding to it. If syntax errors are present, then error messages will be displayed. Thus, testrt can be used to verify the syntactic correctness of route sections even by users who understanding nothing of non-standard routes.

Here are some example runs of testrt:

$ testrt "# qcisd(modredun)/6-31G* scf=driect" 
 ----------------------------------- 
 # qcisd(modredun)/6-31G* scf=driect 
 ----------------------------------- 
    QPERR ---- A SYNTAX ERROR WAS DETECTED IN THE INPUT LINE. 
   # QCISD(MODREDUNDANT)
           '         ModRedundant is a valid Gaussian option, but is not valid with QCISD 
 ... 

$ testrt "# mp4 stable" 
 ... 
 Failure in RteDef: Jtype=25, Iprc1=4, MaxDer=0, JP=1, JD=0. 
 ...                  Stability calculations are not available for the MP4 method. 
$ testrt 
 Please type in the route spec., terminated with a blank line 
# Opt=QST2/6-31G* Test 

 1/5=1,18=20,27=202/1,3; 
 2/12=2,17=6,18=5/2; 
 ...

As the first example indicates, only the first error within the route section is flagged. The second example illustrates the error message from an invalid combination of keywords. The final example shows the output from a successful route test.

Note that testrt cannot detect keyword usage errors; it checks only the syntax of the given route section. Thus, it will not warn you that including the MP2 keyword twice within the route section will have unexpected results (running an MP4 job).

testrt's output can be redirected to a file by standard UNIX output redirection:

$ testrt "# rhf/sto-3g" >output-file