[Trilinos-Users] How to read a MatrixMarket File
Heroux, Michael A
maherou at sandia.gov
Mon Mar 3 09:44:13 MST 2008
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?
Mike
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);
cout<<A;
}
But it's returns a segmentation fault.
thanks.
Virginia.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://software.sandia.gov/mailman/private/trilinos-users/attachments/20080303/1d912b1b/attachment.html
More information about the Trilinos-Users
mailing list