These are chat archives for Fortran-FOSS-Programmers/General-Discussion

Jun 2015
Izaak "Zaak" Beekman
Jun 16 2015 16:55
sorry about the false start, I think this should be publicly available
Stefano Zaghi
Jun 16 2015 18:47
@zbeekman Thank you for moving the channel
Michel Müller
Jun 16 2015 23:02

bounds checks do not reveal the error, because all 3 dimensions have the same size?

@certik : Do you mean manually inserted bound checks or some compiler flag?

Izaak "Zaak" Beekman
Jun 16 2015 23:08
typically there is abounds check compiler flag. Since arrays may be dynamically allocated this can’t be done until runtime. The compiler adds additional code to try to find problems with array bounds. Usually called something like -fcheck-bounds or -check=bounds. I know gfortran and Intel have them
along with a host of other useful or not-so-useful runtime checks like creation of temporary variables, type conversion to name a few.