[Pw_forum] QE 4.0.2: configure error
Sangamesh B
forum.san at gmail.com
Tue Oct 21 11:27:40 CEST 2008
On Tue, Oct 21, 2008 at 1:07 PM, Paolo Giannozzi <giannozz at democritos.it> wrote:
> Sangamesh B wrote:
>
>> Do I have to put it in make.sys.
>
> yes
> --
Did ./configure
Then set CPP=/lib/cpp -P --traditional in make.sys.
Now its giving different error:
/lib/cpp -P --traditional -D__EKO -D__FFTW -D__USE_INTERNAL_FFTW
-D__MPI -D__PARA -I../include scf_mod.f90 -o scf_mod.F90
mpif90 -march=auto -O2 -D__EKO -D__FFTW -D__USE_INTERNAL_FFTW -D__MPI
-D__PARA -I../include -I./ -I../Modules -I../iotk/src -I../PW
-I../PH -c scf_mod.F90 -o scf_mod.o
MODULE scf
^
pathf95-855 pathf90: ERROR SCF, File = scf_mod.F90, Line = 10, Column = 8
The compiler has detected errors in module "SCF". No module
information file will be created for this module.
REAL(DP), allocatable :: of_r(:,:) ! the charge density in R-space
^
pathf95-197 pathf90: ERROR SCF, File = scf_mod.F90, Line = 48, Column = 18
Unexpected syntax: "POINTER or DIMENSION" was expected but found
"ALLOCATABLE".
^
pathf95-190 pathf90: ERROR SCF, File = scf_mod.F90, Line = 48, Column = 33
Component "OF_R" does not have a POINTER attribute so its dimension
must be an explicit-shape array with constant bounds.
COMPLEX(DP),allocatable :: of_g(:,:) ! the charge density in G-space
^
...
......
pathf95-197 pathf90: ERROR SCF, File = scf_mod.F90, Line = 59, Column = 19
Unexpected syntax: "POINTER or DIMENSION" was expected but found
"ALLOCATABLE".
^
pathf95-190 pathf90: ERROR SCF, File = scf_mod.F90, Line = 59, Column = 34
Component "NS" does not have a POINTER attribute so its dimension
must be an explicit-shape array with constant bounds.
REAL(DP), allocatable :: bec(:,:,:) ! PAW corrections to hamiltonian
^
pathf95-197 pathf90: ERROR SCF, File = scf_mod.F90, Line = 60, Column = 19
Unexpected syntax: "POINTER or DIMENSION" was expected but found
"ALLOCATABLE".
^
pathf95-190 pathf90: ERROR SCF, File = scf_mod.F90, Line = 60, Column = 34
Component "BEC" does not have a POINTER attribute so its dimension
must be an explicit-shape array with constant bounds.
pathf95: PathScale(TM) Fortran Version 2.4 (f14) Tue Oct 21, 2008 15:06:55
pathf95: 677 source lines
pathf95: 21 Error(s), 0 Warning(s), 0 Other message(s), 0 ANSI(s)
pathf95: "explain pathf95-message number" gives more information about
each message
make[1]: *** [scf_mod.o] Error 2
make[1]: Leaving directory `/opt/espresso-4.0.2/PW'
make: *** [pw] Error 2
Thanks,
Sangamesh
> Paolo Giannozzi, Democritos and University of Udine, Italy
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://www.democritos.it/mailman/listinfo/pw_forum
>
More information about the users
mailing list