SuperLU

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.

Linux

Using standard Debian packages

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)

Finally execute:

rm CMakeCache.txt
cmake .
make

Find more about Using SUPERLU in Hermes.

Using SUPERLU in Hermes

You may now select SOLVER_SUPERLU as the matrix solver for your finite element problem, as detailed in the Poisson tutorial, or use it just to solve a standalone matrix problem

System Message: WARNING/2 (Ax = b)

latex exited with error [stdout] This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9) entering extended mode (c:\users\lk\appdata\local\temp\tmpnvgqs5\math.tex LaTeX2e <2011/06/27> Babel <v3.8m> and hyphenation patterns for english, afrikaans, ancientgreek, ar abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic, croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga lician, german, german-x-2012-05-30, greek, gujarati, hindi, hungarian, iceland ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin, latvian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerman, n german-x-2012-05-30, nynorsk, oriya, panjabi, pinyin, polish, portuguese, roman ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swissgerm an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, usengl ishmax, welsh, loaded. (“C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\article.cls” Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (“C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\size12.clo”)) (“C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\inputenc.sty” (C:\Users\LK\AppData\Roaming\MiKTeX\2.9\tex\latex\ucs\utf8x.def)) (C:\Users\LK\AppData\Roaming\MiKTeX\2.9\tex\latex\ucs\ucs.sty (C:\Users\LK\AppData\Roaming\MiKTeX\2.9\tex\latex\ucs\uni-global.def)) (“C:\Program Files (x86)\MiKTeX 2.9\tex\latex\amsmath\amsmath.sty” For additional information on amsmath, use the `?’ option. (“C:\Program Files (x86)\MiKTeX 2.9\tex\latex\amsmath\amstext.sty” (“C:\Program Files (x86)\MiKTeX 2.9\tex\latex\amsmath\amsgen.sty”)) (“C:\Program Files (x86)\MiKTeX 2.9\tex\latex\amsmath\amsbsy.sty”) (“C:\Program Files (x86)\MiKTeX 2.9\tex\latex\amsmath\amsopn.sty”)) (“C:\Program Files (x86)\MiKTeX 2.9\tex\latex\amscls\amsthm.sty”) (“C:\Program Files (x86)\MiKTeX 2.9\tex\latex\amsfonts\amssymb.sty” (“C:\Program Files (x86)\MiKTeX 2.9\tex\latex\amsfonts\amsfonts.sty”)) (“C:\Program Files (x86)\MiKTeX 2.9\tex\latex\tools\bm.sty”) (C:\Users\LK\AppData\Roaming\MiKTeX\2.9\tex\latex\dstroke\dsfont.sty) (C:\Users\LK\AppData\Roaming\MiKTeX\2.9\tex\latex\braket\braket.sty) (“C:\Program Files (x86)\MiKTeX 2.9\tex\latex\carlisle\slashed.sty”) (C:\Users\LK\AppData\Roaming\MiKTeX\2.9\tex\latex\etoolbox\etoolbox.sty (“C:\Program Files (x86)\MiKTeX 2.9\tex\latex\misc\etex.sty”)) ! Undefined control sequence. <argument> \undefinedpagestyle l.15 \pagestyle{fancy} (“C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\color.sty” (“C:\Program Files (x86)\MiKTeX 2.9\tex\latex\00miktex\color.cfg”) (“C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\dvips.def”) (“C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\dvipsnam.def”)) (“C:\Program Files (x86)\MiKTeX 2.9\tex\latex\float\float.sty”) (c:\users\lk\appdata\local\temp\tmpnvgqs5\math.aux) (C:\Users\LK\AppData\Roaming\MiKTeX\2.9\tex\latex\ucs\ucsencs.def) (“C:\Program Files (x86)\MiKTeX 2.9\tex\latex\amsfonts\umsa.fd”) (“C:\Program Files (x86)\MiKTeX 2.9\tex\latex\amsfonts\umsb.fd”) [1] (c:\users\lk\appdata\local\temp\tmpnvgqs5\math.aux) ) (see the transcript file for additional information) Output written on math.dvi (1 page, 344 bytes). Transcript written on math.log.
as in the Using Matrix Solvers tutorial.

Table Of Contents

Previous topic

PETSc

Next topic

Trilinos