Hermes currently supports two versions of the SuperLU library - the sequential one and the multithreaded one. Support for the MPI version will be added in the future. Please visit http://crd.lbl.gov/~xiaoye/SuperLU/ for more information about the library.
Install the libsuperlu3 and libsuperlu3-dev packages. In Ubuntu 6.06 (Dapper) or newer, you can use the Synaptic package manager for that, or type:
sudo apt-get install libsuperlu3 libsuperlu3-dev
Now go to the directory with Hermes. Create the file CMake.vars with the following lines (or append to the existing one):
set(WITH_SUPERLU YES) set(SUPERLU_ROOT ~/solvers/superlu_mt) #(or your own installation destination) set(SUPERLU_MT NO)
rm CMakeCache.txt cmake . make
Find more about Using SUPERLU in Hermes.