Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29274 Discussions

segmentation fault during execution

denaro
Beginner
563 Views

Hi,
I am working on a bi-processor Xeon, 1Gb Ram, with Linux OS:

$ uname -a
Linux venere 2.6.3-4mdkenterprise #1 SMP Tue Mar 2 07:00:53 CET 2004 i686 unknown unknown GNU/Linux

and evaluating Intel Fortran Compiler:

$ ifort -V
Intel Fortran Compiler for 32-bit applications, Version 8.0 Build 20031016Z Package ID: l_fc_p_8.0.034
Copyright (C) 1985-2003 Intel Corporation. All rights reserved.
FOR NON-COMMERCIAL USE ONLY

I have a scalar code and I tried to parallelize with the options:

-tpp7 -xN -axN -O2 -parallel -par_threshold100

but during the execution I get the SIGSEV segmentation fault, code error (174). The code without parallelization runs perfectly.


The code allocate 256MB of memory by using static matrix declaration. After some minutes of execution the run crashes. I found, by looking to the top command, that the during the execution the free RAM memory decreases until to become zero then the swap area starts to be used until it is free, eventually the code get segmentation fault.
Of course the scalar compiled code normally occupies only 256 Mb of Ram.


Does anyone know the reason of such a "memory eating"?


thanks, in advance

Filippo

0 Kudos
2 Replies
Steven_L_Intel1
Employee
563 Views
I don't know if this will help, but you are running an old compiler. Please update to the current version, which I think is 8.0.049, and try again.
0 Kudos
denaro
Beginner
563 Views
Thanks Steve,

do you know if I can download the latest version from the evaluation link?

Filippo
0 Kudos
Reply