Re: segmentation fault
- From: kargl@xxxxxxxxxxxxxxxxxxxxxxxxxxxx (Steven G. Kargl)
- Date: Sat, 24 Dec 2005 06:52:45 +0000 (UTC)
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/
.
- Follow-Ups:
- Re: segmentation fault
- From: student
- Re: segmentation fault
- From: student
- Re: segmentation fault
- References:
- segmentation fault
- From: student
- segmentation fault
- Prev by Date: segmentation fault
- Next by Date: Re: segmentation fault
- Previous by thread: segmentation fault
- Next by thread: Re: segmentation fault
- Index(es):
Relevant Pages
|