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

SIGSEGV, segmentation fault occurred

vguiot
Beginner
689 Views
Hello,

I am a PhD student in France (material science). I currently encounter a problem by using a code (LmtART).
After compiling without problems (except : LOOP WAS VECTORIZED), I got the following error message when I launch the program :

forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
libc.so.6 00000033154300A0 Unknown Unknown Unknown
lmtart 000000000086C8A9 Unknown Unknown Unknown
lmtart 00000000008690E0 Unknown Unknown Unknown
lmtart 000000000084228C Unknown Unknown Unknown
lmtart 000000000084039F Unknown Unknown Unknown
lmtart 00000000006639CD Unknown Unknown Unknown
lmtart 000000000061CB44 Unknown Unknown Unknown
lmtart 00000000006F33CC Unknown Unknown Unknown
lmtart 0000000000403882 Unknown Unknown Unknown
libc.so.6 000000331541D8A4 Unknown Unknown Unknown
lmtart 00000000004037A9 Unknown Unknown Unknown

(lmtart is my .exe)

I tried the following switches to get more information : -CB -traceback -gen-interface -warn interface. I so get following errors during compiling :

fortcom: Error: bnd_eigen1c.f, line 424: If the actual argument is scalar, the corresponding dummy argument shall be scalar unless the actual argument is an element of an array that is not an assumed-shape or pointer array, or a substring of such an element. [DX]
call diagno_dcopy(ndim,1.d0,0,z,ndim+1)
-------------^
compilation aborted for bnd_eigen1c.f (code 1)
bnd_ftrmat.f(69): (col. 7) remark: LOOP WAS VECTORIZED.
chi_printq.f(167): (col. 7) remark: LOOP WAS VECTORIZED.
fortcom: Severe: dmf_grfmat.f, line 37: Please report this error along with the circumstances in which it occurred in a Software Problem Report
SIZE_MAT=2.D0*DBLE(SIZE(OMAT)*LENCMP)/1024.D0**2
^
[ Aborting due to internal error. ]
compilation aborted for dmf_grfmat.f (code 1)
ftb_mixden.f(91): (col. 7) remark: PARTIAL LOOP WAS VECTORIZED.
fortcom: Severe: gwa_gwamat.f, line 37: Please report this error along with the circumstances in which it occurred in a Software Problem Report
SIZE_MAT=2.D0*DBLE(SIZE(OMAT)*LENCMP)/1024.D0**2

Is there a problem in the code ? Because according to its author, it was successfully tested on
IBM AIX XLF
WIN95/98/NT/00 Digital Visual Fortran VI
WIN95/98/NT/00 Miscrosoft Fortran Power Station
DEC Alpha
SUN
PGF LINUX
So I assumed I am doing something wrong, but I do not understand what.

So if you think you could help me, thanks !

Best regards,

Vincent


0 Kudos
2 Replies
IDZ_A_Intel
Employee
689 Views
Vincent,

I don't have any further information on Dr. Sasireka's issue. Your adding those switches did point out an error in the source code - you may want to read my article that covers this topic in part (about Sequence Association). I can't tell if this necessarily identifies the cause of the SEGV.

However, I see also that the compiler itself failed, which is a compiler bug. Which compiler version are you using? (Compile with -V to see.) Where can we get this application?

0 Kudos
ndsr
Beginner
689 Views
Dear vincent,
Myself senthil Ram, trying to compile lmtart program
can you direct me what are the commands should i use
0 Kudos
Reply