Re: Linking lapack and C standard library
Francesco Pietra wrote, on 03/14/13 15:54:
> Hello João Luis:
>
> Sorry for my lack of care in setting the addresses.
>
> What I did was: install liblapack3gf-dev to complete the
> installations, according to previous suggestions. Now, my guess for
> the link is
>
> LIBS="-L/usr/lib -llapack -L/usr/lib -lstdc++"
You probably have also to link with the blas library:
LIBS=" -lblas -llapack"
is all it takes, I think. The standard libraries are linked in automatically by
gcc or g++, resp.
>
> According to the README, a link to both lapack and lstc++ libraries is
> needed. No link to the C++ compiler, as the above link is for a
> plugin for a program that is C++ compiled. Should those LIBS above not
> be correctly linked, the program complises without the plugin.
>
> I am going to try with the above link. If it works, I have to consider
> whether faster libraries would speed up the plugin. I don't know how
> heavy the mathematical computations are. I have the MKL libraries,
> though as rpm package. And since a few years, alien alone is no more
> capable of transforming that rpm to deb. Probably rpm would install
> with Debian, though one never knows where the files are.
>
> Thanks
> francesco
>
<snip>
--
Regards,
Jörg-Volker.
Reply to: