Fortran 77 64bits large arrays linking relocation problems

Thanks Mat for the quick feedback,

Well those YYW* common blocks are properly defined within the main routine of the solver I am compiling. Removing the IPA flag that I was using, solved the problem. I can now compile the entire code without much problems. I nevertheless have still a problem remaining.

The structure of the data is as follows: There are large integer and float arrays defined in the main routine and passed as parameters to teh various subroutines. Those arrays have also been placed into common block in order ot be able to compile the code using the Intel compiler. By doing so and using the -dyncom flag, we are able to compile the code requiring 20GB of RAM (out of which only 4GB are used) and run it on a 6GB machines under Suse 9.3. Note that common blocks are only setup to be able to use the -dyncom flag. If I remove the common block, recompile and try to run the code, I am getting a killed as the code is requiring more memory than the system has (real ram+swap). This is happening under Intel and PGI compiler. You mentioned the fact that the PGI did not have any such directive. Is there anything that might help me in runnning teh 20GB code on a 6GB machine knowing that only 4GB is used at a time?

Thanks

Eric