[petsc-users] Fwd: Sorted CSR Matrix and Multigrid PC.

Manuel Valera mvalera at mail.sdsu.edu
Wed Sep 7 20:46:36 CDT 2016


---------- Forwarded message ----------
From: Manuel Valera <mvalera at mail.sdsu.edu>
Date: Wed, Sep 7, 2016 at 6:40 PM
Subject: Re: [petsc-users] Sorted CSR Matrix and Multigrid PC.
To:
Cc: PETSc users list <petsc-users at mcs.anl.gov>


Hello,

I was able to sort the data but the PCGAMG does not seem  to be working.

I reconfigured everything from scratch as suggested and updated to the
latest PETSc version, same results,

I get the following error:

[0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation,
probably memory access out of range
[...]
[0]PETSC ERROR: ---------------------  Stack Frames
------------------------------------
[0]PETSC ERROR: Note: The EXACT line numbers in the stack are not available,
[0]PETSC ERROR:       INSTEAD the line number of the start of the function
[0]PETSC ERROR:       is given.
[0]PETSC ERROR: [0] PetscStrcmp line 524 /home/valera/sergcemv4/
bitbucket/serucoamv4/petsc-3.7.3/src/sys/utils/str.c
[0]PETSC ERROR: [0] PetscFunctionListFind_Private line 352
/home/valera/sergcemv4/bitbucket/serucoamv4/petsc-3.7.3/src/sys/dll/reg.c
[0]PETSC ERROR: [0] PCGAMGSetType_GAMG line 1157 /home/valera/sergcemv4/
bitbucket/serucoamv4/petsc-3.7.3/src/ksp/pc/impls/gamg/gamg.c
[0]PETSC ERROR: [0] PCGAMGSetType line 1102 /home/valera/sergcemv4/
bitbucket/serucoamv4/petsc-3.7.3/src/ksp/pc/impls/gamg/gamg.c
[0]PETSC ERROR: --------------------- Error Message
--------------------------------------------------------------
....

You can find the working program attached, sorry for the large files and
messy makefile,

Many thanks,

Manuel Valera.


​
 MGpetscSolver.tar.gz
<https://drive.google.com/a/mail.sdsu.edu/file/d/0B4iN5mGg2EEKcW5fNnhicEhvWTg/view?usp=drive_web>
​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160907/60590d7d/attachment.html>


More information about the petsc-users mailing list