run a program with more than 2**32 bite



Dear all,
I'm going to run a program which have more than 2**32-1 bite size.I
installed gfortran compiler on 64bit Linux for
a system which 64bit system. but I encountered many problem about
using that.
I've asked some questions about different problems which I have and
I've recieved good answers and tried to use them but I
could'nt manage them.
I inserted above commands in terminal :

$ gfortran -mcmodel=medium [filename]
$ ./a.out

(what is the total image size in medium size of 64bit gfortan?is it
2**48 bite?)

one of answers was guiding me to use m64 in order to transform
variable into 64bit correctly but
I don't know what does this mean.
for example suppose "A" is a real variable in a program with total
size
more than 2**32.how should be its definietion? when I'm using "real-
m64::A",fortran compiler dosen't realize it and takes
an error.
this is a module of my program ,defining variables.
what changes should I make precisely for going to 64bit one?

module test
real,dimension(128,-64:64,128,-64:64)::x,y,z,vx,vy,vz,fp,fg
end module

Thanks in advance.
Sara

.


Quantcast