[mlpack-git] [mlpack] ARMADILLO_INCLUDE_DIR-NOTFOUND/armadillo_bits/config.hpp not found (#511)

Ryan Curtin notifications at github.com
Thu Feb 4 18:38:43 EST 2016


Aha!  What's happening here is that libarmadillo.so is linked against the wrong liblapack.so!  It's linked against /usr/lib64/liblapack.so instead of /usr/lib64/atlas/liblapack.so, and this is indeed the problem I just helped someone else with.

It can be resolved with a patch I just submitted to Armadillo.  You can apply the patch by taking the two files below:

https://github.com/mlpack/mlpack/blob/master/CMake/ARMA_FindBLAS.cmake
https://github.com/mlpack/mlpack/blob/master/CMake/ARMA_FindLAPACK.cmake

and putting them in cmake_aux/Modules/ in your Armadillo source directory.  Then, `rm CMakeCache.txt` and `./configure`, and you should see the following line of output:

```
-- *** Armadillo wrapper library will use the following libraries:
-- *** ARMA_LIBS = /usr/lib64/atlas/libatlas.so;/usr/lib64/libblas.so;/usr/lib64/atlas/liblapack.so
```

Make sure that the right liblapack.so is being used (the ATLAS one), and then reconfigure and recompile mlpack.  I think this will solve your problem...

---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/511#issuecomment-180104014
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160204/87fcb1e4/attachment.html>


More information about the mlpack-git mailing list