Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jack Wathey <wathey@salk.edu>
To: axp-list@redhat.com
Subject: Re: problem compiling yorick
Date: Thu, 18 Nov 1999 12:18:26 -0800 (PST)	[thread overview]
Message-ID: <Pine.BSF.4.10.9911181214120.38426-100000@eccles.salk.edu> (raw)
In-Reply-To: <3830705F.282F2D1A@voicenet.com>


The suggestion from Uncle George, below, surely works, but it quickly 
made me realize what I should have done to begin with: set it up to link
to cpml.  I tried this and it solved the problem.  For anyone else trying
to get yorick to compile, here is what I did:

In the file yorick-1.4/configure, change this line:

    LOWLIBS="-lm $LIBS"

to:

    LOWLIBS="-lcpml -lm $LIBS"

This assumes, of course, that you have already installed the Compaq
math library, libcpml.a, in /usr/lib.  If you have previously
tried and failed to compile yorick, type "make distclean" in the
yorick-1.4 directory.  Then type "./configure" followed by "make".
When that finishes, type "make check", and the tests should run to
completion without error.

On Mon, 15 Nov 1999, Uncle George wrote:

> 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
> 
> -- 
> 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-18 20:18 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
1999-11-18 20:18   ` Jack Wathey [this message]
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