I am writing a program in fortran which reads information from some raw binary files, and does some arithmetics with the information.The meat of the program works fine, but there is an Issue.The Original file was around 13000x21000 pixels, which when i created and run, the exe was too large so it did not work.I solved this problem by using Allocatable arrays:
REAL, ALLOCATABLE :: array1,
ALLOCATE(array1(13081x21272))
to allocate the space.
This worked fine,but not I need to include another file which is even larger (19200x22800). I defined an array in the same way
REAL, ALLOCATABLE :: array2,
ALLOCATE(array2(19200,22800))
but when I run the program, there is a run time error which says there is not enough virtual memory available.
Note: I am working on a 32bit machine.
If anyone could help me solve this program it would be greatly appreciated.
thanks very much,
Andrew
REAL, ALLOCATABLE :: array1,
ALLOCATE(array1(13081x21272))
to allocate the space.
This worked fine,but not I need to include another file which is even larger (19200x22800). I defined an array in the same way
REAL, ALLOCATABLE :: array2,
ALLOCATE(array2(19200,22800))
but when I run the program, there is a run time error which says there is not enough virtual memory available.
Note: I am working on a 32bit machine.
If anyone could help me solve this program it would be greatly appreciated.
thanks very much,
Andrew