[Wien] compilation error for wien2k_06
Peter Blaha
pblaha at theochem.tuwien.ac.at
Wed Jul 12 08:06:23 CEST 2006
lsame is in the lapack-routines. Thus you need to specify -llapack_lapw !
(sometimes the order of the libraries matters or you should list blas and
lapack twice in the makefile.
For xerbla: cd SRC_lib; ifort -c xerbla.f ; and include in the Makefiles
in the library options: ../SRC_lib/xerbla.o
For structeditor/SRC_ncmsymmetry: since these are sub-subdirectories, you
need to specify
-L../../SRC_lib instead of only -L../SRC_lib
> Thanks a lot for your mail. I removed -DINTEL_VML option and then found
> no error in SRC_lapw1 on compilation. But still I'm getting some errors
> The result of the compilation is given below
>
> Compile time errors (if any) were:
> SRC_lapwdm/compile.msg:make[1]: *** [lapwdm] Error 1
> SRC_lapwdm/compile.msg:make: *** [real] Error 2
> SRC_lapwdm/compile.msg:make[1]: *** [lapwdmc] Error 1
> SRC_lapwdm/compile.msg:make: *** [complex] Error 2
> SRC_qtl/compile.msg:make: *** [qtl] Error 1
> SRC_structeditor/compile.msg:make[1]: *** [ncmsymmetry] Error 1
> SRC_structeditor/compile.msg:make: *** [all] Error 2
>
> 1. Errors in SRC_lapwdm
>
> : undefined reference to `lsame_'
> ../SRC_lib/libblas_lapw.a(blas_lapw1.o)(.text+0x282e6): more undefined
> references to `lsame_' follow
> ../SRC_lib/libblas_lapw.a(blas_lapw1.o)(.text+0x29441): In function
> `ztrsv_':
> : undefined reference to `xerbla_'
> make[1]: *** [lapwdm] Error 1
> make[1]: Leaving directory `/home/usr3/vinayak/wien_06/WIEN_06/SRC_lapwdm'
> make: *** [real] Error 2
>
>
> 2. in SRC_qtl
>
> : undefined reference to `lsame_'
> ../SRC_lib/libblas_lapw.a(blas_lapw1.o)(.text+0x282b3): In function
> `ztrsv_':
> : undefined reference to `lsame_'
> ../SRC_lib/libblas_lapw.a(blas_lapw1.o)(.text+0x282e6): more undefined
> references to `lsame_' follow
> ../SRC_lib/libblas_lapw.a(blas_lapw1.o)(.text+0x29441): In function
> `ztrsv_':
> : undefined reference to `xerbla_'
> make: *** [qtl] Error 1
>
>
> 3. SRC_structeditor
>
> bksb.o -L../SRC_lib -llapack_lapw -lblas_lapw
> ld: cannot find -llapack_lapw
> make[1]: *** [ncmsymmetry] Error 1
>
>
> although xerbla.f subroutine is there in the SRC_lib directory, still it's
> giving undefined reference for this in SRC_qtl. And lsame.f is not there
> in the SRC_lib of wien2k_06. But it was there in wien2k_03.
> please help me in removing these errors also.
>
>
> Thanks & Regards
> Vinayak
>
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>
P.Blaha
--------------------------------------------------------------------------
Peter BLAHA, Inst.f. Materials Chemistry, TU Vienna, A-1060 Vienna
Phone: +43-1-58801-15671 FAX: +43-1-58801-15698
Email: blaha at theochem.tuwien.ac.at WWW: http://info.tuwien.ac.at/theochem/
--------------------------------------------------------------------------
More information about the Wien
mailing list