* Alpha OSF/1 Fortran Problem
@ 1993-12-10 21:19 Frank Stetzer
1993-12-13 15:08 ` Steve Lionel
0 siblings, 1 reply; 2+ messages in thread
From: Frank Stetzer @ 1993-12-10 21:19 UTC (permalink / raw)
We are having trouble with fortran -generated executables not
detecting underflow (subnormal) values during execution. This
seems to affect double precision reals. Once a variable is
assigned a subnormal value, the program dumps core the first
time the variable is accessed. The two programs below
illustrate the problem. It does not seem to be affected by
optimization, debugger, or other compiler options.
This is a DEC 3000 running OSF/1 V1.3A (Rev 112); f77 V3.3.
We would appreciate any leads to solving this problem.
==========================================================================
Frank Stetzer stetzer@csd4.csd.uwm.edu
Statistical Software Coordinator P.O. Box 413
Computing Services Division Milwaukee, WI 53201
University of Wisconsin - Milwaukee (414)229-4571
c subnormal value assigned by a read
character*10 data
real*8 x
data='-2.20d-308'
read(data,'(d10.3)') x
print *,'OK so far=',x
print *,'program dies here x+1=',x+1.0d0
end
c subnormal value assigned by subroutine call
real*8 x
call f(x)
print *,'x=',x
print *,'program dies here x+1=',x+1.0d0
end
subroutine f(a)
real a
a=1.0
end
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Alpha OSF/1 Fortran Problem
1993-12-10 21:19 Alpha OSF/1 Fortran Problem Frank Stetzer
@ 1993-12-13 15:08 ` Steve Lionel
0 siblings, 0 replies; 2+ messages in thread
From: Steve Lionel @ 1993-12-13 15:08 UTC (permalink / raw)
In article <2eap58INN2st@uwm.edu>, stetzer@csd4.csd.uwm.edu (Frank Stetzer)
writes:
|>We are having trouble with fortran -generated executables not
|>detecting underflow (subnormal) values during execution. This
|>seems to affect double precision reals. Once a variable is
|>assigned a subnormal value, the program dumps core the first
|>time the variable is accessed. The two programs below
|>illustrate the problem. It does not seem to be affected by
|>optimization, debugger, or other compiler options.
DEC Fortran does not yet support computation using denormalized IEEE FP values
(nor infinities, etc.) Support for this will be added in a future release.
--
Steve Lionel lionel@quark.enet.dec.com
SDT Languages Group
Digital Equipment Corporation
110 Spit Brook Road, ZKO2-3/N30
Nashua, NH 03062 "Free advice is worth every cent"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1993-12-13 15:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-12-10 21:19 Alpha OSF/1 Fortran Problem Frank Stetzer
1993-12-13 15:08 ` Steve Lionel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox