[AMBER-Developers] mpif77 & Fortran 90

From: Lachele Foley <lfoley.ccrc.uga.edu>
Date: Wed, 24 Feb 2010 13:56:07 -0500

Trying to make parallel. Get many complaints like below. Fixes, so far anyway, if I change config.h auto-generated FC=mpif77 to FC=mpif90. (ia64 if relevant) Not sure where to fix or if it will cause trouble elsewhere.

# Amber configuration file, created with: ./configure -mpi gnu

mpif77 -c -O3 -ffree-form -o constants.o _constants.f
_constants.f:89:
   module constants
   1 2
Unrecognized statement name at (1) and invalid form for assignment or statement-function definition at (2)
_constants.f: In program `MAIN__':
_constants.f:93:
   double precision, parameter :: TEN_TO_MINUS2 = 1.0d-2
   ^
Fortran 90 feature at (^) unsupported


Maybe fix here?

#------------------------------------------------------------------------------
# Set up the mpi compilers:
#------------------------------------------------------------------------------

if [ "$mpi" = "yes" ]; then
    cc="mpicc"
    fc="mpif77"
    mpi_flag="-DMPI"
fi


:-) Lachele
--
B. Lachele Foley, PhD '92,'02
Assistant Research Scientist
Complex Carbohydrate Research Center, UGA
706-542-0263
lfoley.ccrc.uga.edu
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Wed Feb 24 2010 - 11:00:03 PST
Custom Search