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/11	[thread overview]
Message-ID: <3325AE31.30F5@tonys.ecology.umn.edu> (raw)
In-Reply-To: 3324357D.A1@tonys.ecology.umn.edu


> Robert Harley wrote:
> > 266MHz Alpha:   91 Mflops
> > 500MHz Alpha:   163 Mflops

Rob has pushed this up to 177 Mflops by rewriting some of the
numerical routines. The routines he has written produce faster
code on alphas (and presumably on RISC cpus in general),
but slower on Intel CPUs. So I left both versions in... you
may compile whichever version you like. 

As an aside, I have noticed that attempting to optimize code
by hand on compilers such as VC++ for Intel, I often came up 
with slower code... heh! None of the changes suggested to
me so far have resulted in faster code on the ppro, but the
changes have resulted in huge improvements on the alpha.

Instead of asking me in email if you can download the source 
code, you can just go ahead and get it:

ftp tonys.ecology.umn.edu
username: bench
password: mark

The source code is in /QCD, get all of it. There is a readme.
If you are not using multiCPU NT, you need to comment out the
#define SMP_NT line in hybmc.h... and if you want to try
Rob Harley's routines on your RISC CPU, you need to 
un-comment-out the #define FAST_VERSION in the same file. 

Then compile the single file hybmc_all.c .... yes, it is
ugly, but easy to do: no makefiles! It is in ANSI C, so it
should compile on anything.

The code is very much a beta code, still being developed. I
have put almost all my effort so-far into the development of
the algorithm. It is a full Quantum Chromodynamics simulation
which uses four flavors of quarks (staggered quarks. The
simulation runs on a 8^4 lattice, and runs about 20 mins
on a p133. At the end of the simulation, it reports the 
average number of Mflops performed per second. This is a
grand challenge problem, so your input can be very valuable.
And, it is a useful benchmark to compare all your computers,
from the MPP Cray T3D to the quad CPU pentium pro workstation.

Oh, before I forget, someone suggested I change everything
to "double". I was about to say that this does not necessarily
speed up the program, and it also can use too much memory
(try a 64^4 lattice).... but I just went ahead and tried it on
my pentium. It is slower on the pentium. So, what about on
an alpha? I should try it...

If you do run the code, please send me your results. If you
tweak some of the routines (such as Rob Harley did, in
fast_routines.c), then tell me about those too! I'll post 
results and useful tips for other programmers. I have also
gotten tips on NT specific stuff, so I will add those too.
Thanks to all who have sent me email.

cheers

Henley



  reply	other threads:[~1997-03-11  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 ` henley
1997-03-11  5:00   ` henley [this message]
1997-03-12  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-14  5:00     ` Charles Hedrick
1997-03-10  5:00 ` H.W. Stockman
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 ` Peter Mayne
1997-03-17  5:00 ` Achim Gratz
1997-03-17  5:00 ` henley
1997-03-17  5:00 ` Paul DeMone
  -- 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