There is something wrong with your lapack linking. It could be that you
need a double underscore in the reference. It is hard to tell.
But unless you have lapack.a in the compilation directory the problem is
that lapack is not correctly linked. Use

LAPACK_LIBS=dc_lapack.a /full/path/to/lapack/liblapack.a

I have never used the distributed lapack with SIESTA. So for that I am
unsure about.

Kind regards Nick


2012/10/2 Uma Shankar Sharma <[email protected]>

> Dear siesta user
>
> I found warnings and errors given below:
>
>   libfdf.a   dc_lapack.a liblapack.a libblas.a     || echo "***Please
> see top of Makefile"
> csolve.o: In function `csolveg_':
> /home/uss/1/siesta-3.1/Util/TBTrans/csolve.f:58: undefined reference to
> `zgesv_'
> teigchana.o: In function `teigchana_':
> /home/uss/1/siesta-3.1/Util/TBTrans/teigchana.F:79: undefined
> reference to `zgeev_'
> collect2: error: ld returned 1 exit status
> ***Please see top of Makefile
> [root@localhost TBTrans]# make csolveg
> make: *** No rule to make target `csolveg'.  Stop.
> [root@localhost TBTrans]# make zgesv_lapack.a
> make: *** No rule to make target `zgesv_lapack.a'.  Stop.
>
> can anyone help me please ?
>
> Best regards
>
> Dr U SSharma
>

Responder a