[gmx-developers] GROMACS 3.1.x and 3.2.x AltiVec support fix

Charlie Peck charliep at cs.earlham.edu
Thu May 6 01:40:45 CEST 2004


In order for GROMACS (3.1.x and 3.2.x) to build and use AltiVec instructions
on PowerPC chips running Yellow Dog Linux/gcc 3.3.2 there are two files in
the distribution which need a header file added to them.

In configure "#include <altivec.h>" should be added before main() in the
generated C code in the AltiVec support test section. You can find this
by searching for "supports altivec".

In include/ppc_altivec.h "#include <altivec.h>" should be added before the
first function definition.

charlie peck



More information about the gromacs.org_gmx-developers mailing list