[Trilinos-Users] How to read a MatrixMarket File

Virginia Costa virscosta at gmail.com
Sat Mar 1 10:44:50 MST 2008

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...
URL: http://software.sandia.gov/mailman/private/trilinos-users/attachments/20080301/b928a434/attachment.html

More information about the Trilinos-Users mailing list