[Pw_forum] Compiling error in ubuntu
Axel Kohlmeyer
akohlmey at gmail.com
Thu Jun 5 09:29:31 CEST 2014
On Thu, Jun 5, 2014 at 4:29 AM, zafar rasheed <zafartariq2003 at yahoo.com>
wrote:
> 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.
>
... and what is the only applicable conclusion to that?
the modifications to tabd.f90 are wrong! fix them. the code in this file is
*trivial* to read and understand. this is not a Q-E problem but a case of
PEBCAC.
axel.
>
>
> 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
>
>
>
>
>
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://pwscf.org/mailman/listinfo/pw_forum
>
--
Dr. Axel Kohlmeyer akohlmey at gmail.com http://goo.gl/1wk0
College of Science & Technology, Temple University, Philadelphia PA, USA
International Centre for Theoretical Physics, Trieste. Italy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20140605/eff20cc9/attachment.html>
More information about the users
mailing list