[Pw_forum] Compilation Problem

Fengjie Ma fengjie.ma at gmail.com
Wed Dec 6 13:05:10 CET 2006

On Dec 6, 2006, at 6:13 , Ma Fengjie wrote:

>* cpp -P -traditional -D__LINUX64 -D__FFTW -D__USE_INTERNAL_FFTW -
*>* D__MPI -D__PARA -I../include
once again: did you re-run "./configure" ?

Hi Paolo,

   yes, first I run ./configure, then I edit the make.sys and
iotk/include/iotk_config.h.  After all of this, I run "make pw".
And following Axel's advice, I replaced all "_DP" with "d0" in
ptoolkit.F90and the compilation successfully passed through this
Another problem that I asked this afternoon also having been solved by using
"dos2unix wannier.f90".
But now I meet the third problem:

128 Lines Compiled
cpp -P -traditional -D__LINUX64 -D__FFTW -D__USE_INTERNAL_FFTW -D__MPI
-D__PARA -I../include  -I/soft/fftw-215/include/ -I/soft/mkl61/include/
-I/soft/mpi_intel/include/ read_file.f90 -o read_file.F90
-I../include  -I/soft/fftw-215/include/ -I/soft/mkl61/include/
-I/soft/mpi_intel/include/ -I./  -I../Modules  -I../iotk/src -I../PW
-D__PARA -I../include  -I/soft/fftw-215/include/ -I/soft/mkl61/include/
-I/soft/mpi_intel/include/ -I./  -I../Modules  -I../iotk/src -I../PW
-I../PH  -I../CPV -c read_file.F90 -o read_file.o
   external subroutine READ_FILE
     internal subroutine SET_DIMENSIONS
Error 355 : In program unit READ_FILE variable NSP has not been given a type

1 Error
compilation aborted for read_file.F90 (code 1)
make: *** [read_file.o] Error 1
Thanks for you help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20061206/0d035c24/attachment.html>

More information about the users mailing list