Re: [deal.II] Problem with PETScWrappers::SolverCG

2016-10-16 Thread Jean-Paul Pelteret
Dear Hamed, You are duplicating your posts in two threads. This is not productive, so I'm going to ask you to please focus this topic within your other thread . You have been given some useful advice there that you should follow up on.

Re: [deal.II] Problem with PETScWrappers::SolverCG

2016-10-16 Thread Hamed Babaei
Another point I need to mention is that I had the same problem when as my first try of parallelization, I paralleled a much simpler code, the step-25, based on the step-40 . I received the same Segmentation Violation error from Petsc. At that time, I replaced PreconditionerAMG with Precondition

Re: [deal.II] Problem with PETScWrappers::SolverCG

2016-10-16 Thread Hamed Babaei
Timo, Step-40 works on my machine perfectly. The code and its dependent parameter file are attached. I appreciate it if you could run the code on your machine and see what's the problem with it. Thanks On Sunday, October 16, 2016 at 7:55:35 AM UTC-5, Timo Heister wrote: > > > I have paralleli

Re: [deal.II] Problem with PETScWrappers::SolverCG

2016-10-16 Thread Timo Heister
> I have parallelized a code for a Thermoelastic problem based on step-40 . Does step-40 work on your system? > It seems from debugger backtracethat that error comes from the > PETScWrappers::SolverCG. Can you share the backtrace with us? -- Timo Heister http://www.math.clemson.edu/~heister/

[deal.II] Problem with PETScWrappers::SolverCG

2016-10-15 Thread Hamed Babaei
Hi freinds, I have parallelized a code for a Thermoelastic problem based on step-40 . Although the non-parallel code works for all the initial values and boundary conditions, the parallel one fails giving this error : "PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably