Reversion when compiling Molcas
Craig Powers
enigma@hal-pc.org
Wed Sep 19 15:47:00 GMT 2007
Ignacio Fernández Galván wrote:
> ===================================================
> At line 14 of file initim.f
> Fortran runtime error: Array reference out of bounds for array 'work',
> upper bound of dimension 1 exceeded, 110103560 is greater than 8
I have no idea whether this is related to the non-bounds-checked crash,
but... the error combined with the code (which I've cut out) looks like
something that was brought up on comp.lang.fortran in the last couple of
days, where a C malloc is used as a pre-F90 way of doing allocated
memory, and this memory is then accessed as an offset from a single
"work" array of dimension 1 that only serves as a dummy to provide a
reference location for subsequent allocations.
More information about the Fortran
mailing list