On Fri, Jan 24, 2014 at 11:57 AM, BENYAHIA NEZHA
<benyahia-nezha at hotmail.fr> wrote:
> Hello,
>  I'am using quantum espresso in my searches, but i'am still a beginner  in
> this domain. I have faced a problem in which it prevent me to compile my
> program, i have looked all around the internet for the hope of finding a
> solution to this issue but unfortunately nothing was found.

that is probably because the solution is *too* obvious. you need to
use a Fortran compiler to compile fortran code.

where did you learn programming???

>  If you have some solution to this problem, please  don't hesitate for
> helping me, and i you will be so gratefull.


> Here is the message that i have received when writing the command "gcc
> band-3c.for"
>
> root at b-HP-Pavilion-Sleekbook-15-PC:/home/band# gcc band-3c.for
> /tmp/ccxmgVZP.o: dans la fonction ? MAIN__ ?:
> band-3c.for:(.text+0x63): r?f?rence ind?finie vers ? _gfortran_st_open ?
> band-3c.for:(.text+0xaf): r?f?rence ind?finie vers ? _gfortran_st_read ?
> band-3c.for:(.text+0xcc): r?f?rence ind?finie vers ? _gfortran_transfer_real
> ?
> band-3c.for:(.text+0xe9): r?f?rence ind?finie vers ? _gfortran_transfer_real
> ?
> band-3c.for:(.text+0x106): r?f?rence ind?finie vers ?
> _gfortran_transfer_real ?
> band-3c.for:(.text+0x114): r?f?rence ind?finie vers ? _gfortran_st_read_done
> ?
> band-3c.for:(.text+0x14a): r?f?rence ind?finie vers ? _gfortran_st_read ?
> band-3c.for:(.text+0x167): r?f?rence ind?finie vers ?
> _gfortran_transfer_real ?
> band-3c.for:(.text+0x184): r?f?rence ind?finie vers ?
> _gfortran_transfer_real ?
> band-3c.for:(.text+0x1a1): r?f?rence ind?finie vers ?
> _gfortran_transfer_real ?
> band-3c.for:(.text+0x1be): r?f?rence ind?finie vers ?
> _gfortran_transfer_real ?
> band-3c.for:(.text+0x1db): r?f?rence ind?finie vers ?
> _gfortran_transfer_real ?
> /tmp/ccxmgVZP.o:band-3c.for:(.text+0x1f8): encore plus de r?f?rences
> ind?finies suivent vers ? _gfortran_transfer_real ?
> /tmp/ccxmgVZP.o: dans la fonction ? MAIN__ ?:
> band-3c.for:(.text+0x240): r?f?rence ind?finie vers ? _gfortran_st_read_done
> ?
> band-3c.for:(.text+0x28a): r?f?rence ind?finie vers ? _gfortran_st_write ?
> band-3c.for:(.text+0x2a7): r?f?rence ind?finie vers ?
> _gfortran_transfer_integer_write ?
> band-3c.for:(.text+0x2c4): r?f?rence ind?finie vers ?
> _gfortran_transfer_real_write ?
> band-3c.for:(.text+0x2e1): r?f?rence ind?finie vers ?
> _gfortran_transfer_real_write ?
> band-3c.for:(.text+0x2fe): r?f?rence ind?finie vers ?
> _gfortran_transfer_real_write ?
> band-3c.for:(.text+0x31b): r?f?rence ind?finie vers ?
> _gfortran_transfer_real_write ?
> band-3c.for:(.text+0x338): r?f?rence ind?finie vers ?
> _gfortran_transfer_real_write ?
> /tmp/ccxmgVZP.o:band-3c.for:(.text+0x355): encore plus de r?f?rences
> ind?finies suivent vers ? _gfortran_transfer_real_write ?
> /tmp/ccxmgVZP.o: dans la fonction ? MAIN__ ?:
> band-3c.for:(.text+0x39d): r?f?rence ind?finie vers ?
> _gfortran_st_write_done ?
> /tmp/ccxmgVZP.o: dans la fonction ? main ?:
> band-3c.for:(.text+0x3d7): r?f?rence ind?finie vers ? _gfortran_set_args ?
> band-3c.for:(.text+0x3eb): r?f?rence ind?finie vers ? _gfortran_set_options
> ?
> collect2: erreur: ld a retourn? 1 code d'?tat d'ex?cution
>
>  The file "band-3c.for":
>
> c     plot structure de bande
> c     point du klist a,b,c
> c     les energies   d,e,f,g,h,p,q,r,s,t....(nombre de bande)
>                real*8 a,b,c,d,e,f,g,h,i,j,k
>                real*8 l,m,n,o,p,q,r,s
>                real*8 t,u,v,w,x,y,z,aa
>                real*8 bb,cc
>                integer iii
> c     Lire les energies apartir du fichier out ZnSbands.dat
>                open(unit=2,status='unknown', file='GaAs-band')
>
> c     i est le nonbre de point dans le klist
>                do iii=1,91
>                read(2,*)  a,b,c
>                read(2,*)  d,e,f,g,h,i,j,k
>                write(3,10) iii,d,e,f,g,h,i,j,k
> 10             format(3x,I3,3x,120(f12.4,4x))
>                end do
>                end
>
>
> _______________________________________________
> 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.

Reply via email to