karineklund
Programmer
Hello!
I am desperate to get some help with this problem that I have spent weeks on now.
In my code I declare a number of quite large arrays. To be specific 9 double precision arrays of (12500,300). On many computers that I have tried this on, this compiles but does not run. More exactly: 5 declared arrays works fine, 6 or more compiles but does not run.
The declaration looks like this:
DOUBLE PRECISION TOTFL
DOUBLE PRECISION PPFL, FSPFL, SSPFL, RSPFL
DOUBLE PRECISION PEFL, FSEFL, SSEFL, RSEFL
C
C **** MY commons
COMMON/FLT/TOTFL(NVOX,ECH)
COMMON/FLP/PPFL(NVOX,ECH),FSPFL(NVOX,ECH),SSPFL(NVOX,ECH)
1 ,RSPFL(NVOX,ECH)
COMMON/FLE/PEFL(NVOX,ECH),FSEFL(NVOX,ECH),SSEFL(NVOX,ECH)
1 ,RSEFL(NVOX,ECH)
I don't even use the arrays for anything (I will, but for debugging I don't) so it is only declarations that I include or not that affects if the code runs or not. I use the g77 compiler on windowsXP, but I have also tried on a Linux machine with the same result. The most frustrating part is that when I run on a computer on a grid that I have access to, it works, with all arrays declared! I have also tried the g95 compiler with the same results. CAn someone please give me a hint to what is wrong!!!
With hope,
Karin
I am desperate to get some help with this problem that I have spent weeks on now.
In my code I declare a number of quite large arrays. To be specific 9 double precision arrays of (12500,300). On many computers that I have tried this on, this compiles but does not run. More exactly: 5 declared arrays works fine, 6 or more compiles but does not run.
The declaration looks like this:
DOUBLE PRECISION TOTFL
DOUBLE PRECISION PPFL, FSPFL, SSPFL, RSPFL
DOUBLE PRECISION PEFL, FSEFL, SSEFL, RSEFL
C
C **** MY commons
COMMON/FLT/TOTFL(NVOX,ECH)
COMMON/FLP/PPFL(NVOX,ECH),FSPFL(NVOX,ECH),SSPFL(NVOX,ECH)
1 ,RSPFL(NVOX,ECH)
COMMON/FLE/PEFL(NVOX,ECH),FSEFL(NVOX,ECH),SSEFL(NVOX,ECH)
1 ,RSEFL(NVOX,ECH)
I don't even use the arrays for anything (I will, but for debugging I don't) so it is only declarations that I include or not that affects if the code runs or not. I use the g77 compiler on windowsXP, but I have also tried on a Linux machine with the same result. The most frustrating part is that when I run on a computer on a grid that I have access to, it works, with all arrays declared! I have also tried the g95 compiler with the same results. CAn someone please give me a hint to what is wrong!!!
With hope,
Karin