Installation guide : eigenvalue solver

ARPACK - eigenvalue solver (implicitly restarted Arnoldi method)

Installing packages in Debian, Ubuntu

For the Linux distributions Debian or Ubuntu install the package libarpack2-dev using the packet manager.

Important: Make sure that the library libarpack.so or libarpack.a is installed into /usr/lib or /usr/lib64. Otherwise specify the path ARPACK_PATH in $(CONCEPTS_DEV)/boost-build-modules.jam. Note that the library needs to have exactly the name as given above. If it should have a suffix with the version number for example, you have to create a symbolic link.

Direct installation

Trilinos - large-scale, complex multi-physics engineering and scientific problems

Concepts uses Trilinos for Anasazi, a versatile eigenvalue solver.

<pre>trilinos-9.0.2.tar.gz</pre>

<pre>tar xzf trilinos-9.0.2.tar.gz</pre>

<pre>cd trilinos-9.0.2</pre>

<pre>mkdir build && cd build </pre>

(i). Your default compiler is gcc-4 or you choose for it (recommended).

<verbatim>export CC="gcc-4.1.2" export CXX="g++-4.1.2" export CXXFLAGS="-fPIC -O3 -fomit-frame-pointer -g" export CFLAGS="-fPIC -O3 -fomit-frame-pointer -g" export LDFLAGS="-fPIC"</verbatim>

<verbatim>export F77="gfortran-4.1.2"</verbatim>

<verbatim> ../configure --prefix=<i>installdir</i> --with-gnumake --enable-anasazi --enable-epetra --enable-teuchos --enable-triutils --enable-didasko --enable-shared --cache-file=config.cache</verbatim>

<verbatim> checking whether g++-4.1.2 accepts -g... yes checking whether gfortran-4.1.2 accepts -g... yes</verbatim>

(ii). Your default compiler is gcc-3 or you choose for it.

<pre>make sudo make install </pre>

<verbatim> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH':<i>installdir</i>/lib</verbatim>