Re: [Libmesh-users] EigenError when running parallel for reading data

2016-06-22 Thread 张江
It seems that this is caused by non-ghosted values. The NumericVector only contains the solution of nodes owned by one process. But the elements (mesh cells) owned by one process may include the nodes owned by other process. In my program, the data contains 8 nodes and 6 elements. By using 2 pro

Re: [Libmesh-users] EigenError when running parallel for reading data

2016-06-22 Thread 张江
Thanks. I have another problem about parallel reading the nodal values. Below is the code. I run mpiexec -n 2 ./out , and get the error that: [0]PETSC ERROR: - Error Message -- [0]PETSC ERROR: application called MPI_

Re: [Libmesh-users] EigenError when running parallel for reading data

2016-06-22 Thread Roy Stogner
On Wed, 22 Jun 2016, 张江 wrote: I run “make check” and find the error: make[2]: Entering directory `/nfs/proj-tpeterka/jiang/code/libmesh-1.0.0-rc2/tests' ./unit_tests-devel [compute:39297] *** Process received signal *** [compute:39297] Signal: Segmentation fault (11) [compute:39297] Signal c

Re: [Libmesh-users] EigenError when running parallel for reading data

2016-06-22 Thread 张江
I run “make check” and find the error: make[2]: Entering directory `/nfs/proj-tpeterka/jiang/code/libmesh-1.0.0-rc2/tests' ./unit_tests-devel [compute:39297] *** Process received signal *** [compute:39297] Signal: Segmentation fault (11) [compute:39297] Signal code: Address not mapped (1) [comput

Re: [Libmesh-users] EigenError when running parallel for reading data

2016-06-22 Thread John Peterson
On Wed, Jun 22, 2016 at 1:24 PM, 张江 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 > ---

Re: [Libmesh-users] EigenError when running parallel for reading data

2016-06-22 Thread 张江
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 ---

Re: [Libmesh-users] EigenError when running parallel for reading data

2016-06-21 Thread Cody Permann
No you may run serial if you wish. On Tue, Jun 21, 2016 at 12:40 PM 张江 wrote: > Thanks. So I have to build libmesh with PETSc? > > > On Jun 21, 2016, at 1:35 PM, John Peterson wrote: > > > > > > > > On Tue, Jun 21, 2016 at 12:28 PM, 张江 zhangjiang.d...@gmail.com>> wrote: > > Hi, > > > > I am us

Re: [Libmesh-users] EigenError when running parallel for reading data

2016-06-21 Thread 张江
Thanks. So I have to build libmesh with PETSc? > On Jun 21, 2016, at 1:35 PM, John Peterson wrote: > > > > On Tue, Jun 21, 2016 at 12:28 PM, 张江 > wrote: > Hi, > > I am using parallel environment to read an unstructured grid data so that > each process is as

Re: [Libmesh-users] EigenError when running parallel for reading data

2016-06-21 Thread John Peterson
On Tue, Jun 21, 2016 at 12:28 PM, 张江 wrote: > Hi, > > I am using parallel environment to read an unstructured grid data so that > each process is assigned one part of data. > But there is an error when running the program (mpiexec -n 2 ./out) at the > following codes: > > eqsys = new EquationSyst