* Re: Memory usage limitation with the Beta compilers from Compaq
1999-10-22 4:00 ` Steve Lionel
@ 1999-10-22 4:00 ` Greg Lindahl
1999-10-23 4:00 ` G. Hugh SONG
1 sibling, 0 replies; 4+ messages in thread
From: Greg Lindahl @ 1999-10-22 4:00 UTC (permalink / raw)
Steve.Lionel@compaq.com (Steve Lionel) writes:
> As far as I know, you have
> not submitted to the beta support site an example that reproduces the
> problem you complained about. If you do so, it will be investigated.
Steve,
When people read flames about your technical support on Usenet, I hope
they keep in mind that there are 2 sides to most stories.
-- greg
^ permalink raw reply [flat|nested] 4+ messages in thread
* Memory usage limitation with the Beta compilers from Compaq
@ 1999-10-22 4:00 G. Hugh SONG
1999-10-22 4:00 ` Steve Lionel
0 siblings, 1 reply; 4+ messages in thread
From: G. Hugh SONG @ 1999-10-22 4:00 UTC (permalink / raw)
The official bug-report place for Compaq's Beta compilers is
http://www.iol.unh.edu/linux/Fortran or something and C.
Unfortunately, there is no Steve Lionel there. So, when I reported a
serious limiation of their Beta compilers there, there was actually no
useful response except one message from someone reporting that he
had a similar experience.
So, please someone from Compaq, please clear up this issue:
With cfal(rtl) version 1.0-2, I could run my program which has a
subroutine
where a lot of automatic arrays are declared, and a sizable number for
the size of those arrays is transferred. However, with version 1.0-3
and 1.0-4,
it gives SEGV on the first line of the subroutine. If the number is
small,
it runs OK with the newer versions. If I compile the subroutine with
the
old version, it runs OK. My conclusion is that Compaq imposed on the
newer
versions a strange limitation of stacksize or size of the memory it
uses.
I actually used the compiler switch "-static". It did not help. If
Compaq
ever imposed such a limitation becaus it is free, why did they not tell
us about it?
How fast is it? Yes, it sure is fast. But,... Should I still wait
for
the production version? I am getting tired...
Thank you.
--
G. Hugh Song
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Memory usage limitation with the Beta compilers from Compaq
1999-10-22 4:00 Memory usage limitation with the Beta compilers from Compaq G. Hugh SONG
@ 1999-10-22 4:00 ` Steve Lionel
1999-10-22 4:00 ` Greg Lindahl
1999-10-23 4:00 ` G. Hugh SONG
0 siblings, 2 replies; 4+ messages in thread
From: Steve Lionel @ 1999-10-22 4:00 UTC (permalink / raw)
On Fri, 22 Oct 1999 18:24:52 +0900, "G. Hugh SONG" <ghsong@nospam.com>
wrote:
>The official bug-report place for Compaq's Beta compilers is
>http://www.iol.unh.edu/linux/Fortran or something and C.
>
>Unfortunately, there is no Steve Lionel there. So, when I reported a
>serious limiation of their Beta compilers there, there was actually no
>useful response except one message from someone reporting that he
>had a similar experience.
>
>So, please someone from Compaq, please clear up this issue:
>With cfal(rtl) version 1.0-2, I could run my program which has a
>subroutine
>where a lot of automatic arrays are declared, and a sizable number for
>the size of those arrays is transferred. However, with version 1.0-3
>and 1.0-4,
>it gives SEGV on the first line of the subroutine. If the number is
>small,
>it runs OK with the newer versions. If I compile the subroutine with
>the
>old version, it runs OK. My conclusion is that Compaq imposed on the
>newer
>versions a strange limitation of stacksize or size of the memory it
>uses.
Your conclusion is mistaken. We don't impose any fixed limitation on
the size of stack or dynamic-allocated data. Any such restrictions
come from the operating system or linker. As far as I know, you have
not submitted to the beta support site an example that reproduces the
problem you complained about. If you do so, it will be investigated.
I do know that on Tru64 UNIX, at least (not sure about Linux - I'll
have to check), we've recently implemented an RTL feature where if it
looks as if you've run out of stack, we automatically extend the
stack, up to the limit imposed by the OS. This should eliminate a lot
of the "segv on large automatic arrays or array temps" issue that has
been annoying for so long. This change will show up in a release
coming out in December or January. (OpenVMS users don't need this,
since the OS takes care of it automatically. I don't think we can do
it on Windows.)
--
Steve Lionel (mailto:Steve.Lionel@compaq.com)
Fortran Engineering
Compaq Computer Corporation, Nashua NH
Compaq Fortran web site: http://www.compaq.com/fortran
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Memory usage limitation with the Beta compilers from Compaq
1999-10-22 4:00 ` Steve Lionel
1999-10-22 4:00 ` Greg Lindahl
@ 1999-10-23 4:00 ` G. Hugh SONG
1 sibling, 0 replies; 4+ messages in thread
From: G. Hugh SONG @ 1999-10-23 4:00 UTC (permalink / raw)
Dear Steve,
Thank you very much! I got you.
Steve Lionel wrote:
>
> On Fri, 22 Oct 1999 18:24:52 +0900, "G. Hugh SONG" <ghsong@nospam.com>
> wrote:
>
> >The official bug-report place for Compaq's Beta compilers is
> >http://www.iol.unh.edu/linux/Fortran or something and C.
> >
> >Unfortunately, there is no Steve Lionel there. So, when I reported a
> >serious limiation of their Beta compilers there, there was actually no
> >useful response except one message from someone reporting that he
> >had a similar experience.
> >
> >So, please someone from Compaq, please clear up this issue:
> >With cfal(rtl) version 1.0-2, I could run my program which has a
> >subroutine
> >where a lot of automatic arrays are declared, and a sizable number for
> >the size of those arrays is transferred. However, with version 1.0-3
> >and 1.0-4,
> >it gives SEGV on the first line of the subroutine. If the number is
> >small,
> >it runs OK with the newer versions. If I compile the subroutine with
> >the
> >old version, it runs OK. My conclusion is that Compaq imposed on the
> >newer
> >versions a strange limitation of stacksize or size of the memory it
> >uses.
>
> Your conclusion is mistaken. We don't impose any fixed limitation on
> the size of stack or dynamic-allocated data. Any such restrictions
> come from the operating system or linker. As far as I know, you have
> not submitted to the beta support site an example that reproduces the
> problem you complained about.
Could be linker, then. Is it ld or collect? I can't find "collect".
In fact, I did send the code by attaching it to UNH about a month ago.
But
nobody responded afterwards.
I know that that mailing list is specifically for the users, by the
users, of the users.
So, I don't complain.
> If you do so, it will be investigated.
I will make another example sometime tomorrow and send it to UNH, then.
> I do know that on Tru64 UNIX, at least (not sure about Linux - I'll
> have to check), we've recently implemented an RTL feature where if it
> looks as if you've run out of stack, we automatically extend the
> stack, up to the limit imposed by the OS. This should eliminate a lot
> of the "segv on large automatic arrays or array temps" issue that has
> been annoying for so long. This change will show up in a release
> coming out in December or January. (OpenVMS users don't need this,
> since the OS takes care of it automatically. I don't think we can do
> it on Windows.)
That is very interesting. The oldest version of cfal(rtl) works, while
the newer ones fail.
Best regards,
--
G. Hugh Song
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-10-23 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-22 4:00 Memory usage limitation with the Beta compilers from Compaq G. Hugh SONG
1999-10-22 4:00 ` Steve Lionel
1999-10-22 4:00 ` Greg Lindahl
1999-10-23 4:00 ` G. Hugh SONG
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox