MLPack

lastupdated:2014
supportlevel:C

http://www.mlpack.org/

  1. module load cmake; module load armadillo/4.3-mkl; module load mkl
  2. mkdir build && cd build
  3. cmake -D ARMADILLO_LIBRARY=$ARMADILLO_LIBRARY -D ARMADILLO_INCLUDE_DIR=$ARMADILLO_INCLUDE ../
  4. make
  5. bin/mlpack_test
  6. make install CMAKE_INSTALL_PREFIX=/share/apps/mlpack/1.0.8

For newer boost library also load boost module and tell cmake where to find boost

module load boost
...
cmake -D BOOST_ROOT=$BOOST_ROOT -D ARMADILLO_LIBRARY=$ARMADILLO_LIBRARY -D ARMADILLO_INCLUDE_DIR=$ARMADILLO_INCLUDE ../
..

Notes

  • 1.0.10 installation failed when installing doc to /usr/local (install prefix defined ad /share/apps/mlpack/1.0.10). The solution was manually tune install prefix at cmake_install.cmake