[Pw_forum] Compiling error
Paolo Giannozzi
giannozz at nest.sns.it
Fri Apr 23 17:11:03 CEST 2004
On Friday 23 April 2004 16:29, Sergei Lisenkov wrote:
> parameter (MPI_DOUBLE_PRECISION=20)
> ^
> Error 85 at (263:/nethome/proffess/kappa/lam/include/mpif.h) : This entity
> has already been given attribute PARAMETER
the only reason I can think of is that your "mpif.h" file contains
definitions of both MPI_DOUBLE_PRECISION and MPI_REAL8
(mpich uses the latter, mpi-lam the former, just to make life
easier). The latter is preprocessed to MPI_DOUBLE_PRECISION
if __LAM is defined. Try to remove -D__LAM.
Paolo
--
Paolo Giannozzi e-mail: giannozz at nest.sns.it
Scuola Normale Superiore Phone: +39/050-509876, Fax:-563513
Piazza dei Cavalieri 7 I-56126 Pisa, Italy
More information about the users
mailing list