[Pw_forum] Compiling error in ubuntu
zafar rasheed
zafartariq2003 at yahoo.com
Thu Jun 5 04:29:54 CEST 2014
Sorry for it. Yes Unmodified comile well but when I modify Tabd.f90 and Set_hubbard_l.f90 for S,Te,and Se then this error appears.
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
On Wednesday, June 4, 2014 4:05 PM, Paolo Giannozzi <paolo.giannozzi at uniud.it> wrote:
In your extremely confusing message, a
fundamental piece of information is missing:
* does the unmodified code compile?
There is no "occ_loc" variable, by the way
P
On Wed, 2014-06-04 at 08:01 -0700, zafar rasheed wrote:
> 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
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://pwscf.org/mailman/listinfo/pw_forum
--
Paolo Giannozzi, Dept. Chemistry&Physics&Environment,
Univ. Udine, via delle Scienze 208, 33100 Udine, Italy
Phone +39-0432-558216, fax +39-0432-558222
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20140604/e73731db/attachment.html>
More information about the users
mailing list