[Trilinos-Users] Basic question concerning Anasazi and Epetra

Thornquist, Heidi K hkthorn at sandia.gov
Wed Jul 16 08:48:14 MDT 2008


Hi Axel,

In addition to Chris Baker's suggestions, I would suggest that you play with the example found in:

example/BlockKrylovSchur/BlockKrylovSchurEx.cpp

This example shows how to build a matrix in Epetra (discretized 2D convection-diffusion operator) and compute the eigenvalues of
it using block Krylov-Schur, which is our non-Hermitian eigensolver.

Please let us know if we can be of further assistance.

Thanks,
Heidi

________________________________
From: trilinos-users-bounces at software.sandia.gov [mailto:trilinos-users-bounces at software.sandia.gov] On Behalf Of Chris Baker
Sent: Wednesday, July 16, 2008 8:18 AM
To: Axel CABLE; trilinos-users at software.sandia.gov
Subject: Re: [Trilinos-Users] Basic question concerning Anasazi and Epetra

Axel,

You should configure Trilinos, build it, and install it into a separate directory. This directory will contain the C++ headers and libraries necessary for you to build the modified example. There are instructions for doing this here:
http://trilinos.sandia.gov/getting_started.html

I have attached a simple Makefile that I use when building an external executable against an installed version of Epetra/Anasazi. You should be able to modify this to your needs.

Bienvenue et bonne chance,
Chris Baker


On Wed, Jul 16, 2008 at 08:05, Axel CABLE <axel.cable at etu.univ-nantes.fr<mailto:axel.cable at etu.univ-nantes.fr>> wrote:
Hi Users List,

I want to compute the largest eigenvalue and corresponding eigenvector of
a possibly very large non-symmetric real sparse matrix.

Anasazi seems to be a good way to achieve that, using Epetra to build the
matrix.

Being new to programing in general, I intend to simply modify the
available examples without studying Epetra and Anasazi in detail.

I have hence a basic question:

What should I do to compile the modified example .cpp file?
I guess I should create a Makefile, but I couldn't find an explanation for
this anywhere. Is there some kind of Makefile example somewhere?

I would be very grateful if you could help me with this.

Thanks!

Axel CABLE



_______________________________________________
Trilinos-Users mailing list
Trilinos-Users at software.sandia.gov<mailto:Trilinos-Users at software.sandia.gov>
http://software.sandia.gov/mailman/listinfo/trilinos-users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://software.sandia.gov/mailman/private/trilinos-users/attachments/20080716/13a2bcea/attachment.html 


More information about the Trilinos-Users mailing list