From: Erik Lindahl <erik@theophys.kth.se>
Subject: Re: sqrt.s
Date: Sun, 28 Feb 1999 11:16:55 +0100 [thread overview]
Message-ID: <36D91797.7FF4C88@theophys.kth.se> (raw)
Hi,
Seems there are a number of us interested in real-life performace
of square root calculations.
I'm doing molecular dynamics on biological systems consisting of
10000-100000 atoms. The computational heavy part is the inner
loops (written in fortran of course) where I have to calculate the
inverse square root of the distance between pairs of particles.
The problem is reduced by using neighbourlists for each atom, but
this might trash the cache. We're currently using a fortran
implementation
of a table look-up & iteration routine directly calculating 1/sqrt(r).
The sqrt routine is still taking about 25% of the total runtime.
However, we're not using any vectorized version... There might
be something to win by not having to reload the table.
I've got access to both a DU box and a linux one and will be happy
both trying to contribute and test any new ideas... I'll send a piece
of code tomorrow if anyone's interested!
Regards,
Erik
next reply other threads:[~1999-02-28 10:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-02-28 10:16 Erik Lindahl [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-02-28 11:11 sqrt.s Andrei A. Dergatchev
1999-02-28 1:01 sqrt.s Andrei A. Dergatchev
1999-02-28 0:31 sqrt.s esci
1999-02-27 18:06 sqrt.s Michal Jaegermann
1999-02-21 16:23 sqrt.S Robert Harley
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