> Date: Sat, 04 Nov 2000 14:31:00 +0000
> From: Glenn Carver <[log in to unmask]>
> This is a followup to a posting I sent on 27/10. I was having problems getting
> a program to run in vector mode on a Fujitsu system. I had checked it on
> the fuji with no vectorisation where it would run fine. I had also run it
> on a Sun and SGI system where it also ran ok.
>
> I'm grateful to those who replied. Most suggested it was a indicative of
> writing beyond an array, which I had initially suspected. However, I'd tried
> the array bounding checking options on the Sun, SGI and Fuji compilers and
> none of them had spotted anything. This lead me to the possibility it might
> be a compiler bug with vectorising the code near to the point where the program
> crashed.
>
> Fortunately (for me anyway), we'd just got the Portland Group compiler suite
> for our linux systems. Tryng the program with the pgf90 compiler and their
> array bounding checking turned on spotted the problem straight away. I'm still
> somewhat surprised that none of the other compilers array bound checking
> managed to spot it.
It's probably a good idea to include explicit subscript checking.
> Glenn
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|