[Pw_forum] FFTW problem

sprokuda at dnk.ru sprokuda at dnk.ru
Thu Aug 14 12:50:57 CEST 2003


Dear PWscf users!
Probably anybody could help me with my problem ?.
I had problem running exaples ( PWscf compiled by ifc6.0 with MKL6.0)

> from cft_3 : error #         1
> machine-specific routine not available

After direction from Paolo Giannozz I've added  -DFFTW to CPPFLAGS (in
"make.sys"). Now I've got a new probelm in compilation:

ifc -Vaxlib -O2 -tpp6 -fpp -I/home/sprokuda/PWscf/include/ -D__LINUX -D__INTEL -
D__FFTW -DFFTW -D"FFTWND_F77_ONE=fftwnd_f77_one" -D"FFTW3D_F77_CREATE_PLAN=fftw3
d_f77_create_plan" -D"FFTW_F77=fftw_f77" -D"FFTW_F77_CREATE_PLAN=fftw_f77_create
_plan" -nomodule -I /home/sprokuda/PWscf/Modules -I/home/sprokuda/PWscf/PW -I/ho
me/sprokuda/PWscf/PH -c cft_3.f90
   external subroutine CFT_3

  C_POINTER, save :: plan(2,2)
           ^
Error 24 at (43:cft_3.f90) : syntax error

  C_POINTER, save :: plan(2,2)
                  ^
Error 24 at (43:cft_3.f90) : syntax error

  data plan/0,0,0,0/
  ^
Comment 17 at (44:cft_3.f90) : A data statement amongst executable statements is         obsolescent in Fortran 95
Error 355 : In program unit CFT_3 variable C_POINTER has not been given a type
Error 355 : In program unit CFT_3 variable PLAN has not been given a type

4 Errors
compilation aborted for cft_3.f90 (code 1)
make[1]: *** [cft_3.o] Error 1
make[1]: Leaving directory `/home/sprokuda/PWscf/PW'
make: *** [pw] Error 2


probably it would be well to cite also the log of my " ./configure
pc_ifc " command.

[root at sprokuda PWscf]# ./configure pc_ifc
creating catalog file for Intel compiler
./configure: line 30: /home/sprokuda/PWscf/flib/intel.pcl: No such file or directory
./configure: line 31: /home/sprokuda/PWscf/flib/intel.pcl: No such file or directory
cc  -o moduledep.x  moduledep.c
cc  -o sizeof.x  sizeof.c
SIZEOF ( void * ) . . . . = 4
SIZEOF ( double ) . . . . = 8
SIZEOF ( float ). . . . . = 4
SIZEOF ( int ). . . . . . = 4
SIZEOF ( char ) . . . . . = 1
./shdep: line 47: cd: ../FPMD: No such file or directory
./shdep: line 54: cd: ../flib: No such file or directory
ls: ../FPMD/*.f90: No such file or directory
./shdep: line 61: cd: ../CPV: No such file or directory

it seems that everything is not so fine here.

Best wishes, Sergey Prokudaylo.





More information about the users mailing list