* f2c Errors
@ 1998-02-16 20:39 Gerald Brandt
0 siblings, 0 replies; 4+ messages in thread
From: Gerald Brandt @ 1998-02-16 20:39 UTC (permalink / raw)
Hi there,
We seem to be having a problem with f2c (RedHat 4.2).
At the end of almost every sub-routine, we get a floating point exception
(during the f2c run).
This works VERY well under Intel Linux (RedHat 4.2).
We've tried g77, and the egcs g77, and both work well... except that we
need double precision, and they don't support that, while f2c does.
Gerald
---
#include <std_disclaimer>
Gerald Brandt gbr@hvdc.ca
Manitoba HVDC Research Centre http://www.hvdc.ca
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: f2c Errors
[not found] <XFMail.980216143930.gbr@hvdc.ca>
@ 1998-02-16 20:46 ` john
0 siblings, 0 replies; 4+ messages in thread
From: john @ 1998-02-16 20:46 UTC (permalink / raw)
On 16 Feb, Gerald Brandt wrote:
> We seem to be having a problem with f2c (RedHat 4.2).
>
> At the end of almost every sub-routine, we get a floating point exception
> (during the f2c run).
>
> This works VERY well under Intel Linux (RedHat 4.2).
>
> We've tried g77, and the egcs g77, and both work well... except that we
> need double precision, and they don't support that, while f2c does.
The alpha is very sensitive to floating point exceptions, there's a bug
in the kernel. A few people are working on it, I'm one of them, but
I've not got a patch as of yet.
You can usually get around these problems by not over/underflowing.
Catch those exceptions before they happen.
----
John Appleby, Pourquoi est-ce qu'un reve
Cambridge University, ne soit jamais realise?
UK. Simone de Beauvoir - Les Belles Images
Tel.: +44 1223 460954 email: john@apples.net
Fax.: +44 1344 622245 www: http://www.apples.net
Mob.: 0958 256936 ntalk: jma24@apples.net
--------------------------------------------------------------------------
Please do NOT send me ANY commercial email. I'm asking nicely.
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: f2c Errors
@ 1998-02-16 20:49 Toon Moene
0 siblings, 0 replies; 4+ messages in thread
From: Toon Moene @ 1998-02-16 20:49 UTC (permalink / raw)
> We seem to be having a problem with f2c (RedHat 4.2).
>
> At the end of almost every sub-routine, we get a floating
> point exception (during the f2c run).
>
> This works VERY well under Intel Linux (RedHat 4.2).
Yes, it's a coding error in f2c that has been fixed long ago - it
might well be that Red Hat has a new f2c rpm on their site ...
> We've tried g77, and the egcs g77, and both work well...
> except that we need double precision, and they don't
> support that, while f2c does.
What you probably mean is that g77 doesn't support a command line
option to treat REAL variables, arrays and constants as 8-byte
quantities. Indeed, it doesn't (how about funding this change ?).
OTOH, g77 - like any Fortran 77 conformant compiler - *has* to
support the type DOUBLE PRECISION.
HTH,
Toon.
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: f2c Errors
@ 1998-02-16 21:50 Wes Bauske
0 siblings, 0 replies; 4+ messages in thread
From: Wes Bauske @ 1998-02-16 21:50 UTC (permalink / raw)
Gerald,
Get the latest f2c from netlib. It works fine on Alphas.
Wes
Gerald Brandt wrote:
>
> Hi there,
>
> We seem to be having a problem with f2c (RedHat 4.2).
>
> At the end of almost every sub-routine, we get a floating point exception
> (during the f2c run).
>
> This works VERY well under Intel Linux (RedHat 4.2).
>
> We've tried g77, and the egcs g77, and both work well... except that we
> need double precision, and they don't support that, while f2c does.
>
> Gerald
>
> ---
> #include <std_disclaimer>
>
> Gerald Brandt gbr@hvdc.ca
> Manitoba HVDC Research Centre http://www.hvdc.ca
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-02-16 21:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-02-16 20:39 f2c Errors Gerald Brandt
[not found] <XFMail.980216143930.gbr@hvdc.ca>
1998-02-16 20:46 ` john
-- strict thread matches above, loose matches on Subject: below --
1998-02-16 20:49 Toon Moene
1998-02-16 21:50 Wes Bauske
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox