[Pw_forum] Compiling problems on AMD opteron64 under Linux using MPI
Nicola Marzari
marzari at mit.edu
Tue Oct 12 07:55:04 CEST 2004
Not sure if this is relevant, but does mpif.h include real8 ? mpif.h can
be found in /usr/local/include or /usr/include, and we found
(for dual Xeon, lam-mpi) that we needed to add real8 in there, as in:
integer MPI_INTEGER, MPI_REAL, MPI_DOUBLE_PRECISION
integer MPI_REAL8
integer MPI_COMPLEX, MPI_LOGICAL, MPI_CHARACTER
and
parameter (MPI_REAL=12)
parameter (MPI_REAL8=13)
parameter (MPI_DOUBLE_PRECISION=13)
parameter (MPI_COMPLEX=14)
nicola
On Tue, 2004-10-12 at 01:08, Adrain Zhou wrote:
> Dear all,
>
> I tried to load pwscf on AMD opteron 64 machine under linux. I have
> obtained a serial executable successfully. But I met the following
> problems when using MPI.
>
> pgf90-Warning-Unknown switch: -pthread
> PGF90-S-0038-Symbol, mpi_real8, has not been explicitly declared
> (broadcast.F90)
> 0 inform, 0 warnings, 1 severes, 0 fatal for broadcast
> make[1]: *** [broadcast.o] Error 2
>
> Here is the make.sys I used,
> CPPFLAGS = -D__LINUX64 -D__PGI -D__PARA -D_MPI -D_LAM -D__FFTW
> -D__USE_INTERNAL_FFTW \
> -I$(OSHOME)/include -I./
> #
> # Fortran compiler:
> F90 = mpif90
> F77 = mpif77
> CC = mpicc
> #
> # Please note: -r8 is necessary for numerical stability ..
> #
> F90FLAGS = -fast -r8
> F77FLAGS = -fast -r8
> CCFLAGS = $(CPPFLAGS)
>
> Many thanks in advance.
>
> Regards,
> Adrain
>
>
>
> ______________________________________________________________________
> Do You Yahoo!?
> 150万曲MP3疯狂搜,带您闯入音乐殿堂
> 美女明星应有尽有,搜遍美图、艳图和酷图
> 1G就是1000兆,雅虎电邮自助扩容!
--
---------------------------------------------------------------------
Prof Nicola Marzari Department of Materials Science and Engineering
13-5066 MIT 77 Massachusetts Avenue Cambridge MA 02139-4307 USA
tel 617.4522758 fax 617.2586534 marzari at mit.edu http://nnn.mit.edu
More information about the Pw_forum
mailing list