[Trilinos-Users] Matrix file format
axel.cable at etu.univ-nantes.fr
Fri Aug 8 06:07:46 MDT 2008
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:
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
Thanks in advance!
> 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:
> On 8/5/08 9:32 AM, "Axel CABLE" <axel.cable at etu.univ-nantes.fr> wrote:
> 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
> .m (matlab)
> matrix files can be read using Triutils.
> My question is: are there other supported matrix formats?
> Thanks in advance!
More information about the Trilinos-Users