Can we compile the programm rightly on the machine for which have less memory than "image size" of the programm ?

Can we compile the programm rightly on the machine for which have less memory than "image size" of the programm ?

We are using Compaq Fortran V6.0 under Windows NT 4.0, to compile a large scientific code.
The code is written in Fortran 77. For the problem we must run is very large, we defined
array very large. We will run the programm on the machine for which the memory is 1GB.
But for some reason we must compile the programm on the machine which has less memory.

When we compile the programm, we have the message as "warning LNK4084: total image size
966713088 exceeds max (268435456); image may not run".
And when we run the excute file on 1GB machine, we have error message as "bounds exceed".

The programm have been verified with small problem, so we think that the reason of the error is
we didn't compile the programm rightly. Must we compile the programm on the "1GB" Machine?
If we want to compile the programm rightly on the machine for which have less memory than
"image size", must we use some additional option?

1 envío / 0 nuevos
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.