From: Don Baker <don.baker@aquarien.com>
Subject: Re: DEC compilers available for Linux?
Date: 2000/09/26 [thread overview]
Message-ID: <39D11124.991A40DC@aquarien.com> (raw)
In-Reply-To: q85mq8.6mh.ln@robpc1.telus.net
Thanks, but it is an Alpha machine, and much to my regret I bought the
pc164lx motherboard machine that does not host unix. You can set all
the flags you want in DVF 5.0d, and set the mode to full debug with no
optimization; it still can't find it's way back to the source code from
many runtime errors, including at least one file read error. I have
SuSe Alpha linux 6.4, but haven't had time to install it yet.
Don Baker
Rob Komar wrote:
>
> Don Baker <don.baker@aquarien.com> wrote:
> > Yes, Compaq sells Fortran compilers, but do they sell a good debugger
> > to go with them? The last I heard, Compaq Visual Fortran version 6 in
> > Windows still cannot find the source code for a divide-by-zero, or log
> > or exponent of a negative number runtime error. It's extremely
> > aggravating when one is developing numerical method programs for
> > nonlinear PDEs. When it was DEC Visual Fortran, DEC used to blame
> > Windows for that. Does anyone know if they also have the same problem
> > in Linux?
>
> > Don Baker
>
> We do. The problem is that some FPU (floating-point unit) operations take
> a long time. To save some time, other kinds of instructions that don't
> depend on the outcome of the FP operation are often processed by the CPU
> while the FPU is working. If a FPU error occurs, the program counter
> can have moved on by many instructions by the time the signal from the
> hardware interrupt from the FPU is recognized by the program. To get
> around this on X86 machines, an FWAIT instruction needs to be inserted
> after each floating-point operation to make the CPU wait for the FPU to
> finish before going on to the next instruction. As far as I know, the
> gcc compilers don't do this. Bill Metzenthen wrote some external code
> to do this (see http://www.suburbia.net/~billm), but it works on the
> assembler output from gcc, so it requires a few extra steps to produce
> an executable (ie. it's a bit of a pain).
>
> I've never used Compaq Visual Fortran, but it's possible that it can
> do this. I'd look in the documentation for a description of a switch
> that adds FWAIT instructions to the code (assuming your using an X86
> machine and not an Alpha). I'd also compile the code with no optimization
> at all to keep instruction re-ordering to a minimum.
>
> Cheers,
> Rob Komar
next prev parent reply other threads:[~2000-09-26 4:00 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-18 4:00 DEC compilers available for Linux? darcher8987
2000-09-18 4:00 ` Serguei Patchkovskii
2000-09-19 0:42 ` W Bauske
2000-09-18 4:00 ` Greg Lindahl
2000-09-18 4:00 ` Hack
2000-09-19 4:00 ` RL Griswold
2000-09-26 1:20 ` ttk
2000-09-19 4:00 ` Robert Harley
2000-09-19 6:12 ` Takeyasu Wakabayashi
2000-09-19 4:00 ` Warner Bruns
2000-09-19 4:00 ` Takeyasu Wakabayashi
2000-09-19 4:00 ` Tony Hammitt
2000-09-19 6:15 ` Takeyasu Wakabayashi
2000-09-19 4:00 ` Nick Ntarmos
2000-09-19 4:00 ` Takeyasu Wakabayashi
2000-09-24 4:00 ` Don Baker
2000-09-24 4:00 ` Rob Komar
2000-09-26 4:00 ` Don Baker [this message]
2000-09-26 4:00 ` Serguei Patchkovskii
2000-10-17 4:00 ` jdonsbach
2000-09-24 4:00 ` Serguei Patchkovskii
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox