<div>On Dec 6, 2006, at 6:13 , Ma Fengjie wrote:<br><br>><i> cpp -P -traditional -D__LINUX64 -D__FFTW -D__USE_INTERNAL_FFTW - <br></i>><i> D__MPI -D__PARA -I../include<br></i><br>once again: did you re-run "./configure" ? 
</div>
<div> </div>
<div>Hi Paolo,</div>
<div> </div>
<div>   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".</div>
<div>And following Axel's advice, I replaced all "_DP" with "d0" in ptoolkit.F90 and the compilation successfully passed through this problem.</div>
<div>Another problem that I asked this afternoon also having been solved by using "dos2unix wannier.f90".</div>
<div>But now I meet the third problem:</div>
<div>
<p>128 Lines Compiled<br>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 
<br>mpif90 -O -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/ -I./  -I../Modules  -I../iotk/src -I../PW  -I../PH  -I../CPV -Vaxlib -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/ -I./  -I../Modules  -I../iotk/src -I../PW  -I../PH  -I../CPV -c read_file.F90 -o read_file.o 
<br>   external subroutine READ_FILE<br>     internal subroutine SET_DIMENSIONS<br>Error 355 : In program unit READ_FILE variable NSP has not been given a type</p>
<p>1 Error<br>compilation aborted for read_file.F90 (code 1)<br>make: *** [read_file.o] Error 1</p></div>
<div>Thanks for you help.</div>
<div>Yours </div>
<div>Ma</div>
<div> </div>