[Pw_forum] Compiling QE 4.0.4

Axel Kohlmeyer akohlmey at cmm.chem.upenn.edu
Sat Mar 21 15:59:36 CET 2009

On Fri, Mar 20, 2009 at 2:20 PM, Amos Leffler <amosleffler at gmail.com> wrote:
>      I am trying to compile QE 4.0.4 using openmpi-1.2.9.  The
> program did compile successfully using the internal compilers in
> OpenSuse 10.2 in single mode.  With openmpi-1.2.9 the configuration
> step went OK and it recognized that openmpi was being used.
> Using the command:
>                         "make all" it encountered the error shown below:
> Entering directory `/home/amos/Desktop/espresso-4.0.4/Modules'
> mpif90 -O3 -x f95-cpp-input -D__GFORTRAN -D__FFTW
> -D__USE_INTERNAL_FFTW -D__MPI I../Modules  -I../iotk/src -I../PW
> -I../PH -c fft_parallel.f90
>  In file fft_parallel.f90:282
>          send_cnt, send_displ, MPI_DOUBLE_COMPLEX, f(1), &
>                                                 1
> Error: Symbol 'mpi_double_complex' at (1) has no IMPLICIT type
>  In file fft_parallel.f90:234
>     CALL MPI_ALLTOALLV( f(1), send_cnt, send_displ, MPI_DOUBLE_COMPLEX, yf(1),
>                                                                      1
> Error: Symbol 'mpi_double_complex' at (1) has no IMPLICIT type
> make[1]: *** [fft_parallel.o] Error 1
> make[1]: Leaving directory `/home/amos/Desktop/espresso-4.0.4/Modules'
> I looked in the file and it states "IMPLICIT none" so that the
> complaint appears to be correct.  I checked the forum files but could
> find no report of an error in the last five months.  Is there an easy
> fix?

your mpi installation is messed up. have you tried compiling some simple
fortran(!) mpi test programs. MPI_DOUBLE_COMPLEX is defined
in the mpif.h header and thus it _is_ explicitly declared.

it has nothing to do with Q-E.

>          Hopefully someone has seen this before.
>                           Amos Leffler
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://www.democritos.it/mailman/listinfo/pw_forum

Axel Kohlmeyer   akohlmey at cmm.chem.upenn.edu   http://www.cmm.upenn.edu
  Center for Molecular Modeling   --   University of Pennsylvania
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
tel: 1-215-898-1582,  fax: 1-215-573-6233,  office-tel: 1-215-898-5425
If you make something idiot-proof, the universe creates a better idiot.

More information about the users mailing list