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

segmentation fault

wong_david-c
Beginner
721 Views
Hi,

I compiled my program with ifc 9.0 -C -CB -fpe0 -fpp -fpstkchk -ftrapuv -u -warn all and ran with 2 threads. I got the following error:

forrtl: severe (174): SIGSEGV, segmentation fault occurred

I wonder there is a tool or a procedure that can help me to pinpoint the problem. Thank you so much for your help.

Regards,
David
0 Kudos
4 Replies
gio2k
Beginner
721 Views
Anyone can at least point us to a place where this question has been answered?
I also have this problem of not being able to find the offending line of code, because the program crashes somewhere else and not where the error lies.
0 Kudos
Steven_L_Intel1
Employee
721 Views
Add -traceback or run it in the Intel Debugger?
0 Kudos
poopants
Beginner
721 Views

Hi,

I upgrade my ifc from 6.1 to 9.0 and my program won't run. Compiling gives no trouble, but when I run the binary ... it immediatly gives a SegFault. When I use idb to pinpoint the problem,I get the first actual program rule :"96 program MODEL".

I tried everything ( that I know off ) to get it to work ( turning off optimizations, added some options from the document "migrating from 7.1 -> 9.0 ) but nothings does the trick.

Can anyone help me please ?

Thanks !!!

Message Edited by poopants on 04-19-200601:51 AM

0 Kudos
Steven_L_Intel1
Employee
721 Views
Try raising your datasize and stacksize limits.
0 Kudos
Reply