[petsc-users] Help with MatTranspose

Bisht, Gautam bishtg at ornl.gov
Mon Feb 20 16:25:59 CST 2012


Hi,

I have a MPIAIJ matrix A as listed below:

row 0: (36, 1)  (37, 1)  (42, 1)  (43, 1) 
row 1: (37, 1)  (38, 1)  (43, 1)  (44, 1) 
row 2: (38, 1)  (39, 1)  (44, 1)  (45, 1) 
row 3: (39, 1)  (40, 1)  (45, 1)  (46, 1) 
row 4: (40, 1)  (41, 1)  (46, 1)  (47, 1) 

When I try to transpose the matrix, while running on 2 processors, the code crashes. Attached below is the F90 code. I would appreciate any help in figuring out why the code crashes.

Thanks,
-Gautam.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mattrans.F90
Type: application/octet-stream
Size: 2426 bytes
Desc: mattrans.F90
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120220/c2661800/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT00001.txt
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120220/c2661800/attachment.txt>


More information about the petsc-users mailing list