Re: Stack size, and warnings, PS
- From: Dieter Britz <britz@xxxxxxxxxx>
- Date: Thu, 28 Sep 2006 15:53:28 +0200
Dieter Britz wrote:
1. My recursive program now runs, but when I increase the size
of the job, I get an "IOT trap", which I am told is likely
to be stack overflow. I am using the Intel 90/95 compiler,
and I work under Suse Linux 10.1. I think I need to write
something into the .bashrc file; what should this be, please?
2. The routine calls itself many times, with array sections
as arguments, and I get a lot of warnings that a temporary
array was allocated. I tried to suppress these with the -w
option, but they don't go away. Why not, and how do I stop
them?
I should mention that I tried running the program on another
machine, also Linux (Fedora) and a different compiler (Portland
Group). Same thing - almost - it gets a segmentation error,
but in another place. I have the program output debugging
prints, and they go a bit further on this other machine.
This tells me that it might really not be a bug in the program
but a stack problem. I mention this in case someone wonders.
--
Dieter Britz, Kemisk Institut, Aarhus Universitet
.
- References:
- Stack size, and warnings
- From: Dieter Britz
- Stack size, and warnings
- Prev by Date: Re: Question on multiple compiler environment
- Next by Date: Re: comment and IBM xlf
- Previous by thread: Stack size, and warnings
- Next by thread: Re: Stack size, and warnings
- Index(es):
Relevant Pages
|