From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 12195 invoked from network); 18 Nov 1999 20:18:30 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 18 Nov 1999 20:18:30 -0000 Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id PAA13704 for ; Thu, 18 Nov 1999 15:18:28 -0500 Received: from eccles.salk.edu (eccles [198.202.70.120]) by helmholtz.salk.edu (8.7.5/8.7.3) with ESMTP id MAA26789 for ; Thu, 18 Nov 1999 12:18:26 -0800 (PST) Received: from localhost (wathey@localhost) by eccles.salk.edu (8.9.3/8.7.3) with ESMTP id MAA38450 for ; Thu, 18 Nov 1999 12:18:26 -0800 (PST) X-Authentication-Warning: eccles.salk.edu: wathey owned process doing -bs Date: Thu, 18 Nov 1999 12:18:26 -0800 (PST) From: Jack Wathey To: axp-list@redhat.com Subject: Re: problem compiling yorick In-Reply-To: <3830705F.282F2D1A@voicenet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 > >