Installing the libraries does not mean that they are installed so that
SIESTA will understand the libraries. You need to link the library
correctly.
Furthermore, you need to ensure that the naming scheme of the variables are
<name>_ and not <name>__, which is the case sometimes (this can be a
"challenge" in the scalapack library).
It is scalapack which gives you difficulties. With only that information
which you have supplied we can merely see that the linking is done
incorrectly.

Kind regards Nick

2012/10/18 seema dogra <[email protected]>

> Hello
> I am trying to install siesta-3.1 in parallel.
> I have succesfully installed BLAS, BLACS, LAPACK and SCALAPACK. I am using
> openmpi-1.6.2.
> I am gettting the following error:
>
> cdiag.o: In function `cdiag_':
> /home/user/siesta-3.0-rc2/Src/cdiag.F:437: undefined reference to
> `pzhegvx_'
> /home/user/siesta-3.0-rc2/Src/cdiag.F:493: undefined reference to
> `pzpotrf_'
> /home/user/siesta-3.0-rc2/Src/cdiag.F:512: undefined reference to
> `pzhengst_'
> /home/user/siesta-3.0-rc2/Src/cdiag.F:443: undefined reference to
> `pzhegvx_'
> /home/user/siesta-3.0-rc2/Src/cdiag.F:491: undefined reference to
> `pzpotrf_'
> /home/user/siesta-3.0-rc2/Src/cdiag.F:568: undefined reference to
> `pzheevd_'
> /home/user/siesta-3.0-rc2/Src/cdiag.F:515: undefined reference to
> `pzhengst_'
> /home/user/siesta-3.0-rc2/Src/cdiag.F:579: undefined reference to
> `pzheevx_'
> /home/user/siesta-3.0-rc2/Src/cdiag.F:584: undefined reference to
> `pzheevx_'
> /home/user/siesta-3.0-rc2/Src/cdiag.F:571: undefined reference to
> `pzheevd_'
> collect2: ld returned 1 exit status
> make: *** [siesta] Error 1
>
> i have already checked the mailing list for this error and none of the
> proposed solutions worked in this case.
> kindly help
>

Responder a