[Pw_forum] Complitation error

Axel Kohlmeyer akohlmey at cmm.upenn.edu
Fri Aug 18 18:34:21 CEST 2006

On 8/18/06, xzheng2 at ncsu.edu <xzheng2 at ncsu.edu> wrote:
> Dear all,
> When I compile the code espresso-3.1.1, the following error occured:
> cpp -P -traditional -D__LINUX -D__PGI -D__FFTW -D__USE_INTERNAL_FFTW
> -I../include  constraints_module.f90 -o constraints_module.F90
> pgf90 -fast -r8 -D__LINUX -D__PGI -D__FFTW -D__USE_INTERNAL_FFTW
> -I../include  -I. -I../Modules -I../PW -I../PH -I../iotk/src -I../CPV -c
> constraints_module.F90 -o constraints_module.o
> PGF90-F-0004-Corrupt or Old Module file ./kinds.mod
> (constraints_module.F90: 110)
> PGF90/any Linux/x86 5.0-1: compilation aborted

hi, please try a 'make clean' and then another 'make all'
perhaps there are some modules left from previous compilation
attempts. please also note, that PGI v5.x compilers are known
to miscompile parts of quantum esperesso (besides being horribly
outdated). so please consider updgrading or changing to a
different compiler.


> make[1]: *** [constraints_module.o] Error 2
> make[1]: Leaving directory `/home/zxh/METHOD/espresso-3.1.1/Modules'
> make: *** [mods] Error 2
> Who can tell me how to deal with it?
> _______________________________________________
> 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