Hallo all,
I am writing Fortran90 code and compiling it using Intel Fortran on a MacBookPro (MacOSX version 10.5.8).
My problem is, when I allocate large vectors, the program is compiled but does not run, due to "segmentation fault". There is no bug in the code, as it runs perfectly on a Unix machine.
I'm talking about allocating 4 or more real vectors with length of about 700000. My computer has 4GB RAM. I have tried the option "unlim -s unlimited", and also the compiling option "-mcmodel=medium" or even "-mcmodel=large" but with no use.
I would greatly appreciate any help!!!
Regards
I am writing Fortran90 code and compiling it using Intel Fortran on a MacBookPro (MacOSX version 10.5.8).
My problem is, when I allocate large vectors, the program is compiled but does not run, due to "segmentation fault". There is no bug in the code, as it runs perfectly on a Unix machine.
I'm talking about allocating 4 or more real vectors with length of about 700000. My computer has 4GB RAM. I have tried the option "unlim -s unlimited", and also the compiling option "-mcmodel=medium" or even "-mcmodel=large" but with no use.
I would greatly appreciate any help!!!
Regards