Debugging
Debugging you program: Various techniques
Getting the content for the practical
example 2
First using g95 & the Sun compiler...we see the loop stop as soon as we're beyond the boundaries of the array.
Now the Portland group compiler..not so lucky!
Now using the ifort compiler...different again.
Interesting, huh?
Still using ifort, let's look at the difference when we add:
- -traceback
- -CB
to the compilation flags (see Makefile).