Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
30 Views

segmentation fault

Dear user,
I am using intel open source(free) fortran compiler. It is compiling of my openMP program properly, but
when i am going to run then it's showing the segmentation fault in the
following:
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
ld-linux.so.2 00B28C32 Unknown Unknown Unknown
libguide.so 0013CF77 Unknown Unknown Unknown
libpthread.so.0 00DAB7FC Unknown Unknown Unknown
libc.so.6 00C1BABA Unknown Unknown Unknown

The interesting things is all the libs are available. Also, i am guessing some arraysize regarding problem. How to get rid of the problem?
Can anybody help me?
regards,
Moshiour

0 Kudos
1 Reply
Highlighted
Beginner
30 Views

Hi,
run command "ulimit -s unlimited" and then try to run your program.
If there is the same problem please try appending -DDEC_ALPHA to your FCFLAGS and CPPFLAGS and -DSGI_IA64 to CFLAGS.

-DDEC_ALHPA is needed for building in 64-bit mode, while -DSGI_IA64 takes care of a timing loop.
0 Kudos