[petsc-users] Could you please give me some advice for the following error

丁老师 ztdepyahoo at 163.com
Wed Sep 4 10:34:13 CDT 2013


 the input parameter of this partation is the drow and dcol.
could you please tell me how to resolve this problem.



  MatCreateMPIAdj(PETSC_COMM_WORLD,drow.size()-1,CellsNumber,&drow[0],&dcol[0],NULL,&adj);






在 2013-09-04 23:25:38,"Matthew Knepley" <knepley at gmail.com> 写道:

On Wed, Sep 4, 2013 at 10:23 AM, 丁老师 <ztdepyahoo at 163.com> wrote:

yes, i am computing convection diffusion problem with a  triangle unstructured grid. the matrix coefficients is unsymemetric.
but is it a necessary for the parmetis to do the work?



The matrix can be nonsymmetric, but it has to be structurally symmetric.


   Matt
 
在 2013-09-04 23:20:47,"Mark F. Adams" <mfadams at lbl.gov> 写道:
My guess is that your matrix is structurally unsymmetric.


On Sep 4, 2013, at 11:16 AM, 丁老师 <ztdepyahoo at 163.com> wrote:


 1] ***ASSERTION failed on line 243 of file /home/ztdep/Downloads/petsc-3.3-p6/externalpackages/parmetis-4.0.2-p3/libparmetis/match.c:k >= firstvtx && k < lastvtx
[ 1] 2562 5124 10 0 0
main: /home/ztdep/Downloads/petsc-3.3-p6/externalpackages/parmetis-4.0.2-p3/libparmetis/match.c:243: libparmetis__Match_Global: Assertion `k >= firstvtx && k < lastvtx' failed.































--
What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130904/90522e6d/attachment.html>


More information about the petsc-users mailing list