MLPack

Warning: page not updated for current Triton

This page hasn’t been updated since Triton was completely upgraded in May 2024. The software might not be installed and the old information below might not work anymore (or might need adapting). If you need this software, open an issue and tell us so we can reinstall/update it.

pagelastupdated:

2014

supportlevel:

C

https://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