* lapack, blas, gemm under linux/axp
@ 1998-08-27 12:38 Stefan Boresch
1998-08-27 13:18 ` Uncle George
` (3 more replies)
0 siblings, 4 replies; 26+ messages in thread
From: Stefan Boresch @ 1998-08-27 12:38 UTC (permalink / raw)
To: axp-list
I have to install lapack/blas under RH5.1 for the alpha. What is the
easiest way to get this installed: As so often, there are i386 rpms,
but only a lapack.src.rpm and no blas.src.rpm. (The lapack.src.rpm
doesn't contain any blas source). So what are building blocks that
are known to work? Also, what optimization flags are known to work
with egcs-g77 etc. If memory serves right, someone kindly developed
highly optimized blas/gemm libraries for linux/alpha. Could someone
kindly point me to the right link. Do these completely replace blas,
i.e. is it enough to install them, then rebuild the lapack.src.rpm?
I am aware that at least half of this is kind of a FAQ, but Redhat's
search engine of the mailing list archives is down.
Thanks,
Stefan
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: lapack, blas, gemm under linux/axp
1998-08-27 12:38 lapack, blas, gemm under linux/axp Stefan Boresch
@ 1998-08-27 13:18 ` Uncle George
1998-08-27 14:14 ` Adam C. Powell, IV
` (2 subsequent siblings)
3 siblings, 0 replies; 26+ messages in thread
From: Uncle George @ 1998-08-27 13:18 UTC (permalink / raw)
To: axp-list
i suppose this prob is ( maybe ) due to the hurricane parked on North
Carolina's front lawn this morning.
Stefan Boresch wrote:
> am aware that at least half of this is kind of a FAQ, but Redhat's
> search engine of the mailing list archives is down.
>
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: lapack, blas, gemm under linux/axp
1998-08-27 12:38 lapack, blas, gemm under linux/axp Stefan Boresch
1998-08-27 13:18 ` Uncle George
@ 1998-08-27 14:14 ` Adam C. Powell, IV
1998-08-27 16:27 ` Johannes G.D. Hausmann
1998-08-27 14:17 ` Kazushige Goto
1998-08-29 19:29 ` Stig Telfer
3 siblings, 1 reply; 26+ messages in thread
From: Adam C. Powell, IV @ 1998-08-27 14:14 UTC (permalink / raw)
To: axp-list
Stefan Boresch wrote:
> I have to install lapack/blas under RH5.1 for the alpha. What is the
> easiest way to get this installed: As so often, there are i386 rpms,
> but only a lapack.src.rpm and no blas.src.rpm. (The lapack.src.rpm
> doesn't contain any blas source). So what are building blocks that
> are known to work? Also, what optimization flags are known to work
> with egcs-g77 etc. If memory serves right, someone kindly developed
> highly optimized blas/gemm libraries for linux/alpha. Could someone
> kindly point me to the right link. Do these completely replace blas,
> i.e. is it enough to install them, then rebuild the lapack.src.rpm?
I got my blas and lapack from
ftp://info.mcs.anl.gov/pub/petsc/blas_lapack.tar.gz , and just compiled
them with -O2. I have haifa disabled on egcs 1.03a, and it is pretty
quick.
Kazushige Goto wrote a fast dgemm library in assembler, which is in
ftp://ftp.eni.co.jp/.2/Linux-Alpha-JP/ftp.statabo.rim.or.jp/BLAS/ .
That's what I know...
Zeen,
-Adam `Cold Fusion' Powell, IV _/\_ http://www.ctcms.nist.gov/~powell/
Call with Netscape Conference! \/ http://dls.netscape.com/ ____
USDoC, National Institute of Standards & Technology (NIST) |\ ||< |
Center for Theoretical and Computational Materials Science | \||_> |
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: lapack, blas, gemm under linux/axp
1998-08-27 12:38 lapack, blas, gemm under linux/axp Stefan Boresch
1998-08-27 13:18 ` Uncle George
1998-08-27 14:14 ` Adam C. Powell, IV
@ 1998-08-27 14:17 ` Kazushige Goto
1998-08-29 19:29 ` Stig Telfer
3 siblings, 0 replies; 26+ messages in thread
From: Kazushige Goto @ 1998-08-27 14:17 UTC (permalink / raw)
To: axp-list
Hi,
From: Stefan Boresch <stefan@mdy.univie.ac.at>
Subject: lapack, blas, gemm under linux/axp
stefan> highly optimized blas/gemm libraries for linux/alpha. Could someone
stefan> kindly point me to the right link. Do these completely replace blas,
stefan> i.e. is it enough to install them, then rebuild the lapack.src.rpm?
I made a dgemm routine which runs about 770 to 800MFlops
constantly(600MHz 21164A).
Please see
ftp.eni.co.jp/.2/Linux-Alpha-JP/ftp.statabo.rim.or.jp/BLAS
Thanks,
goto@statabo.rim.or.jp
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: lapack, blas, gemm under linux/axp
1998-08-27 14:14 ` Adam C. Powell, IV
@ 1998-08-27 16:27 ` Johannes G.D. Hausmann
0 siblings, 0 replies; 26+ messages in thread
From: Johannes G.D. Hausmann @ 1998-08-27 16:27 UTC (permalink / raw)
To: axp-list
Hi there!
> > but only a lapack.src.rpm and no blas.src.rpm. (The lapack.src.rpm
> > doesn't contain any blas source). So what are building blocks that
It does, at least the one I got (lapack-2.0.8.src.rpm, tho I'm not sure
about the 8 anymore...there's lapack,blas, and man pages in there).
I couldn't get the shared libraries to work - but haven't probed into
this. Anyone have a clue? (PC164/kernel 2.0.34/egcs-1.0.3, with Haifa).
Jo
--
-----------------------------------------
Johannes Hausmann
Carl von Ossietzky Universitaet Oldenburg
FB Physik -- AG Komplexe Systeme
EMail : joe@neuro.uni-oldenburg.de
-----------------------------------------
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: lapack, blas, gemm under linux/axp
1998-08-27 12:38 lapack, blas, gemm under linux/axp Stefan Boresch
` (2 preceding siblings ...)
1998-08-27 14:17 ` Kazushige Goto
@ 1998-08-29 19:29 ` Stig Telfer
1998-09-01 1:06 ` Crashing X servers Mark Hansel
3 siblings, 1 reply; 26+ messages in thread
From: Stig Telfer @ 1998-08-29 19:29 UTC (permalink / raw)
To: axp-list
A couple of years ago I was working with SPARC systems in France, and I met
a guy (Michel Dayde) who had developed a BLAS-3 library, written in F77,
specifically for RISC architectures.
I tested the library, and found that it significantly outperformed the
CraySoft numerical libraries we had been using up to that point. The
library is freely available and should perform well for the Alpha
(depending of course on the quality of your compiler), and should fill any
gaps you don't have hand-coded solutions for. Try looking at:
http://www.enseeiht.fr/fr/Recherche/Info/apo/Blas.html
Regards,
Stig Telfer
At 2:38 pm +0200 27/8/98, Stefan Boresch wrote:
>I have to install lapack/blas under RH5.1 for the alpha. What is the
>easiest way to get this installed: As so often, there are i386 rpms,
>but only a lapack.src.rpm and no blas.src.rpm. (The lapack.src.rpm
>doesn't contain any blas source). So what are building blocks that
>are known to work? Also, what optimization flags are known to work
>with egcs-g77 etc. If memory serves right, someone kindly developed
>highly optimized blas/gemm libraries for linux/alpha. Could someone
>kindly point me to the right link. Do these completely replace blas,
>i.e. is it enough to install them, then rebuild the lapack.src.rpm?
>
>I am aware that at least half of this is kind of a FAQ, but Redhat's
>search engine of the mailing list archives is down.
>
>Thanks,
>
>Stefan
>
>--
>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
--
Any opinions expressed are my own and not those of Alpha Processor Inc.
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: lapack, blas, gemm under linux/axp
@ 1998-08-29 19:57 Greg Lindahl
1998-09-15 13:27 ` Johannes G.D. Hausmann
0 siblings, 1 reply; 26+ messages in thread
From: Greg Lindahl @ 1998-08-29 19:57 UTC (permalink / raw)
To: axp-list
> A couple of years ago I was working with SPARC systems in France, and I met
> a guy (Michel Dayde) who had developed a BLAS-3 library, written in F77,
> specifically for RISC architectures.
>
> I tested the library, and found that it significantly outperformed the
> CraySoft numerical libraries we had been using up to that point. The
> library is freely available and should perform well for the Alpha
> (depending of course on the quality of your compiler), and should fill any
> gaps you don't have hand-coded solutions for. Try looking at:
>
> http://www.enseeiht.fr/fr/Recherche/Info/apo/Blas.html
Jack Dongarra has a similar project which machine-generates
architecture-specific high-level source to do cache blocking for
Blas. I would assume that Goto's hand-generated assembly will beat
this, for the ones he's done, and Intel's i386 assembly blas are
probably also faster; that library is complete.
It would be nice if someone would put together a full alpha BLAS with
the fastest implementation of each routine.
-- g
^ permalink raw reply [flat|nested] 26+ messages in thread
* Crashing X servers
1998-08-29 19:29 ` Stig Telfer
@ 1998-09-01 1:06 ` Mark Hansel
1998-09-01 8:40 ` Georg Wittig
` (4 more replies)
0 siblings, 5 replies; 26+ messages in thread
From: Mark Hansel @ 1998-09-01 1:06 UTC (permalink / raw)
To: axp-list
How many people are having X86_SVGA crash when "several" (10-15 somewhere)
windows are open, even with only 8 bit modes on? This is a reproducible on
my LX / 128MB. The crash kills everything. The keyboard is dead, mouse
registers nothing, telnet, even ping from another machine get no
response.
At the recommendation of DCG tech support, I added sw_cursor to
XF86_CONFIG and commented out all but 8bit display modes. No joy.
Do other people have this problem? How widespread a problem is it? I've
been told it is a "known" problem. Has anyone found an X server for the
Matrox Millenium that works? Can we get this thoroughly documented?
System description and my practices: Linux is Red Hat 5.1, factory
installed, XF86_SVGA compile date 5/5/98 and I have tried one later
version (8 something). I start xdm from a root command line and the
machine returns to that command line with a blinking cursor on the crash.
The kernel does manage to write the following in /var/log/messages:
Aug 31 19:31:18 alpha kernel: X: memory violation at pc=12004fc40
rp=12004fed0 (bad address = 206cbc04)
This is a BAD and intollerable bug. I do not have the expertise to fix it.
I'm a social scientist, not a kernel hacker -- the experienced but humble
user whom the Linux community is could attract. The Linux kernel is not
supposed to crash! Several years using Slackware on intel has led me to
expect stable performance for months at a time (power outage to power
outage), even when running very buggy programs (mine).
I have work to do. I need the power of this machine (and at the end of
development, much more) to do that work. If there is no fix real soon, I
have to find a stable OS. Can we get this solved?
Mark Hansel (218-236-2039)
hansel@mhd1.moorhead.msus.edu
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Crashing X servers
1998-09-01 1:06 ` Crashing X servers Mark Hansel
@ 1998-09-01 8:40 ` Georg Wittig
1998-09-01 16:45 ` Wes Bauske
` (3 subsequent siblings)
4 siblings, 0 replies; 26+ messages in thread
From: Georg Wittig @ 1998-09-01 8:40 UTC (permalink / raw)
To: axp-list
On Mon, Aug 31, 1998 at 08:06:21PM -0500, Mark Hansel wrote:
> How many people are having X86_SVGA crash when "several" (10-15 somewhere)
> windows are open, even with only 8 bit modes on? This is a reproducible on
> my LX / 128MB. The crash kills everything. The keyboard is dead, mouse
> registers nothing, telnet, even ping from another machine get no
> response.
There's a patch out there which fixes it for me:
ftp://mea.tmt.tele.fi/pub/XFree86/XFree86-3.3-alpha3-sockets.patch
(Thanks to Matti Aarnio pointing this URL out to me) I applied this
patch to the XFree86-3.3.2.3 sources.
I run it since a month now. However, in the meantime I had 2 crashes
of the xserver when I had approx. 35-40 windows open. The crash
doesn't occur when opening a new window, but when working with one of
the windows. Don't know if this is an xserver problem or a kernel
problem (I'm running stock RH5.0 kernel - 2.0.30 I think).
--
Georg Wittig GMD email:Georg.Wittig@gmd.de
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C makes it easy for you to shoot yourself in the foot. C++ makes
that harder, but when you do, it blows away your whole leg.
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Crashing X servers
1998-09-01 1:06 ` Crashing X servers Mark Hansel
1998-09-01 8:40 ` Georg Wittig
@ 1998-09-01 16:45 ` Wes Bauske
1998-09-01 18:34 ` scorpio
` (2 subsequent siblings)
4 siblings, 0 replies; 26+ messages in thread
From: Wes Bauske @ 1998-09-01 16:45 UTC (permalink / raw)
To: axp-list
Mark Hansel wrote:
>
> How many people are having X86_SVGA crash when "several" (10-15 somewhere)
> windows are open, even with only 8 bit modes on? This is a reproducible on
> my LX / 128MB. The crash kills everything. The keyboard is dead, mouse
> registers nothing, telnet, even ping from another machine get no
> response.
>
Look at:
ftp://mea.tmt.tele.fi/pub/XFree86/XFree86-3.3-alpha3-sockets.patch
Wes
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Crashing X servers
1998-09-01 1:06 ` Crashing X servers Mark Hansel
1998-09-01 8:40 ` Georg Wittig
1998-09-01 16:45 ` Wes Bauske
@ 1998-09-01 18:34 ` scorpio
1998-09-01 22:34 ` Mark Hansel
1998-09-01 19:17 ` Richard Henderson
1998-09-01 19:55 ` Rolf Neugebauer
4 siblings, 1 reply; 26+ messages in thread
From: scorpio @ 1998-09-01 18:34 UTC (permalink / raw)
To: axp-list; +Cc: hansel
To test this, I opened 16 windows. Admittedly, most of them are
Eterms, so this probably can't be called a valid test, but I'm not really
sure what to test. Everything seems to be working fine for me; I'm using
an sx164 w/64MB of ram, modified RH5.0 install. Matrox Mil. II, 4MB.
Hardware cursor.
I'm using an X server I just recently grabbed from
ftp://data.microway.com/. Get the new XF86_SVGA (not XF86_SVGA_matrox;
that's compiled for old libs, e.g., w/RH4.2), and give it a whirl. I
can't guarantee it'll work, but it's worth a shot.
Oh, and I'm running a 2.1.115 kernel. You didn't mention which
kernel you're using; if this is a kernel problem, that's quite relevant.
(you said 'factory installed RH5.1'... did the factory update the kernel?
;-)
If the new X server doesn't fix the problem, run the following
script and send me (or the list, I 'spose) the output. Also, I'll need to
know the kernel version, and the memory violation message that gets logged
(i.e., the one you sent us this time; it may be different numbers then).
#!/bin/sh
ldd /usr/X11R6/bin/XF86_SVGA
echo
echo /proc/ksyms
cat /proc/ksyms
# -- end of script
On Mon, 31 Aug 1998, Mark Hansel wrote:
> How many people are having X86_SVGA crash when "several" (10-15 somewhere)
> windows are open, even with only 8 bit modes on? This is a reproducible on
> my LX / 128MB. The crash kills everything. The keyboard is dead, mouse
> registers nothing, telnet, even ping from another machine get no
> response.
>
> At the recommendation of DCG tech support, I added sw_cursor to
> XF86_CONFIG and commented out all but 8bit display modes. No joy.
>
> Do other people have this problem? How widespread a problem is it? I've
> been told it is a "known" problem. Has anyone found an X server for the
> Matrox Millenium that works? Can we get this thoroughly documented?
>
> System description and my practices: Linux is Red Hat 5.1, factory
> installed, XF86_SVGA compile date 5/5/98 and I have tried one later
> version (8 something). I start xdm from a root command line and the
> machine returns to that command line with a blinking cursor on the crash.
>
> The kernel does manage to write the following in /var/log/messages:
>
> Aug 31 19:31:18 alpha kernel: X: memory violation at pc=12004fc40
> rp=12004fed0 (bad address = 206cbc04)
>
> This is a BAD and intollerable bug. I do not have the expertise to fix it.
> I'm a social scientist, not a kernel hacker -- the experienced but humble
> user whom the Linux community is could attract. The Linux kernel is not
> supposed to crash! Several years using Slackware on intel has led me to
> expect stable performance for months at a time (power outage to power
> outage), even when running very buggy programs (mine).
>
> I have work to do. I need the power of this machine (and at the end of
> development, much more) to do that work. If there is no fix real soon, I
> have to find a stable OS. Can we get this solved?
>
> Mark Hansel (218-236-2039)
> hansel@mhd1.moorhead.msus.edu
>
>
> --
> 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
>
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Crashing X servers
1998-09-01 1:06 ` Crashing X servers Mark Hansel
` (2 preceding siblings ...)
1998-09-01 18:34 ` scorpio
@ 1998-09-01 19:17 ` Richard Henderson
1998-09-01 19:55 ` Rolf Neugebauer
4 siblings, 0 replies; 26+ messages in thread
From: Richard Henderson @ 1998-09-01 19:17 UTC (permalink / raw)
To: axp-list
On Mon, Aug 31, 1998 at 08:06:21PM -0500, Mark Hansel wrote:
> The kernel does manage to write the following in /var/log/messages:
>
> Aug 31 19:31:18 alpha kernel: X: memory violation at pc=12004fc40
> rp=12004fed0 (bad address = 206cbc04)
>
> This is a BAD and intollerable bug. I do not have the expertise to fix it.
> I'm a social scientist, not a kernel hacker -- the experienced but humble
> user whom the Linux community is could attract. The Linux kernel is not
> supposed to crash!
The linux kernel did not crash -- the X server did. It did it by
having cropped the high 32-bits of an address (notice 206cbc04).
You didn't say, but because you are using XF86_SVGA, I presume you
are using a Matrox Millenium. In which case, you should try out
Matti Aarnio's patched server. I don't have the url handy, but
hopefully someone will pipe up.
r~
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Crashing X servers
1998-09-01 1:06 ` Crashing X servers Mark Hansel
` (3 preceding siblings ...)
1998-09-01 19:17 ` Richard Henderson
@ 1998-09-01 19:55 ` Rolf Neugebauer
4 siblings, 0 replies; 26+ messages in thread
From: Rolf Neugebauer @ 1998-09-01 19:55 UTC (permalink / raw)
To: axp-list
We had the same problems with RH 5.1, Matrox Millennium II, and
XF86_SVGA 3.3.2.3 (July 15 1998). In the archives of this list I found
a reference to a patched X server which works fine (16bit mode
at 1280x1024).
Binaries and patches for XFree86 3.3.2 (March 2 1998) are under:
ftp://mea.tmt.tele.fi/pub/XFree86
Rolf
BTW.: Are the patches going to be incorporated into newer releases of
XFree86?
Mark Hansel <hansel@hansel.moorhead.msus.edu> writes:
> How many people are having X86_SVGA crash when "several" (10-15 somewhere)
> windows are open, even with only 8 bit modes on? This is a reproducible on
> my LX / 128MB. The crash kills everything. The keyboard is dead, mouse
> registers nothing, telnet, even ping from another machine get no
> response.
>
> At the recommendation of DCG tech support, I added sw_cursor to
> XF86_CONFIG and commented out all but 8bit display modes. No joy.
>
> Do other people have this problem? How widespread a problem is it? I've
> been told it is a "known" problem. Has anyone found an X server for the
> Matrox Millenium that works? Can we get this thoroughly documented?
>
> System description and my practices: Linux is Red Hat 5.1, factory
> installed, XF86_SVGA compile date 5/5/98 and I have tried one later
> version (8 something). I start xdm from a root command line and the
> machine returns to that command line with a blinking cursor on the crash.
>
> The kernel does manage to write the following in /var/log/messages:
>
> Aug 31 19:31:18 alpha kernel: X: memory violation at pc=12004fc40
> rp=12004fed0 (bad address = 206cbc04)
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Crashing X servers
1998-09-01 18:34 ` scorpio
@ 1998-09-01 22:34 ` Mark Hansel
0 siblings, 0 replies; 26+ messages in thread
From: Mark Hansel @ 1998-09-01 22:34 UTC (permalink / raw)
To: axp-list
The XF86_SVGA binary at ftp://mea.tmt.tele.fi/pub/XFree86/ worked for me
with >20 open non-trivial windows (xboard, games, emacs, etc),several with
running programs. The README at this site is useful. Over the next week,
I'll give it a few rugged workouts.
Thanks to Michal Jaegermann
Microway is reputed to have a working SVGA X server at
ftp://data.microway.com/. I didn't try it though the sender considered it
sound on his own machine.
Thanks to the sender, who provided only an email address.
Thank you for the thoughtful replies. I knew this was a friendly and
helpful <virtual> community.
Mark Hansel (218-236-2039)
hansel@mhd1.moorhead.msus.edu
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: lapack, blas, gemm under linux/axp
1998-09-15 13:27 ` Johannes G.D. Hausmann
@ 1998-09-15 12:46 ` Stefan Boresch
1998-09-15 13:54 ` Johannes G.D. Hausmann
1998-09-15 13:52 ` Jochen Kuepper
1998-09-16 12:05 ` Johannes G.D. Hausmann
2 siblings, 1 reply; 26+ messages in thread
From: Stefan Boresch @ 1998-09-15 12:46 UTC (permalink / raw)
To: axp-list
> I'm trying to do this. Basis is Kazushige Goto's libgemm-980901, Michel
> Dayde blas_risc_v1, and the lapack-2.0.8.src.rpm. I modified the spec
> file and did some minor changes in the Makefiles - things are looking
> good, BUT:
>
> g77 dies with Sig. 11 when in dlarfx.o. I've already looked, but I can't
> find the mail someone sent on how to find out which options are implied
> by -O2 and so on...
I noticed the same thing when using the egcs 1.0.2 compiler distributed
with RH 5.1. I did *not* observe the problem with a self-compiled
egcs 1.0.3 (haven't checked with 1.1b). So, the problem may be
compiler version dependent. Now, a caveat. I never verified the
correctness of the thus compiled routine (egcs 1.0.2 with -O0, egcs
1.0.3 with -O3), since my code doesn't use it. (I just wanted
to have a complete library).
Oh, and of course I/we could only get the .a versions to work.
Attempting to link against .so lead immediately to a segm. viol.
Stefan
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: lapack, blas, gemm under linux/axp
1998-08-29 19:57 lapack, blas, gemm under linux/axp Greg Lindahl
@ 1998-09-15 13:27 ` Johannes G.D. Hausmann
1998-09-15 12:46 ` Stefan Boresch
` (2 more replies)
0 siblings, 3 replies; 26+ messages in thread
From: Johannes G.D. Hausmann @ 1998-09-15 13:27 UTC (permalink / raw)
To: axp-list
Greg Lindahl wrote:
> It would be nice if someone would put together a full alpha BLAS with
> the fastest implementation of each routine.
>
Hi,
I'm trying to do this. Basis is Kazushige Goto's libgemm-980901, Michel
Dayde blas_risc_v1, and the lapack-2.0.8.src.rpm. I modified the spec
file and did some minor changes in the Makefiles - things are looking
good, BUT:
g77 dies with Sig. 11 when in dlarfx.o. I've already looked, but I can't
find the mail someone sent on how to find out which options are implied
by -O2 and so on...
A short reminder, please?!
Another note/question: It should be possible to take lapack from netlib
to a DEC machine with DXML libs, maybe replacing DGEMM/SGEMM with K.
Goto's routines, and then archiving the BLAS into liblapack.a, right?
Would licenses be violated by taking this lib to a linux box?
cu,
Jo
--
-----------------------------------------
Johannes Hausmann
Carl von Ossietzky Universitaet Oldenburg
FB Physik -- AG Komplexe Systeme
EMail : joe@neuro.uni-oldenburg.de
-----------------------------------------
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: lapack, blas, gemm under linux/axp
1998-09-15 13:27 ` Johannes G.D. Hausmann
1998-09-15 12:46 ` Stefan Boresch
@ 1998-09-15 13:52 ` Jochen Kuepper
1998-09-16 12:05 ` Johannes G.D. Hausmann
2 siblings, 0 replies; 26+ messages in thread
From: Jochen Kuepper @ 1998-09-15 13:52 UTC (permalink / raw)
To: axp-list, Johannes G.D. Hausmann
On Tue, 15 Sep 1998 Johannes G.D. Hausmann wrote:
>g77 dies with Sig. 11 when in dlarfx.o. I've already looked, but I can't
>find the mail someone sent on how to find out which options are implied
>by -O2 and so on...
>
>A short reminder, please?!
info g77
Greetings,
Jochen
-----------------------------------------------------------------------
Jochen K"upper
Heinrich-Heine-Universit"at D"usseldorf jochen@uni-duesseldorf.de
Institut f"ur Physikalische Chemie I
Universit"atsstr. 1, Geb 26.43 Raum 02.29 phone ++49-211-8113681
40225 D"usseldorf fax ++49-211-8115195
Germany http://www-public.rz.uni-duesseldorf.de/~jochen
-----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: lapack, blas, gemm under linux/axp
1998-09-15 12:46 ` Stefan Boresch
@ 1998-09-15 13:54 ` Johannes G.D. Hausmann
0 siblings, 0 replies; 26+ messages in thread
From: Johannes G.D. Hausmann @ 1998-09-15 13:54 UTC (permalink / raw)
To: axp-list
Stefan Boresch wrote:
> I noticed the same thing when using the egcs 1.0.2 compiler distributed
> with RH 5.1. I did *not* observe the problem with a self-compiled
> egcs 1.0.3 (haven't checked with 1.1b). So, the problem may be
> compiler version dependent. Now, a caveat. I never verified the
> correctness of the thus compiled routine (egcs 1.0.2 with -O0, egcs
> 1.0.3 with -O3), since my code doesn't use it. (I just wanted
> to have a complete library).
>
Hmmm...I remember this happening, but I don't recall the solution. I am
running RH5.1 with egcs-1.0.3.a, tho, but only -O worked this morning.
I'll have to check the new egcs release, but currently I don't have the
time to do the updates of the other stuff needing libstdc++-2.8, so this
will have to wait.
For now, I'd be happy inserting some extra lines to the Makefiles to get
the troublemakers in lapack to compile - but I want to know what's going
wrong so I can turn off only those optimization flags that cause the
error.
> Oh, and of course I/we could only get the .a versions to work.
> Attempting to link against .so lead immediately to a segm. viol.
>
Same here.
cu,
Jo
--
-----------------------------------------
Johannes Hausmann
Carl von Ossietzky Universitaet Oldenburg
FB Physik -- AG Komplexe Systeme
EMail : joe@neuro.uni-oldenburg.de
-----------------------------------------
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: lapack, blas, gemm under linux/axp
1998-09-15 13:27 ` Johannes G.D. Hausmann
1998-09-15 12:46 ` Stefan Boresch
1998-09-15 13:52 ` Jochen Kuepper
@ 1998-09-16 12:05 ` Johannes G.D. Hausmann
2 siblings, 0 replies; 26+ messages in thread
From: Johannes G.D. Hausmann @ 1998-09-16 12:05 UTC (permalink / raw)
To: axp-list
Hi there!
In reply to my own mail from yesterday:
> I'm trying to do this. Basis is Kazushige Goto's libgemm-980901, Michel
> Dayde blas_risc_v1, and the lapack-2.0.8.src.rpm. I modified the spec
> file and did some minor changes in the Makefiles - things are looking
> good, BUT:
>
> g77 dies with Sig. 11 when in dlarfx.o. I've already looked, but I can't
> find the mail someone sent on how to find out which options are implied
> by -O2 and so on...
>
> A short reminder, please?!
>
It also dies making slarfx.o. I found out that one of three optimization
options has to be turned off, then g77 -O6 -mcpu=ev56 -Wa,-mev56 is
successful:
-fno-rerun-cse-after-loop OR -fno-schedule-insns OR -fno-strenght-reduce
Any comments, which one hurts least? Also, any gurus willing to explain
what these options really do?
Also, incorporating the newer RISC-tuned zgemm and cgemm from M. Dayde
poses no problem, so I replaced the older ones with these.
cu,
Jo
--
-----------------------------------------
Johannes Hausmann
Carl von Ossietzky Universitaet Oldenburg
FB Physik -- AG Komplexe Systeme
EMail : joe@neuro.uni-oldenburg.de
-----------------------------------------
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: lapack, blas, gemm under linux/axp
@ 1998-09-16 14:20 Greg Lindahl
1998-09-18 2:28 ` Stig Telfer
1998-10-05 18:09 ` Johannes G.D. Hausmann
0 siblings, 2 replies; 26+ messages in thread
From: Greg Lindahl @ 1998-09-16 14:20 UTC (permalink / raw)
To: axp-list
> It also dies making slarfx.o. I found out that one of three optimization
> options has to be turned off, then g77 -O6 -mcpu=ev56 -Wa,-mev56 is
> successful:
>
> -fno-rerun-cse-after-loop OR -fno-schedule-insns OR -fno-strenght-reduce
BTW, it would be very helpful if you could install egcs-1.1b, verify
that the bugs still exist, and then report them to
egcs-bugs@cygnus.com. If you have more time, also try throwing in
-mieee to see if that hurts anything.
> Any comments, which one hurts least? Also, any gurus willing to explain
> what these options really do?
I'd guess that Haifa is actually the guilty party, and also that Haifa
produces the least benefit...
Do these RISC blas things have tunable parameters for block sizes?
-- g
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: lapack, blas, gemm under linux/axp
1998-09-16 14:20 Greg Lindahl
@ 1998-09-18 2:28 ` Stig Telfer
1998-09-18 10:56 ` Jochen Kuepper
1998-09-18 11:18 ` Paul Tomblin
1998-10-05 18:09 ` Johannes G.D. Hausmann
1 sibling, 2 replies; 26+ messages in thread
From: Stig Telfer @ 1998-09-18 2:28 UTC (permalink / raw)
To: axp-list
[-- Attachment #1: Type: text/html, Size: 4472 bytes --]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: lapack, blas, gemm under linux/axp
1998-09-18 2:28 ` Stig Telfer
@ 1998-09-18 10:56 ` Jochen Kuepper
1998-09-18 11:18 ` Paul Tomblin
1 sibling, 0 replies; 26+ messages in thread
From: Jochen Kuepper @ 1998-09-18 10:56 UTC (permalink / raw)
To: axp-list
Sorry, whats that ?
On Fri, 18 Sep 1998 Stig Telfer wrote:
><!doctype html public "-//W3C//DTD W3 HTML//EN">
><html><head><style type="text/css"><!--
>blockquote, dl, ul, ol, li { margin-top: 0 ; margin-bottom: 0 }
> --></style><title>Re: lapack, blas, gemm under
>linux/axp</title></head><body>
><div>Greg Lindahl wrote:</div>
><div>>Do these RISC blas things have tunable parameters for block
>sizes?</div>
><div>Here's a snippet from the makefile header on the ENSEEIHT BLAS
>project. The generic architecture settings expand into a whole
>slew of further settings and compiler switches, including cache sizes
>(but going far beyond that). FWIW, the Meiko configuration was
>the extent of my involvement with this project.</div>
><div><br></div>
><div>Regards,</div>
><div>Stig Telfer</div>
><div><br></div>
><div><font face="TTYFont" color="#000000"># Two variables, ARCHI and
>ORG, have to be set to machine-dependent values.<br>
># ARCHI is used to set the cache size to the correct value,<br>
># and thus the block size. The block sizes are included in<br>
># two files blockd.h and blocks.h that give the block size<br>
># for double and single precision, respectively. Additional<br>
># architectures can be included by editing these two files.<br>
>#<br>
># The block size NB is the largest even number such that<br>
>#<br>
># <span
>></span> 3*(NB**2)*PREC < CS<br>
>#<br>
># where PREC is the number of bytes corresponding to the<br>
># precision (4 bytes using single precision and 8 bytes<br>
># using double precision in IEEE format) and CS the cache size in
>bytes.<br>
>#<br>
># The valid options for ARCHI are the following:<br>
># STANDARD, SPARC10, RS6K32, RS6K64, and DECALPHA.<br>
># In the STANDARD option the block size<br>
># is determined using a cache size equal to 64KB.<br>
>#<br>
># The valid options for ORG are NOTRIADIC or TRIADIC.<br>
># ORG should be set to TRIADIC on<br>
># architectures where the hardware supports triadic operations<br>
># (for example the IBM RS6000 that implements floating-point
>multiply-and-add).<br>
># Moreover, this option should always be used except when you are
>sure<br>
># that the compiler you are using does not generate efficient code
>for<br>
># triadic operations (early SUN compilers for example).<br>
>#<br>
># It is important to select the correct version for the IBM since<br>
># we use different organization of computations<br>
># and timing procedures in these two versions.<br>
># RS6K32 corresponds to an RS6000 using a 32KB data cache (750 or
>SP1)<br>
># and RS6K64 to processors using a 64KB cache (550 or SP2).<br>
>#<br>
># Finally on some DEC Alpha compilers it is necessary to use the
>alternate<br>
># call to the c preprocessor (cpp) since it is not called properly
>from<br>
># cc for this machine. The cc call and its alternate can be
>found near<br>
># the end of the makefile.<br>
>#<br>
># Options for some RISC processors :<br>
># ================================<br>
>#<br>
># - DEC Alpha EV4, CRAY T3D : ARCHI =
>DECALPHA4, ORG = TRIADIC<br>
># - DEC Alpha
>EV5 :
>ARCHI = DECALPHA5, ORG =
>TRIADIC<br>
># - HP
>PA7100 <span
>></span> : ARCHI =
>STANDARD, ORG =
>TRIADIC<br>
># - IBM
>RS6000 <span
>></span> : ARCHI = RS6K32 or RS6K64, ORG =
>TRIADIC<br>
># - SUN SPARC10 and SPARC20 : ARCHI =
>SPARC10, ORG =
>NOTRIADIC<br>
># - MEIKO
>CS2-HA <span
>></span> : ARCHI =
>CS2HA, <span
>></span> ORG = NOTRIADIC<br>
># - SGI Power
>Challenge : ARCHI =
>SGI, <span
>></span> ORG = TRIADIC<br>
>#<br>
># By default select ARCHI = STANDARD and ORG = TRIADIC.</font></div>
>
><div>--<br>
>Any opinions expressed are my own and not those of Alpha Processor
>Inc.</div>
></body>
></html>
Greetings,
Jochen
-----------------------------------------------------------------------
Jochen K"upper
Heinrich-Heine-Universit"at D"usseldorf jochen@uni-duesseldorf.de
Institut f"ur Physikalische Chemie I
Universit"atsstr. 1, Geb 26.43 Raum 02.29 phone ++49-211-8113681
40225 D"usseldorf fax ++49-211-8115195
Germany http://www-public.rz.uni-duesseldorf.de/~jochen
-----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: lapack, blas, gemm under linux/axp
1998-09-18 2:28 ` Stig Telfer
1998-09-18 10:56 ` Jochen Kuepper
@ 1998-09-18 11:18 ` Paul Tomblin
1 sibling, 0 replies; 26+ messages in thread
From: Paul Tomblin @ 1998-09-18 11:18 UTC (permalink / raw)
To: axp-list
Email is a text medium, not a method for exchanging web pages. Please send
your message in text, not text/html.
--
Paul Tomblin, ptomblin@xcski.com.
"Only a NAZI would try to invoke Godwin's [law] deliberately"
- Jeff Gostin in a.s.r
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: lapack, blas, gemm under linux/axp
1998-09-16 14:20 Greg Lindahl
1998-09-18 2:28 ` Stig Telfer
@ 1998-10-05 18:09 ` Johannes G.D. Hausmann
1998-10-09 11:06 ` Johannes G.D. Hausmann
1998-11-22 14:50 ` Johannes G.D. Hausmann
1 sibling, 2 replies; 26+ messages in thread
From: Johannes G.D. Hausmann @ 1998-10-05 18:09 UTC (permalink / raw)
To: axp-list
Hi there!
I finished up a lapack-rpm that makes use of K. Goto's (currently
available in libgemm-980927) assembler dgemm/sgemm, as well as M.
Dayde's and Iain Duff's RISC-optimized Level 3 BLAS. The package is
based on the lapack-2.0-10.src.rpm.
Some problems I had compiling dlarfx.f and slarfx.f with optimization
have gone away - by upgrading to binutils-2.9.1.0.13-2 and egcs-1.1b.
Kotau to the egcs/g77 people.
More comments in the spec file at our ftp server:
ftp://ftp.neuro.uni-oldenburg.de/pub/alpha/
You can also get the patches there. Someday soon I'll put up an
alpha.rpm and a complete, if some the people involved agree.
Feedback welcome! Happy hacking,
Jo
P.S.: One oops: I just noticed that Source0 and Source1 aren't there
anymore. Just grab the lapack-2.0-10.src.rpm from the
contrib/manhattan/SRPMS area...
--
-----------------------------------------
Johannes Hausmann
Carl von Ossietzky Universitaet Oldenburg
FB Physik -- AG Komplexe Systeme
EMail : joe@neuro.uni-oldenburg.de
-----------------------------------------
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: lapack, blas, gemm under linux/axp
1998-10-05 18:09 ` Johannes G.D. Hausmann
@ 1998-10-09 11:06 ` Johannes G.D. Hausmann
1998-11-22 14:50 ` Johannes G.D. Hausmann
1 sibling, 0 replies; 26+ messages in thread
From: Johannes G.D. Hausmann @ 1998-10-09 11:06 UTC (permalink / raw)
To: axp-list
Hi,
First, the good news is that BLAS testing and timing work fine :)
Also, I merged all the patches I've come up with into one.
In continuing work on the lapack-rpm I ran into the following problems:
1. The LAPACK testing procedures (single prec) result in a few errors:
TESTING/LIN: stest => FPE
TESTING/EIG: nep => FPE
2. For double prec,
TESTING/EIG: des => 1 out of 3270 tests failed...
TESTING/EIG: dsx => 1 out of 3500 tests failed...
3. The LAPACK timing routines produce some compile errors:
TESTING/EIG/stimee.f,ctimee.f,dtimee.f, and ztimee.f
In all cases, an Invalid declaration is the culprit.
4. There's a FPE in LIN/stest in SORMRQ, I guess the same one as in 1.
Anyone willing to comment on 1., 2., and 4.? Also, I don't really know
so much about fortran, so I need help with 3.!
Thanx,
Jo
--
-----------------------------------------
Johannes Hausmann
Carl von Ossietzky Universitaet Oldenburg
FB Physik -- AG Komplexe Systeme
EMail : joe@neuro.uni-oldenburg.de
-----------------------------------------
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: lapack, blas, gemm under linux/axp
1998-10-05 18:09 ` Johannes G.D. Hausmann
1998-10-09 11:06 ` Johannes G.D. Hausmann
@ 1998-11-22 14:50 ` Johannes G.D. Hausmann
1 sibling, 0 replies; 26+ messages in thread
From: Johannes G.D. Hausmann @ 1998-11-22 14:50 UTC (permalink / raw)
To: axp-list
Hi people!
Remember this:
> I finished up a lapack-rpm that makes use of K. Goto's (currently
> available in libgemm-980927) assembler dgemm/sgemm, as well as M.
> Dayde's and Iain Duff's RISC-optimized Level 3 BLAS. The package is
> based on the lapack-2.0-10.src.rpm.
>
The directories on our server were locked for a few days. There's an
update available now. If interested, have a look at
ftp://ftp.neuro.uni-oldenburg.de/pub/alpha/lapack.html
Even tho work is still in progress (J. Wesner and K. Goto at the fast
math stuff, K. Goto at the BLAS,...), this one works fine - passes all
testing and timing routines. Very easy to install!
A comment by J. Wesner in comp.os.linux.alpha concerning atan2 in
libffm makes me a little nervous. It may be that this fct. does
actually not work perfectly. He also states that libffm.0.30 is in the
works, so don't worry too much :-)
Right now, I'm starting to look into an FFT-rpm (which is again based
on other peoples work). Any other suggestions (not too many at once
:-)?
Oh yeah, there's something like an advanced gnuplot called xmgr (which
I use at times to do regression and that type of thing when I'm in a
hurry). I found a source-rpm for i386-exclusive a while ago, but this
is bull because it works pretty straight forward on Alpha, too. Anyone
interested, then I'd put up the spec file...
Have fun,
Jo
--
-----------------------------------------
Johannes Hausmann
Carl von Ossietzky Universitaet Oldenburg
FB Physik -- AG Komplexe Systeme
EMail : joe@neuro.uni-oldenburg.de
-----------------------------------------
^ permalink raw reply [flat|nested] 26+ messages in thread
end of thread, other threads:[~1998-11-22 13:56 UTC | newest]
Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-27 12:38 lapack, blas, gemm under linux/axp Stefan Boresch
1998-08-27 13:18 ` Uncle George
1998-08-27 14:14 ` Adam C. Powell, IV
1998-08-27 16:27 ` Johannes G.D. Hausmann
1998-08-27 14:17 ` Kazushige Goto
1998-08-29 19:29 ` Stig Telfer
1998-09-01 1:06 ` Crashing X servers Mark Hansel
1998-09-01 8:40 ` Georg Wittig
1998-09-01 16:45 ` Wes Bauske
1998-09-01 18:34 ` scorpio
1998-09-01 22:34 ` Mark Hansel
1998-09-01 19:17 ` Richard Henderson
1998-09-01 19:55 ` Rolf Neugebauer
-- strict thread matches above, loose matches on Subject: below --
1998-08-29 19:57 lapack, blas, gemm under linux/axp Greg Lindahl
1998-09-15 13:27 ` Johannes G.D. Hausmann
1998-09-15 12:46 ` Stefan Boresch
1998-09-15 13:54 ` Johannes G.D. Hausmann
1998-09-15 13:52 ` Jochen Kuepper
1998-09-16 12:05 ` Johannes G.D. Hausmann
1998-09-16 14:20 Greg Lindahl
1998-09-18 2:28 ` Stig Telfer
1998-09-18 10:56 ` Jochen Kuepper
1998-09-18 11:18 ` Paul Tomblin
1998-10-05 18:09 ` Johannes G.D. Hausmann
1998-10-09 11:06 ` Johannes G.D. Hausmann
1998-11-22 14:50 ` Johannes G.D. Hausmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox