[Pw_forum] gfortran compiler errors on dforceb.f90
Paul M. Grant
w2agz at pacbell.net
Sat Feb 9 23:18:04 CET 2008
On a fresh make of espresso-3.2.3 with gfortran as the compiler, dforceb.f90
gives the following reproducible abend. Whatever is causing this seems to
have been fixed in O-sesame and espressocvs. The dforceb source file sizes
are different and of different dates, but a quick look didn't disclose (to
me, anyway) what's causing the problem.looks like there should have been
some integer declarations.somewhere.
gfortran -O3 -x f95-cpp-input -D__FFTW -D__USE_INTERNAL_FFTW -I../include
-I./
-I../Modules -I../iotk/src -I../PW -I../PH -I../CPV -c dforceb.f90
dforceb.f90:48.22:
complex(8) c0(ngw, n), betae(ngw,nhsa), df(ngw),&
1
Error: Symbol 'n' at (1) has no IMPLICIT type
dforceb.f90:8.37:
subroutine dforceb(c0, i, betae, ipol, bec0, ctabin, gqq, gqqm, qmat, dq2,
df)
1
Error: Symbol 'ipol' at (1) has no IMPLICIT type
dforceb.f90:52.18:
& dq2(nat,nhm,nhm,nspin), gmes
1
Error: Symbol 'nat' at (1) has no IMPLICIT type
dforceb.f90:133.39:
inl=ish(is)+(iv-1)*na(is)+ia
1
Error: Function 'na' at (1) has no IMPLICIT type
dforceb.f90:134.39:
jnl=ish(is)+(jv-1)*na(is)+ia
1
Error: Function 'na' at (1) has no IMPLICIT type
dforceb.f90:132.23:
do ia=1,na(is)
1
Error: Function 'na' at (1) has no IMPLICIT type
make[1]: *** [dforceb.o] Error 1
make[1]: Leaving directory `/home/pmpgrant/espresso-3.2.3/CPV'
make: *** [cp] Error 2
Paul M. Grant, PhD
Principal, W2AGZ Technologies
Visiting Scholar, Applied Physics, Stanford University
EPRI Science Fellow (Retired)
IBM Research Staff Member Emeritus
w2agz at pacbell.net
http://www.w2agz.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20080209/d705f591/attachment.html>
More information about the users
mailing list