On Mon, Oct 23, 2006 at 02:04:46PM -0700, Catherine Moroney wrote:
> I'm trying to write long namelists to stdout using the following
> code, but am getting the error "lib-4013".
Looks like you aren't supposed to reopen stdout.
-- greg
[lindahl@greglaptop lindahl]$ explain lib-4013
The unit number (un) in the OPEN statement must be nonnegative and outside
the range of 100 through 102.
Modify the Fortran unit number so that it is in the range of valid unit
numbers for Fortran OPEN statements.
Special unit numbers 100 through 102 are associated with stdin, stdout, and
stderr. These units may not be closed or reopened.
|