Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Uncle George <gatgul@voicenet.com>
To: axp-list@redhat.com, Jack Wathey <wathey@salk.edu>
Subject: Re: problem compiling yorick
Date: Mon, 15 Nov 1999 15:43:11 -0500	[thread overview]
Message-ID: <3830705F.282F2D1A@voicenet.com> (raw)
In-Reply-To: Pine.BSF.4.10.9911151136550.20074-100000@eccles.salk.edu

Probably add a -mieee to the cc compile line options
This will probably fix ur problem, but at a cost of FPU execution speed. maybe
any analysys of the FPU err would make better sense ( gives u an idea of whats
wrong! )
gat

Jack Wathey wrote:

> I'm trying to compile Yorick from Lawrence Livermore Natl Lab on an
> LX-164, 21164a 533MHz, 128 Mb ram, running RedHat 5.2, kernel 2.2.1.  I
> ran ./configure without incident, then "make" failed because it was trying
> to find /usr/include/machine/fpu.h.  The configure script evidently
> doesn't recognize an alpha linux system and assumes my machine is running
> OSF.  I created a softlink named /usr/include/machine, pointing to asm,
> which is where fpu.h lives, and then "make" worked fine.
>
> I then ran "make check", which runs a bunch of number-crunching tests, and
> got the following:
>
> Escape factor timing test:
> ERROR (escout) Floating point interrupt (SIGFPE)
>   LINE: 263  FILE:
>   /usr/local/src/llnl/yorick/yorick-1.4/Drat/../Yorick/include/test2.i
> yorick: quitting on error in batch mode
> rm -f junk*
> make[1]: Leaving directory
> `/usr/local/src/llnl/yorick/yorick-1.4/Drat'
>
> Line 263 of the following (from test2.i) is where it failed:
>
> 253   /* compute the escaping flux per unit surface area in each bin
> 254      contributed by each zone -- units are 10^17 W/kev/cm^2  */
> 255   /* Note:
> 256        dI/dtau = -I + S   (S is srcfun, which is Bnu) implies
> 257        I = integral of ( S * exp(tau) ) dtau from tau -infinity to tau 0
> 258        Hence, the contribution of a single zone to this integral is
> 259        S12 * (exp(tau1) - exp(tau2)), which explains the exf(dif,,) below.
> 260        The wmu are Gauss-Legendre integration weights, and the mu is
> the
> 261        cos(theta) to project the specific intensity onto the direction
> 262        normal to the surface (zt).  */
> 263   esfun= 2*pi*exf(dif,,)*srcfun(,,-)*(mu*wmu)(-,-,);
>
> I'd be grateful for any advice, especially from someone who has yorick
> running on an alpha linux system.  I saw that alphalinux.org has a binary
> in .deb form for "slink", but no rpms, and I don't know if or how I can
> use a .deb package on my system.
>
> TIA,
> Jack
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com


  reply	other threads:[~1999-11-15 20:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-15 19:51 problem compiling yorick Jack Wathey
1999-11-15 20:43 ` Uncle George [this message]
1999-11-18 20:18   ` Jack Wathey
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