Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: ruede@NOSPAM.math.uni-augsburg.de (Ulrich Ruede)
Subject: Re: Official Digital/Compaq Support for Linux
Date: 1998/07/10	[thread overview]
Message-ID: <6o5reg$a4c$1@sparcserver.lrz-muenchen.de> (raw)
In-Reply-To: 6o4bje$8sk@ilfb03.tuwien.ac.at

In article <6o4bje$8sk@ilfb03.tuwien.ac.at>,
	Gerhard Schneider <gs@ilfb.tuwien.ac.at> writes:
> Ulrich Ruede <ruede@NOSPAM.math.uni-augsburg.de> wrote:
> 
>: My multigrid program to solve Poisson's equation does not use any libraries.
>: To solve a system with 1 Mio unknons it runs in
> 
> For the ordinary user it's not worth to write the thousands of lines of 
> assembler code you need if you don't use the libc or libm.
> 
> Otherwise your program won't accept input or produce any output (does it ? :-)

I meant to say: The multigrid subroutine that solves the Poisson equation
does not use any library functions. I of course use Fortran I/O which in
turn uses libraries. But the solver itself does not use any trigonometric
or exponential functions (as would at some stage FFT based solvers).
The algorithm only uses +,-,*, (not even /).  In fact, the algorithm could
run in fixed point (integer) arithmetic. Since some people have asked,
I've put the souce, makefile, and binaries (both DU and linux/g77) on
	ftp://malaga.math.uni.augsburg.de/incoming/ruede/neumann

Multigrid algorithms are the fastest known for this type of problem.
They can be proven to solve the Poisson equation (in a rectangle) in
35 operations per unknwn, independent of the problem size (and not
much more in more general cases). In my program, however, I *over-solve*
the problem for benchmarking purposes.

> P.S.: If you use any trigonometric functions, square root etc. TRY WESNER's
>       libfm (it's worth it's 0$)!!!

I will try it when I have a use for it. At the moment, I am mostly using
DU anyway, for performance reasons.

UR
__________________________________________________________________________
Ulrich Ruede, Institut fuer Mathematik, Universitaet Augsburg
D-86135 Augsburg, Germany, e-mail: ruede@NOSPAM.math.uni-augsburg.de
Tel: +49 821 598 2190, Fax: +49 821 598 2339
URL: http://scicomp.math.uni-augsburg.de/ruede/me.html



      reply	other threads:[~1998-07-10  4:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-02  4:00 Official Digital/Compaq Support for Linux Wai-Sun Chia
1998-07-02  4:00 ` Peter Mardahl
1998-07-03  4:00   ` Martin H�y
1998-07-08  4:00 ` Randall Parker
1998-07-09  4:00   ` Gerhard Schneider
1998-07-09  4:00     ` Ulrich Ruede
1998-07-09  4:00       ` Douglas G. Henke
1998-07-09  4:00         ` Jeff Lessem
1998-07-09  4:00           ` Douglas G. Henke
1998-07-09  4:00             ` Jeff Lessem
1998-07-10  4:00             ` Robert Harley
1998-07-10  4:00               ` Douglas G. Henke
1998-07-10  4:00           ` Randall Parker
1998-07-09  4:00       ` Michal Jaegermann
1998-07-10  4:00       ` Gerhard Schneider
1998-07-10  4:00         ` Ulrich Ruede [this message]
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