Re: AMBER: amber9 install problem

From: David A. Case <case.scripps.edu>
Date: Thu, 24 Jul 2008 08:08:21 -0700

On Thu, Jul 24, 2008, hklwatergod wrote:

> Recently i have a question,when i install the amber9.
> To build a parallel version, and make install
> the error following:
>
> [root.john src]# make parallel
> Starting installation of Amber9 (parallel) at Thu Jul 24 13:57:27 CST 2008.
> cd sander; make parallel
> make[1]: Entering directory `/usr/local/amber9/src/sander'
> ./checkparconf
> cpp -traditional -I/opt/openmpi/include -P -DMPI -DMKL evb_vars.f > _evb_vars.f
> ifort -c -w95 -mp1 -O0 -FR -o evb_vars.o _evb_vars.f
> cpp -traditional -I/opt/openmpi/include -P -DMPI -DMKL evb_input.f > _evb_input.f
> ifort -c -w95 -mp1 -O0 -FR -o evb_input.o _evb_input.f
> cpp -traditional -I/opt/openmpi/include -P -DMPI -DMKL evb_init.f > _evb_init.f
> ifort -c -w95 -mp1 -O0 -FR -o evb_init.o _evb_init.f
> fortcom: Error: _evb_init.f, line 185: Cannot open include file 'mpif-common.h'
> include 'mpif-common.h'

After Amber9 was released, openmpi changed the way it handled include files,
which broke our standard make procedures.

The simplest fix is to edit config.h to change "ifort" to either "ifort
-I/opt/openmpi/include", or to "mpif90".

....good luck...dac

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" (in the *body* of the email)
      to majordomo.scripps.edu
Received on Sun Jul 27 2008 - 06:07:32 PDT
Custom Search