HELP! Need Decent RS6000 Fortran Compiler!

Greg Lindahl gl8f at astsun.astro.Virginia.EDU
Thu May 9 11:55:12 AEST 1991


In article <JKORPELA.91May8015509 at vipunen.hut.fi> jkorpela at vipunen.hut.fi (Jukka Korpela) writes:

>I'm struggling, among other things, with the problem of detecting the
>occurrence of floating-point errors. (I've abandoned the hope of ever really
>trapping them...)

I'd like to find the answer to this also. I asked on comp.unix.aix and
got no replies. The corresponding situation for SunOS looks like this:

      integer n, ieee_handler, sigfpe_abort
      n = ieee_handler( 'set', 'common', SIGFPE_ABORT )

On the RS/6000, it seems that FORTRAN doesn't have anything special,
but that the fp_enable stuff could be used to get the processor to
signal on things like divide by zero instead of merrily going on.
Amazing that the Fortran manual has no mention of this nor an example.
Hmph.

Anyone?



More information about the Comp.unix.aix mailing list