From: Achim Gratz <gratz@ite.inf.tu-dresden.de>
Subject: Re: A portable benchmark for ANSI C compilers, Windows NT and MPP supercomputers.
Date: 1997/03/17 [thread overview]
Message-ID: <c67yqkhhu.fsf@ite127.inf.tu-dresden.de> (raw)
In-Reply-To: 5g120v$312@news-rocq.inria.fr
henley <henley@tonys.ecology.umn.edu> writes:
> 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.
I do know, what a complex matrix is, but your code doesn't say so. I
admit I don't know anything about QCD (not everyone's a physicist,
right?), but I fail to see where this makes me ignorant. Your CG
looks fairly typical to me except for the fact that where one would
expect a matrix-vector-product, there's two calls to D_slash. My
question again, is this a linear or nonlinear operation? Has it side
effects? What is the reason for having a separate matrix for the real
and imaginary part? Would it be possible to pack these so that you
get a matrix of complex numbers?
> 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.
OK, while I still don't understand the physics involved, then don't
call this function matrix_matrix_multiply when it is in fact something
completely different.
[...]
> 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.
[...]
I understand (I think) why you posted the code and I like the idea.
But nobody who doesn't have a QCD background (like me) will have the
slightest chance of understanding (and hence optimising) the code if
it stays like it is, that's why I called it ugly. I'm sorry if that
is offending to you, but I stand by my word.
Regards,
Achim Gratz.
--+<[ It's the small pleasures that make life so miserable. ]>+--
WWW: http://www.inf.tu-dresden.de/~ag7/{english/}
E-Mail: gratz@ite.inf.tu-dresden.de
Phone: +49 351 463 - 8325
next prev parent reply other threads:[~1997-03-17 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 ` henley
1997-03-11 5:00 ` dick'circle-a'buckosoft'dot'com
1997-03-11 5:00 ` Peter Mayne
1997-03-10 5:00 ` H.W. Stockman
1997-03-12 5:00 ` Peter Mayne
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 ` William J. Burlingame
1997-03-14 5:00 ` Chris Ruemmler
1997-03-14 5:00 ` H.W. Stockman
1997-03-12 5:00 ` henley
1997-03-14 5:00 ` Charles Hedrick
1997-03-13 5:00 ` Geoffrey Welsh
1997-03-15 5:00 ` henley
[not found] ` <332b221b.1501158@news.jussieu.fr>
1997-03-16 5:00 ` henley
1997-03-15 5:00 ` Achim Gratz
1997-03-16 5:00 ` henley
1997-03-16 5:00 ` henley
1997-03-17 5:00 ` henley
1997-03-17 5:00 ` Paul DeMone
1997-03-17 5:00 ` Achim Gratz [this message]
1997-03-17 5:00 ` Peter Mayne
-- 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