[Trilinos-Users] Matrix file format

Axel CABLE axel.cable at etu.univ-nantes.fr
Fri Aug 8 06:07:46 MDT 2008


Mike,

I have my sparse matrix in (row)(column)(value) format, which fortunately
seems to be the same as matlab format.

I hence tried to use EpetraExt::MatlabFileToCrsMatrix, this way:

Epetra_SerialComm Comm;
int MyPID = Comm.MyPID();

char FileName[] = "matrix_100.dat";
Epetra_CrsMatrix * F;

int EpetraExt::MatlabFileToCrsMatrix ( FileName,Comm,F);


Though, I get the following error:
error: invalid use of qualified-name ‘EpetraExt::MatlabFileToCrsMatrix’

Any idea?

Thanks in advance!
Axel



> Axel,
>
> There is a collection of this kind of functionality in EpetraExt.  There
> is support for matrix market and HDF5 formats, along with parallel
> read/write.  Look half way down this page:
>
> http://trilinos.sandia.gov/packages/docs/r8.0/packages/epetraext/doc/html/index.html
>
> Mike
>
>
> On 8/5/08 9:32 AM, "Axel CABLE" <axel.cable at etu.univ-nantes.fr> wrote:
>
> Hi,
>
> I would like to read a large sparse matrix file in order to use it with
> the Anasazi Block Krylov Shur solver.
>
> I have read in the documentation and examples that
> .rua
> .rsa
> .m (matlab)
>
> matrix files can be read using Triutils.
>
> My question is: are there other supported matrix formats?
>
> Thanks in advance!
> Axel
>
>






More information about the Trilinos-Users mailing list