Re: AMBER: pmemd install error

From: David A. Case <>
Date: Fri, 26 Jan 2007 15:45:14 -0800

On Tue, Jan 23, 2007, Robert Duke wrote:

> So if you must use OpenMPI, you must figure out the
> correct library names and their locations as well as the location of the
> OpenMPI include files, and modify the appropriate information in your pmemd
> config.h file. You must also make sure that OpenMPI has been built with
> ifort specified as the fortran compiler. Since sander does support
> OpenMPI, a fairly simple way to do all this is to build parallel sander,
> then look at the config.h that was used under $AMBERHOME/src.

Note that sander in version 9 supported the openMPI that was avaialable at the
time of the release. Since then, however, openMPI changed their way of doing
things. In particular, the openMPI mpif.h itself has inside it a fortran
'include' statement :-(

This means that you not only have to tell the preprocessor where "mpif.h" is,
but also have to tell the compiler what directories to search when processing
"include" statements.

Basically, this usually means replacing the "ifort" command with "mpif90"
in config.h.

...good luck...dac
The AMBER Mail Reflector
To post, send mail to
To unsubscribe, send "unsubscribe amber" to
Received on Sun Jan 28 2007 - 06:07:50 PST
Custom Search