I have a very odd problem related to the Portland Group FORTRAN 90 compiler. I am trying to run a code that relies on array overflow to work properly. I did not write this code! The originators had to compile it with the flag "-tp=piii" to force the compiler to refrain from optimizations that defeated the array overflow. I guess the idea is that compilers written for the old P3 were too primitive to do this sort of thing. Now, when I try to do the same thing, I get the message "pgf90-Fatal --tp piii is not supported in this installation." So I can't do the same thing.
So: Does pgf90 in its default operation defeat the sort of array overflow the code needs? The people I am working with obviously think it does. And, if it does, could there be some other flag(s) I could use to get what I need from the "-tp=piii" flag?
Bet you never thought you would get a question like this! Just think how I feel. And yes, I will be re-writing it as soon as I can convince my keepers to let me do it.