Notice! This document is currently in Archived status.
The content of this document may be incorrect or outdated.

Print this article Edit this article

Obtaining a printed copy of error messages

Enabling the debug printout is another way of getting information, but many times there is so much data that the information you want can easily get lost.

FORTRAN allows you to redirect what would normally go to the screen to a file. For example:

Using C-Shell:

        file.f >& temp.out
Using Bourne or Korn Shell:
        file.f 2> temp.out
This is assuming you were using xxx as in the above example. This will run the program file.f and send the output to the file temp.out.

Last Modified: Dec 19, 2016 11:12 am US/Eastern
Created: May 31, 2007 1:37 pm GMT-4 by admin
JumpURL: