Re: segmentation fault
- From: "student" <adarsh@xxxxxxxxxxxxx>
- Date: 24 Dec 2005 02:18:06 -0800
Thanks Steve. I figured out using the array bounds checking option.
Thanks for letting me know that there exists an option like that.
Steven G. Kargl wrote:
> In article <1135406189.209378.79820@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
> "student" <adarsh@xxxxxxxxxxxxx> writes:
> > I have two codes in f90 which do exactly the same things. The only
> > differences between the two codes is that in one case I declared the
> > exact sizes of the arrays and in the other case, I declared each array
> > to be an allocatable array and then later allocated their sizes. The
> > answers that I get from the two codes are exactly the same too.
> > However, for some reason the latter code gives a segmentation fault
> > error while quitting. Can anyone point out what's happening here.
>
> You left out most of the important information! What OS?
> What compiler or compilers are you using? What compiler
> options? Have you used an array bounds checking option?
> Most importantly you left out the code or a URL to the
> code.
>
> --
> Steve
> http://troutmask.apl.washington.edu/~kargl/
.
- References:
- segmentation fault
- From: student
- Re: segmentation fault
- From: Steven G. Kargl
- segmentation fault
- Prev by Date: Re: segmentation fault
- Next by Date: Re: segmentation fault
- Previous by thread: Re: segmentation fault
- Next by thread: Re: segmentation fault
- Index(es):
Relevant Pages
|