Re: [deal.II] different results with different number of processors

2018-03-23 Thread Weixiong Zheng
Come here to close this issue as it turned out to be an issue related to the reflective boundary condition in the weak form. When the boundary condition is turned off, solution will always be correct however number of processors is used. But thanks for the discussions here. 在 2017年7月7日星期五 UTC-

Re: [deal.II] different results with different number of processors

2017-07-07 Thread Weixiong Zheng
Appreciated. I'll try this idea out. Sent from my iPhone > On Jul 7, 2017, at 16:47, Wolfgang Bangerth wrote: > >> On 07/06/2017 06:25 PM, Weixiong Zheng wrote: >> I suspect it would not be about the weak form directly. So, every time I >> give an set of initial cells, I need to make sure tota

Re: [deal.II] different results with different number of processors

2017-07-07 Thread Wolfgang Bangerth
On 07/06/2017 06:25 PM, Weixiong Zheng wrote: I suspect it would not be about the weak form directly. So, every time I give an set of initial cells, I need to make sure total initial cell number N_cell_tot % n_process == 0. If this condition is fulfilled, solution will always be correct. Say,

Re: [deal.II] different results with different number of processors

2017-07-06 Thread Weixiong Zheng
No adaptivity. I suspect it would not be about the weak form directly. So, every time I give an set of initial cells, I need to make sure total initial cell number N_cell_tot % n_process == 0. If this condition is fulfilled, solution will always be correct. Say, I want to use 5 processors, then

Re: [deal.II] different results with different number of processors

2017-07-06 Thread Weixiong Zheng
I suspect it would not be about the weak form directly. So, every time I give an set initial cells, I need to make sure total initial cell number N_cell_tot % n_process == 0. If this condition is fulfilled, solution will always be correct. Say, I want to use 5 processors, then I have to give N_

Re: [deal.II] different results with different number of processors

2017-07-06 Thread Wolfgang Bangerth
On 07/06/2017 09:02 AM, Weixiong Zheng wrote: Both are generated with subdivided hyper rectangle with same reps and diagonals. And no adaptive refinement? In that case, the solution *should* be the same, assuming your linear solver tolerance is small enough. If it isn't, there is probably a b

Re: [deal.II] different results with different number of processors

2017-07-06 Thread Weixiong Zheng
Both are generated with subdivided hyper rectangle with same reps and diagonals. -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google

Re: [deal.II] different results with different number of processors

2017-07-06 Thread Wolfgang Bangerth
Weixiong, When solving my problem with PETScWrappers using MPI, I saw sth interesting. I ran my test problem on my Mac with 4 core 8 threads. When using under 4 process, that is "mpirun -np 4 xxx", results are always right. When trying 6 process, "mpirun -np 6 xxx", results are weird (right r