Vector computers occasionally need directives to help optimize some loops. The needed directives, however, vary between manufacturers. RATTY takes optimization directives in a standard form and converts them to the form recognized by the target compiler. A directive is introduced by either a `c#' or a `#' starting a line (i.e. starting in column 1), for example:
c#directiveor
#directiveEither form can be used, but the `c#' form is preferable, as the directive will be seen as a comment to a standard compiler. The directives are:
c#maxloop 32 do i=1,n . . enddoindicates that the do loop will not execute more than 32 times.