Re: Please help upgrading eigensoft
On Tue, Jul 19, 2016 at 08:47:27AM +0300, merlettaia wrote:
> Good morning Andreas,
Good morning Tanya,
> Check this patch, it should help.
> It does the same thing as lapacke.patch (which is commented in
> debian/patches/series file) - it adds a -llapack and -llapacke to LDLIBS in
Grrr, I simply forgot to uncomment + adapt the patch. Thanks a lot for
watching me!
> src/Makefile. It also adds -lpthread - without it, this error appears
> during compilation: "undefined reference to symbol 'pthread_create@
> @GLIBC_2.2.5'"
>
> I also changed include lines
> #include "../lapack/lapacke/include/lapacke.h"
> - in src/eigensrc/eigx.c and
> #include "lapack/lapacke/include/lapacke.h"
> - in src/eigx.c
> to line
> #include <lapacke.h>
> since lapacke is installed system-wide, and this header is not located in
> relative directory. It may be pointless, since this header is included only
> when package is compiled on _WIN32 platforms. Remove these parts of patch
> if you think it doesn't make sense. Patching src/Makefile is enough to make
> everything work.
I reactivated the old patch and for cleanlyness applied your header fix.
Its simply nice to wake up in the morning and see a problem fixed. ;-)
Thanks
Andreas.
--
http://fam-tille.de
Reply to: