From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,534302f766ee3d8e X-Google-Attributes: gid111c93,public From: Don Baker Subject: Re: DEC compilers available for Linux? Date: 2000/09/26 Message-ID: <39D11124.991A40DC@aquarien.com>#1/1 X-Deja-AN: 674450764 Content-Transfer-Encoding: 7bit References: <8q5i9f$rtv$1@nnrp1.deja.com> <39CE793C.4DB0B64B@aquarien.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@onemain.com X-Trace: nntp1.onemain.com 970002793 209.128.132.25 (Tue, 26 Sep 2000 17:13:13 EDT) MIME-Version: 1.0 Reply-To: don.baker@aquarien.com NNTP-Posting-Date: Tue, 26 Sep 2000 17:13:13 EDT Newsgroups: comp.os.linux.alpha 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 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