[Pw_forum] compilation error

Vastu Shastra vshastra at gmail.com
Wed Apr 4 14:44:02 CEST 2007


Thanks Davide and Eyvaz.
I am using g95 compiler and Davide's advice solved my problem.

Anshu

On 4/4/07, Eyvaz Isaev <eyvaz_isaev at yahoo.com> wrote:
>
> Hi Anshu,
>
> Unfortunately you did not tell  us anything about a compiler you used.
> If  you  use g95 compiler follow  David's  advice.  If not,  add  -lg2c or
> -lf2c flags to linker or to LIBS in make.sys.
> If you do not have f2c (g2c) library installed  (check using  ls
> /usr/lib/*g2c*) on your computer download it from  www.netlib.org and
> compile  it for yourself.
>
> Bests.
> Eyvaz.
>
> ----- Original Message ----
> From: Vastu Shastra <vshastra at gmail.com>
> To: pw_forum at pwscf.org
> Sent: Wednesday, April 4, 2007 2:51:35 PM
> Subject: [Pw_forum] compilation error
>
> Hello,
>    I get the following error while compiling QE 3.2 on my machine. I am
> using ubuntu linux on PC. This error occurs while using 'make all' command.
> Any help is appreciated.
>
> .
> .
> .
> libpw.a(bp_radin.o): In function `radlg_':bp_radin.f:(.text+0x170):
> undefined reference to `s_wsl e'
> :bp_radin.f:(.text+0x194): undefined reference to `do_lio'
> :bp_radin.f:(.text+0x199): undefined reference to `e_wsle'
> :bp_radin.f:(.text+0x1a5): undefined reference to `s_wsle'
> :bp_radin.f:(.text+0x1c9): undefined reference to `do_lio'
> :bp_radin.f:(.text+0x1e9): undefined reference to `do_lio'
> :bp_radin.f:(.text+0x1ee): undefined reference to `e_wsle'
> :bp_radin.f:(.text+0x202): undefined reference to `s_stop'
> libpw.a(bp_radin.o): In function `radlg1_':bp_radin.f:(.text+0x2e4):
> undefined reference to `s_ws le'
> .
> .
> .
> .
> .
> :lapack_all.f:(.text+0x5d17): undefined reference to `do_fio'
> :lapack_all.f:(.text+0x5d2f): undefined reference to `do_fio'
> :lapack_all.f:(.text+0x5d34): undefined reference to `e_wsfe'
> :lapack_all.f:(.text+0x5d48): undefined reference to `s_stop'
> ../flib/lapack.a(dlamch.o): In function `dlamc2_':dlamch.f:(.text+0xde9):
> undefined reference to `s_wsfe'
> :dlamch.f:(.text+0xe05): undefined reference to `do_fio'
> :dlamch.f:(.text+0xe0a): undefined reference to `e_wsfe'
> make[1]: *** [pw.x] Error 1
> make[1]: Leaving directory `/home/anshu/Desktop/espresso-3.2/PW'
> make: *** [pw] Error 2
>
>
> Thanks,
> Anshu
>
>
> ------------------------------
> Food fight?<http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396545367>Enjoy some healthy debate
> in the Yahoo! Answers Food & Drink Q&A.<http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396545367>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20070404/8d8f9752/attachment.html>


More information about the users mailing list