Respected Prof. Bangerth,

Yes, you are right :).
When running with 4 mpi processes, all threads print their rank as 0.

Why is it broken all of a sudden. What is this problem called ? How do I 
correct it ?

On Friday, October 28, 2016 at 11:39:33 AM UTC-4, Wolfgang Bangerth wrote:
>
> On 10/28/2016 09:34 AM, RAJAT ARORA wrote: 
> > 
> > To run the code on n  processes, I used to run the command 
> > 
> > mpirun -np <n> ./<code-name> 
> > 
> > But, now, when I run it using this command, it runs n programs with n 
> > mpi processes each. 
> > 
> > It is like I have executed mpirun -np <n> ./<code-name> command n times 
> > and the compiler is then running n^2 mpi processes. 
> > 
> > I figured this out as printing from rank 0 is also printing n times. 
> > 
> > I am unable to figure out anything. I did not install any new library. 
> > 
> > Can anyone help me figuring out, what is wrong ? 
>
> I bet you are actually only running n copies of the program, each of 
> which has only one rank. What happens if you output from rank 1? Do you 
> get any output at all? 
>
> Best 
>   W. 
>
> -- 
> ------------------------------------------------------------------------ 
> Wolfgang Bangerth          email:                 [email protected] 
> <javascript:> 
>                             www: http://www.math.colostate.edu/~bangerth/ 
>

-- 
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 Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to