Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: henley <henley@tonys.ecology.umn.edu>
Subject: Re: A portable benchmark for ANSI C compilers, Windows NT and MPP supercomputers.
Date: 1997/03/15	[thread overview]
Message-ID: <332AF12A.3F0@tonys.ecology.umn.edu> (raw)
In-Reply-To: 5g120v$312@news-rocq.inria.fr


Achim Gratz wrote:
> 
> hedrick@geneva.rutgers.edu (Charles Hedrick) writes:
> 
> > I just tried a 167 MHz Sun Ultra 1, and got 61 Mflops.  This is with
> > code I just got, so presumably it has the newest RISC optimizations in
> > it.  These are not current machines: there are now 200 and 250 MHz
> > Ultras available.  Compiled with Sun's C compiler version 4.0, -fast.
> 
> Try with
> 
> `-fast -xO5 -xsafe=mem -xtarget=ultra1/170 -xarch=v8plusa -xrestrict'
> 
> and see it jump to 80 MFlop (on the same machine).  The original
> version comes out at 72 MFlops.  Some compilers are better than others
> and I found the compilers for Alpha always seem to need more nudging.
> But that's beside the point.  The code is really ugly (sorry
> Mr.Henley).  I couldn't find out for instance how to drop in CGS
> instead of CG (and I have implemented both before).  Is this a
> nonlinear CG procedure?  And the matrix_matrix_multiply makes me
> dizzy.  It looks more like a cross product or where are the minusses
> coming from?  

Your comments, of course, are interesting, but no need to display your
ignorance. The minuses come from the fact that the matrices are
SU3 matrices, and therefore complex. Do you understand what a complex
matrix is? Did you run the routines that Robert Harley rewrote? And as 
for the CG routine, it is not a typical conjugate gradient routine. 
The "matrix" that is inverted is not really a matrix, ok? So your
previous
experience with CG is completely irrelevant. The matrix multiplication
is the most expensive step in the conjugate gradient (as you will
agree),
but the actual multiplication is an abstract one in this sense. It
involves
transporting 8 neigboring complex vectors (ie, 6 components, 3 real, 
3 imaginary) to each point of a distinct parity via the gauge links (a
la
General Relativity) which are COMPLEX 3 dimensional matrices. It is
a complex four dimensional operation that is difficult to implement.

Now the fact is that typically the code would be run with a smaller
quark mass, in which case the CG will have more iterations. If you
checked,
you will notice that the matrix_matrix_multiply routine is not called
from the CG routine anyway, so it is not as important in the really
tough simulations (i.e., small quark masses!). I want to use small
quark masses, because these correspond to the low energy hadronic states
(such as protons etc) that are more interesting to me. I simply
posted my code because I am interested in the comments of others,
and also I would like to see how different machines compare. 

Thanks for your timings, BTW, I'll add them to my list.

Henley



  parent reply	other threads:[~1997-03-15  5:00 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-03-10  5:00 A portable benchmark for ANSI C compilers, Windows NT and MPP supercomputers Robert Harley
1997-03-10  5:00 ` H.W. Stockman
1997-03-10  5:00 ` henley
1997-03-11  5:00   ` henley
1997-03-12  5:00     ` Chris Ruemmler
1997-03-13  5:00       ` Paul DeMone
1997-03-14  5:00         ` Chris Ruemmler
1997-03-14  5:00           ` Paul DeMone
1997-03-14  5:00       ` Peter Mayne
1997-03-14  5:00         ` Chris Ruemmler
1997-03-14  5:00           ` H.W. Stockman
1997-03-14  5:00         ` William J. Burlingame
1997-03-12  5:00     ` henley
1997-03-14  5:00     ` Charles Hedrick
1997-03-10  5:00 ` henley
1997-03-11  5:00   ` Peter Mayne
1997-03-10  5:00     ` H.W. Stockman
1997-03-12  5:00       ` Peter Mayne
1997-03-11  5:00   ` dick'circle-a'buckosoft'dot'com
1997-03-13  5:00 ` Geoffrey Welsh
1997-03-15  5:00 ` Achim Gratz
1997-03-15  5:00 ` henley [this message]
     [not found]   ` <332b221b.1501158@news.jussieu.fr>
1997-03-16  5:00     ` henley
1997-03-16  5:00 ` henley
1997-03-16  5:00 ` henley
1997-03-17  5:00 ` Paul DeMone
1997-03-17  5:00 ` henley
1997-03-17  5:00 ` Peter Mayne
1997-03-17  5:00 ` Achim Gratz
  -- strict thread matches above, loose matches on Subject: below --
1997-03-12  5:00 Robert Harley
1997-03-12  5:00 ` henley
1997-03-13  5:00   ` Loesche
1997-03-15  5:00     ` Martin T. Griffin
1997-03-16  5:00 ` A portable benchmark for ANSI C compilers, Windows NT and MPP , supercomputers Paul Repacholi (prep)
1997-03-16  5:00   ` henley
1997-03-17  5:00     ` Ben Myers
1997-03-06  5:00 A portable benchmark for ANSI C compilers, Windows NT and MPP supercomputers henley
1997-03-09  5:00 ` Zlatko Calusic
1997-03-09  5:00   ` henley
1997-03-11  5:00     ` Mike Greaves
1997-03-26  5:00       ` James Mansion
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