PDA

View Full Version : fortran memory issue


souda
12-14-2003, 06:28 PM
Folks!

I ported one Fortran 77 routine to Fortran 90 code. Al I have done to it is I've explicitly declared input and output dummy parameters (with "intent" attributes) and replaced include files with modules (appropriately modified). And now compiling this routine with lf95 (no matter with what options) produces an object file which is 320 Mb large. I have never seen anything like that in my relatively long (> 10 years) Fortran experience. Even when I count all the local variables (allocatable arrays) I don't get that much memory! Could anybody comment on that? What might be wrong in the code so that the compiler creates such a huge object file?

Thanks a lot for any suggestions,

Alex