RE: AMBER: Build for single precision

From: Ross Walker <>
Date: Thu, 15 Dec 2005 08:29:35 -0800

Dear David,

> I want to build amber8 to use single and not double
> precision? What do I change in the build process to get the
> preprocessor to set _REAL_ to REAL*4.

Assuming you are refering to Sander then yes this should potentially work.
Although you may have to also search for any statements along the lines of:

implicit double precision (...)

Be aware though that building single precision is not advised, you will not
maintain enough accuracy in the calculations to get useful MD results. Some
codes such as Gromacs use single precision in places to speed up the
calculation but only in specific parts of the code. Essentially it is
believed, although I have never seen this sufficiently proven to satisfy me,
that as long as you do all of the individual pairwise interactions and bond,
angle and dihedral terms in double precision you can get away with just
summing the forces in single precision.

Anyway feel free to try building a single precision executable but be aware
that the results are not likely to be usable...

All the best

|\oss Walker

| Department of Molecular Biology TPC15 |
| The Scripps Research Institute |
| Tel: +1 858 784 8889 | EMail:- |
| | PGP Key available on request |

Note: Electronic Mail is not secure, has no guarantee of delivery, may not
be read every day, and should not be used for urgent or sensitive issues.

The AMBER Mail Reflector
To post, send mail to
To unsubscribe, send "unsubscribe amber" to
Received on Thu Dec 15 2005 - 16:53:01 PST
Custom Search