[Trilinos-Users] How to read a MatrixMarket File
virscosta at gmail.com
Mon Mar 3 10:27:50 MST 2008
I did get this by Trilinos_Utils. There's a function called
Trilinos_Util_ReadHb2EpetraVbr that read a HB file and send it to a
Epetra_VbrMatrix. Something, like this
Thanks for the answer.
2008/3/3, Heroux, Michael A <maherou at sandia.gov>:
> Hi Virginia,
> To the best of my knowledge there is no supported functionality for this.
> There is some chance that another user has done something. I seem to
> recall that a student of Jonathan Hu did something like this. Jonathan?
> On 3/2/08 7:16 AM, "Virginia Costa" <virscosta at gmail.com> wrote:
> Hi, everybody.
> Does anybody know how to read a MatrixMarket file to a BlockMap?
> I tried to do this:
> int main(int argc, char *argv)
> Epetra_SerialComm Comm;
> Epetra_BlockMap *BMap;
> EpetraExt::MatrixMarketFileToBlockMap("bcsstk14.mtx", Comm, BMap);
> Epetra_VbrMatrix A(Copy,*BMap,2);
> But it's returns a segmentation fault.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Trilinos-Users