Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.12 KB

File metadata and controls

32 lines (26 loc) · 1.12 KB

Armadillo

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, :ref:`open an issue <issuetracker>` and tell us so we can reinstall/update it.

supportlevel:C

Armadillo http://arma.sourceforge.net/ is C++ linear algebra library that is needed to support some other software stacks. To get best performance using MKL as backend is adviced.

The challenge is that default installer does not find MKL from non-standard location.

  1. module load mkl
  2. Edit "./build_aux/cmake/Modules/ARMA_FindMKL.cmake" and add MKL path to "PATHS"
  3. Edit "./build_aux/cmake/Modules/ARMA_FindMKL.cmake" and replace mkl_intel_thread with mkl_sequential (we do not want threaded libs on the cluster)
  4. Edit "include/armadillo_bits/config.hpp" and enable ARMA_64BIT_WORD
  5. cmake . && make
  6. make install DESTDIR=/share/apps/armadillo/<version>