[R] R-1.0.0 and Alpha-linux (RH 6.1)
bates at stat.wisc.edu
Mon Mar 6 14:21:51 CET 2000
Peter Dalgaard BSA <p.dalgaard at biostat.ku.dk> writes:
> hansel at hansel.moorhead.msus.edu writes:
> > The error occurs after initialization output and somewhere before a prompt
> > appears.
> This is pretty darn odd... The quick-exit syndrome with an FP error
> can only occur from misconfiguration of the IEEE options I think, but
> why would that be different between 6.0 and 6.1?
> 2 ideas:
> 1. what do you get from running tools/config.guess? If it doesn't
> match alpha*linux in configure.in, you'd certainly get in trouble.
> 2. are we using the proper form of the ieee option? configure.in sets
> -mieee (do you see that in compiles too?), but it may be that it
> wants -mieep-fp, -mieee-with-inexact or whatnot... "gcc --help -v
> 2>&1 | grep ieee" works with gcc 2.95, but not with egcs 1.1.2 on
> intel, but you could try.
According to the documentation, if we would use -ieee_with_no_inexact
for the DEC cc compiler then we should use -mieee with gcc.
The Alpha architecture implements floating-point hardware
optimized for maximum performance. It is mostly compliant with
the IEEE floating point standard. However, for full compliance,
software assistance is required. This option generates code fully
IEEE compliant code *except* that the INEXACT FLAG is not
maintained (see below). If this option is turned on, the CPP
macro `_IEEE_FP' is defined during compilation. The option is a
shorthand for: `-D_IEEE_FP -mfp-trap-mode=su -mtrap-precision=i
-mieee-conformant'. The resulting code is less efficient but is
able to correctly support denormalized numbers and exceptional
IEEE values such as not-a-number and plus/minus infinity. Other
Alpha compilers call this option `-ieee_with_no_inexact'.
Using -mieee-with-inexact is slightly stronger. According to the
documentation it should not result in changes that affect that
I did successfully compile and test R-1.0.0 on a DEC Alpha running
Digital Unix 4.0d with gcc 2.95.2 and the -mieee flag.
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help