I define my data in a module.
Then I use the "use" instruction in the code where the data are needed.
Now, in my module, if I define one data as COMMON/PA/PAG(200), everything works fine (and the calculation result is correct).
If I define it as: real*8, allocatable :: PAG(:), then allocate it with size 200 at the beginning of the program (I change nothing else in the program), I get a different result after my program calculations (and this result is false).
The calculation procedure is very complicated, so it will be long and hard finding where the difference is.
Is there a theoretical difference betwen a COMMON array and an allocatable array, once they are created ?
Can the allocatable be sor of overwritten somewhere ?