[Trilinos-Users] Returned mail: see transcript for details

Alicia M Klinvex aklinvex at purdue.edu
Tue Nov 4 06:57:12 MST 2014


Hello Nelson,

My name is Alicia, and I am an Anasazi developer.  I'm glad you've decided to try Anasazi :-)

I assume what you're asking is how to take your three CSR arrays and turn them into a CrsMatrix that you can pass to an Anasazi eigensolver.  If you're using Tpetra, the constructor you're looking for is this: http://trilinos.org/docs/r11.10/packages/tpetra/doc/html/classTpetra_1_1CrsMatrix.html#a139a91ad9430f012bfb3bcb8fe413ae1
(If you're using Epetra instead, or want to know the difference between Epetra and Tpetra, let me know.)

Note that this constructor will expect the row map and column map, which define how the data is distributed over the MPI processes.  If you don't understand how to create those maps, please let me know and I'll help you out.

Does that answer your question?

Best wishes,
Alicia Klinvex



----- Original Message -----
From: maireni at cimne.upc.edu
To: trilinos-users at software.sandia.gov
Sent: Tuesday, November 4, 2014 3:41:49 AM
Subject: Re: [Trilinos-Users] Returned mail: see transcript for details


Dear Heidi Thornquist,

  Allow me introduce myself first. My name is Nelson Lafontaine,
  i am a PhD student from UPC, Barcelona, Spain. Now i am Beijing China
  working with the Psor Chen Pu in the Automatic Multilevel Substructure
  Methods (AMLS).
  I see you are a Anasazi developer and i write to you because i am
  interested in use
  this library. My installation of Trilinos (trilinos-11.12.1) was
  successfully,
  even  i can run some test examples that you are define in Anasazi 
files.

  However, like you create your own class of matrices and vector,
  my data i can provided to solve my eigen problem is in the form of
  a Compressed Sparse Row (CSR). My question  is if exist a way to call
  the eigen-solver defined in Anasazi just providing the data of
  compressed
  Sparse row format, or if is possible to create the matrices types
  defined
  in Anasazi just using the CRS format.

  Thanks in advance for your time.

  Nelson
_______________________________________________
Trilinos-Users mailing list
Trilinos-Users at software.sandia.gov
https://software.sandia.gov/mailman/listinfo/trilinos-users


More information about the Trilinos-Users mailing list