[esp-r] Re: Is this a bug?

Jon Hand (clcv10) jon at esru.strath.ac.uk
Tue Nov 27 11:56:13 GMT 2007


A recent question:

>
>  ******  FORTRAN RUN-TIME SYSTEM  ******
> Subscript out of range. Location:  line 494 column 21 of 'pmatrx.F'
> Subscript number 1 has value 0 in array 'NPCDAT'
>

This is fortran shutting down because it has been asked to
address a memory location that does not exist.

And the message gives the location where this occurred
in the code so it should be possible to look at the code and determine
likely causes of the zero array value.

And if running in a debugger one could also check what else
was happening at that moment.

-ESRU




More information about the esp-r mailing list