From: "Catherine Moroney" <[log in to unmask]>
Sent: Tuesday, October 24, 2006 7:04 AM
> I'm trying to write long namelists to stdout using the following
> code, but am getting the error "lib-4013". Unfortunately, "explain"
> doesn't work on my system, and dbx doesn't like the resulting core
> file so I'm at a loss to find out what this error means. Are the
> runtime error messages detailed on a website anywhere? A google
> search for "lib-4013 error" didn't turn up anything.
>
> I'm using version 7.4.4m of the SGI F90 compiler on an Origin2000
> running IRIX 6.5.29m.
>
> open(STDOUT, recl=1500)
>
> write(STDOUT,*) 'values of stereo parameters for this run: '
> write(unit=STDOUT,NML=misc_list)
>
> Is this "open" statement for STDOUT specifying the record length
> incorrect Fortran that would cause my program to crash?
>
> If I have lengthy namelists, is there any easy way to print them
> to stdout in a single "write(*,nml=name_list)" statement?
>
> Does anybody know if the SGI compiler changed its default record
> length when they released version 7.4.4? My code used to work
> fine (with the same size namelists), and now it complains that
> the record length is too long.
If it worked before and doesn't now,
it might indicate an error in the program.
Have you re-run with subscript bounds and substring
checking turned on?
|