|
|||||||||||||||||||||||||||||||||
AMBER Archive (2009)Subject: RE: [AMBER] pmemd | Compilation problem with ifort and mvapich environment
From: Ross Walker (ross_at_rosswalker.co.uk)
Hi Frank,
Check that you have the command mpif90 in your path and that it points to
mpif90 -show
and see if it refers to the ifort compiler. Often if the mpif90 or mpif.h is
If mpif90 exists and points to the correct locations etc you could try some
> MPI_INCLUDE = -I$(MPI_HOME)/include
Change to
MPI_INCLUDE =
> MPI_LIBS = -L$(MPI_LIBDIR) -lmpich -L$(MPI_LIBDIR2) -lmtl_common -lvapi
Change to
MPI_LIBS =
> F90 = ifort
change to
F90 = mpif90
> F90_OPT_LO = -tpp7 -O0
Remove the -tpp7 flags here if you are on an x86_64 machine. You might also
> CC = gcc
Change this to
CC = mpicc
> LOAD = ifort
Change this to
LOAD = mpif90
Then make clean and try building again.
Good luck,
/\
| Assistant Research Professor |
Note: Electronic Mail is not secure, has no guarantee of delivery, may not
_______________________________________________
| |||||||||||||||||||||||||||||||||
|