Hello Jean-Michel,
Here is the value I have for HUGE(1) in my computer : 2 147 483 647 but it doesn't match with the limit I see at 240 000 000 values.
I don't really understand your remark : "Then you should not allocate virtual memory that is actually on a disk, it slows down a lot the programs."
Here is what I do in my program :
! Variables
double precision,dimension(:,:,:),allocatable::tableau
integer ligne,colonne,troisiemedim,ALLOC
! Program
ligne=60000000
colonne=2
troisiemedim=1
ALLOC=0
allocate(tableau(ligne,colonne,troisiemedim),stat=ALLOC)
if(ALLOC/=0) then
write(*,*)'erreur allocation memoire ',ALLOC
stop
endif
Do you advise to use another way to allocate an array?
Regards