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

Segmentation fault (SIGSEGV)

tvigneshbabu
Beginner
1,231 Views

Sir / Mam,
I am Dr.D.Sasireka, Physics Teacher in India, I have taking practice in
Fortran90 & LmtART. Now I am trying my Program in my laptop (Centrino Duo Processor / 1 GB RAM) by downloading Intel Fortran Compiler 10.1.018 (IA32 / Intel 64) from your site. (for non-commercial use)
When Compilation there is no error occurs, but during the running of program I had facing Segmentation fault as follows,
forrt1: severe (174): SIGSEGV, segmentation fault occured
ImagePcRoutineLineSOurce
main.exe082873E5---------unknown----------------------
libc.so.6007A88C0---------unknown----------------------
main.exe081F8BD2---------unknown----------------------
libc.so.600795E23---------unknown----------------------
main.exe0804A2A1---------unknown----------------------
kindly help me.

Thanks & Regards,
Dr.D.Sasireka

0 Kudos
9 Replies
Steven_L_Intel1
Employee
1,231 Views

Dr. Sasireka,

Welcome to the forum.

There are many possible reasons for this error. Please add the following switches to the compile and this will provide some more information:

-CB -traceback -gen-interface -warn interface

then run the program again. If you get different error messages, post them here.

Also, please do not post serial numbers in this forum. I removed it from your post.

0 Kudos
vguiot
Beginner
1,231 Views

Dr. Sasireka,

Welcome to the forum.

There are many possible reasons for this error. Please add the following switches to the compile and this will provide some more information:

-CB -traceback -gen-interface -warn interface

then run the program again. If you get different error messages, post them here.

Also, please do not post serial numbers in this forum. I removed it from your post.

Dear Mr Lionel,

I apologize for replying so late to your post but I currently encounter the same problem as Dr. Sasireka. I am a PhD student trying to use the same 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)

Do you know if Dr. Sasireka finally solved this problem ? Because I cannot see other posts after yours.

I also tried the switches you proposed. 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
Steven_L_Intel1
Employee
1,231 Views

I'll reply in the thread you started.
0 Kudos
ndsr
Beginner
1,231 Views
Dear Dr.Sasireka/Mr. Steve Lionel,
I'm new to LMTO method, I'm trying to install lmtart using what are the basic command should i use to compile lmtart andd where to find the compiler in suse linux 11.2
I appreciate any reply and be grateful for the same
Regards
N D Senthil Ram
0 Kudos
Ron_Green
Moderator
1,231 Views
OpenSUSE 11.2 is not officially supported, but do read these instructions:

http://software.intel.com/en-us/articles/installing-intel-compilers-on-opensuse/
0 Kudos
ndsr
Beginner
1,231 Views
Thank you Mr. Ronald W.Green. I would also like to know if Open Suse 10.3 is supported or not?
0 Kudos
Ron_Green
Moderator
1,231 Views
OpenSUSE 10.3 is not officially supported. In fact, this is the first I have heard of this version. I will test it and update my document.

Although we may not officially support these new versions, we do try to adapt quickly and test them with our compilers. It is difficult to keep up, as it takes us time to set up servers, rewrite our testing scripts (if needed), etc. Thus, it is safest to use Linux distributions and versions that are well established - ie about 1.5 years old.

As soon as new distributions come out, we find from users very quickly if there are bugs, and of course, we try to adapt and fix the compiler. However OFFICIAL support usually lags by a year or more.

ron
0 Kudos
TimP
Honored Contributor III
1,231 Views
OpenSuSE 10.3 is relatively old (in your recommended age bracket); I used to use it successfully with earlier versions of Intel compilers, with the exception of not being able to make 32-bit icc and ifort work together on x86_64. All OpenSuSE versions I've seen are fairly straightforward, once you get used to opening up YaST and installing libstdc++-33 (both 32- and 64-bit).
0 Kudos
Ron_Green
Moderator
1,231 Views
My mistake, for some reason my mind read "11.3" and I paniced thinking there was yet another new Linux distro that I'd need to test.
0 Kudos
Reply