Re: [AMBER] PMEMD installation error

From: case <>
Date: Fri, 23 Dec 2011 10:00:33 -0500

On Fri, Dec 23, 2011, hari krishna wrote:
> I have successfully installed the parallel version of the SANDER and then i
> tried to install the PMEMD in parallel, but got the following error.
> ./configure linux_em64t gfortran mpich2
> cd src && make all
> make[1]: Entering directory `/home/guest1/amber10/src/pmemd/src'
> cc -E -DPUBFFT gbl_constants.fpp gbl_constants.f90
> cc: gbl_constants.f90: No such file or directory

This is weird: the *.f90 files in pmemd are made by running a preprocessor
on the corresponding *.fpp files (e.g. on gbl_constants.fpp, which does

Furthermore, your system is somehow trying to use the "cc" compiler to
compile a fortran source file. It looks to me like your Makefile has become
corrupted somehow, and that the rule for C files is being used for
fortran files.

There is (or should be) a suffix rule in $AMBERHOME/src/pmemd/src/Makefile
whose line begins with ".fpp.o:". Can you look at that (and the lines that
follow it) to see if anything looks funny? Compare that Makefile to the one
from your original distribution, and/or post it to the list if you can't see
where the problem is yourself.


AMBER mailing list
Received on Fri Dec 23 2011 - 07:30:02 PST
Custom Search