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

idb - help to understand what is going on?

emmendes
Beginner
452 Views
Hello



I confess that I am a newbie as far as idb goes but since I cannot find my mistake and wonder whether someone out there could shed some light.



My program works for several different scenarios, but there is one that a segmentation fault comes out.



idb Trispec_sim

Intel Debugger for IA-32 -based Applications, Version 9.0-16, Build 20051121

------------------

object file name: Trispec_sim

Reading symbolic information from /home/eduardo/Hinich_2006/code_Trispec_sim/Trispec_sim...WARNING: unable to determine length of string variable.

done

(idb) run

Trispec is assuming trispec.cnl, trispec.out

and trispec.mat with no data written to the mat file

Here 0

50000 500 2806131 1075270 1 250

250 0 3

Thread received signal SEGV



Info: Optimized variables show as when no location is allocated.

stopped at [subroutine p234(real*4 (:), real*8 (:), complex*16 (:), real*8 (:), real*4 (:), real*4 (:), real*8 (:), real*8(:), integer*4, integer*4, integer*4, integer*4, integer*4, integer*4, integer*4, integer*4, integer*4):1175:7 0x08057d70]

1175 write(6,*)'Here 0a'



1175 is the firstline on p234. I have checked the variables and sizes carefully. There is nothing wrong as far as I can see. 2806131 and 1075270 are the length of some real*4 and real*8 arrays. Could this be the problem?



Many thanks



Ed
0 Kudos
1 Reply
emmendes
Beginner
452 Views
Solved!
0 Kudos
Reply