Closed treccanimirko closed 3 years ago
The issue is the linker cannot find lapack functions.
You need to have packages containing the lapack functions installed. What these are called and how many there are depend on your operating system distribution.
Also from the README: If you have issues with missing lapacke symbols, for example "undefined reference to `LAPACKE_dlange'", run make with the corresponding additional libraries linked:
make LDLIBS="-llapacke"
This has been encountered on Linux Mint 18.
The Makefile is currently setup for Linux distributions where lapack is in one library, but other distributions split this into lapack and lapacke libraries.
It may also be possible that the lapack libraries are in paths outside those searched by default by the linker, in which case you need to manually specify the path:
make CFLAGS="-I/n/app/openblas/0.2.19/include -I/n/app/gsl/2.3/include" LDFLAGS="-L/n/app/openblas/0.2.19/lib -L/n/app/gsl/2.3/lib/"
Hi,
thank you for your answer.
Currently, my OS is Ubuntu Linux 20.04 LTS. Thanks to your indication, I manage in fixing the problem: the second solution, followed by the "make install" command, worked!
Have a nice day,
Mirko
Dear all,
I'm having some trouble in installing EIG-7.2.1. I've installed all the dependencies software and, as reported in the README.md file, I've run the following command.
After these commands and some compilation, some errors occur. I report them above:
Does anyone know any solution or have encountered the same problem? Thank you in advance,
Mirko