[Pw_forum] Compiling error in ubuntu
zafar rasheed
zafartariq2003 at yahoo.com
Wed Jun 4 17:01:21 CEST 2014
Dear All
I want to install espresso-5.1 by doing some setting in hubbard_l.f90 and tabd.f90
changes in tabd.f90
CASE( 'S' )
occ_loc = 4.d0
!
CASE( 'Se' )
occ_loc = 4.d0
!
CASE( 'Te' )
occ_loc = 4.d0
!
CASE( 'H' )
hubbard_occ = 1.d0
!
CASE( 'Ga', 'In' )
hubbard_occ = 10.d0
and changes in set_hubbard_l.f90
CASE( 'C', 'N', 'O','S','Se','Te' )
!
hubbard_l = 1
but whe I compile it following error appears. Please help me solve this problem. I compile it with ubuntu 11.10 but fails with ubuntu 13.10 having gfortran-4.2 compiler.
gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW -I../../iotk/src -I../../Modules -c symmetrize_at.f90
gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW -I../../iotk/src -I../../Modules -c tabd.f90
tabd.f90:100.19:
hubbard_occ = 2.d0
1
Error: Symbol 'hubbard_occ' at (1) has no IMPLICIT type
make[2]: *** [tabd.o] Error 1
make[2]: Leaving directory `/home/zafar/espresso-5.1/PW/src'
make[1]: *** [pw] Error 1
make[1]: Leaving directory `/home/zafar/espresso-5.1/PW'
make: *** [pw] Error 1
Muhammad Zafar
PhD Scholar
Department of Physics
The Islamia University of Bahawalpur,Pakistan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20140604/28ee1376/attachment.html>
More information about the users
mailing list