Re: [AMBER] MPI Compilation problems Amber 12 on CentOS 6.2

From: David A Case <case.biomaps.rutgers.edu>
Date: Thu, 13 Jun 2013 07:47:37 -0400

On Thu, Jun 13, 2013, Frank Thommen wrote:

> In file included from select_atoms.c:5:
> /usr/include/string.h:548: error: expected declaration specifiers or
> '...' before '__locale_t'

Pretty odd...your compiler doesn't like <string.h>.

What does "mpicc -show" report? How about "gcc --version".

> This is on CentOS 6.2 (kernel 2.6.32-220.el6.x86_64) on an LSF 7.0.6
> cluster using the MPI implementation which comes with LSF.

By far the safest way to build parallel Amber is to also build your own
MPI. That way, you know the options are correct, and that the same compiler
is used for MPI as for Amber. The "implementation that comes with LSF" could
have all kinds of weird behavior (and apparently does).

Go to $AMBERHOME/AmberTools/src and run "./configure_mpich --help". You
download the mpich code, re-run this script telling which compiler you want,
and it will generate an MPI installation that should be compatible and have
all the correct features enabled.

...good luck...dac


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Jun 13 2013 - 05:00:02 PDT
Custom Search