On Wed, Jun 22, 2016 at 1:24 PM, 张江 <[email protected]> wrote:

> Hi,
>
> I have rebuilt libmesh with PETSc. Here is an simple example that to
> obtain the nodal values. However, when I run it in parallel (mpiexec -n 2
> ./out), there is always error that:
>
> [1]PETSC ERROR: --------------------- Error Message
> --------------------------------------------------------------
> [1]PETSC ERROR: Signal received
> [1]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html
> for trouble shooting.
> [1]PETSC ERROR: Petsc Release Version 3.7.2, Jun, 05, 2016
> [1]PETSC ERROR: ./parallel on a arch-darwin-c-debug named xxx by xxx Wed
> Jun 22 14:19:19 2016
> [1]PETSC ERROR: Configure options --prefix=/opt/petsc-3.7.2
> --with-mpi-dir=/usr/local --download-fblaslapack
> [1]PETSC ERROR: #1 User provided function() line 0 in  unknown file
>
> Was the PETSc not correctly installed or not well built with libmesh
> together?
>

Did you run "make check" after building libmesh?



> Below is the code:
>

The error is likely that you are accessing a non-local non-ghosted value in
the PETSc vector, but I haven't analyzed what you are doing closely.

-- 
John
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to