[Trilinos-Users] [EXTERNAL] CrsMatrix Transpose

Pate Motter pate.motter at colorado.edu
Tue Feb 24 09:49:20 MST 2015


Hi Andrey, 

Using gcc 4.9 and an older version was my problem. I updated the Trilinos source as well as changing to the Intel compiler and everything seems solved. 

-Pate

On 2/23/2015 10:10:25 AM, Andrey Prokopenko <aprokop at sandia.gov> wrote:
Hi Pate,

Which compiler do you use? We've recently fixed some errors with gcc/4.9 and later.

-Andrey

On 02/22/2015 08:26 PM, Pate Motter wrote:

Hi, 

I am currently having segmentation faults when transposing a CrsMatrix using the RowMatrixTransposer method mentioned in a previous email. For my demo it it works for the serial version as well as mpiruns with 2 and 3 nodes. However, when running at > 3 the program segfaults at createTranspose(). 

It's completely possible that I may not have the problem set up correctly.

int main(int argc, char *argv[]) {
Teuchos::GlobalMPISession mpiSession(&argc, &argv);
Platform& platform = Tpetra::DefaultPlatform::getDefaultPlatform();
RCP<const Teuchos::Comm<int> > comm = rcp (new Teuchos::MpiComm<int> (MPI_COMM_WORLD));
RCP<NT> node = platform.getNode();

std::string filename("../large.mtx");
RCP<MAT> A, B; 
A = Tpetra::MatrixMarket::Reader<MAT>::readSparseFile(filename, comm, node, true);
Tpetra::RowMatrixTransposer<ST, LO, GO, NT> transposer(A);
B = transposer.createTranspose();
}


Thank you,
Pate Motter


_______________________________________________ Trilinos-Users mailing list Trilinos-Users at software.sandia.gov [mailto:Trilinos-Users at software.sandia.gov] https://software.sandia.gov/mailman/listinfo/trilinos-users [https://software.sandia.gov/mailman/listinfo/trilinos-users]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://software.sandia.gov/pipermail/trilinos-users/attachments/20150224/85e837fb/attachment.html>


More information about the Trilinos-Users mailing list