From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb9cd,3e10dbc776740ba1 X-Google-Attributes: gidfb9cd,public X-Google-Thread: 110292,3e10dbc776740ba1 X-Google-Attributes: gid110292,public X-Google-Thread: f57db,3e10dbc776740ba1 X-Google-Attributes: gidf57db,public X-Google-Thread: 1164f8,3e10dbc776740ba1 X-Google-Attributes: gid1164f8,public From: Achim Gratz Subject: Re: A portable benchmark for ANSI C compilers, Windows NT and MPP supercomputers. Date: 1997/03/17 Message-ID: #1/1 X-Deja-AN: 226135095 Sender: gratz@ite127.inf.tu-dresden.de References: <5g120v$312@news-rocq.inria.fr> Organization: Institute of Computer Engineering, CS department, TU Dresden, Germany Newsgroups: comp.benchmarks,comp.sys.intel,comp.sys.dec,comp.os.ms-windows.nt.misc henley 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