On Thursday 01 March 2007, Milind Dumbare wrote:
> Sorry, for this newbie question.
>
> Hi I have written an application which prints usage if incorrect command
> line is given. It meant to be working on 3 nodes 1 master and 2 slaves.
> But when I run it with "mpirun -np 3 <utility_name>" and incorrect
> commands it displays three usage messages obviously due to 3 processes
> running.
>
> What could be the best way to solve this problem?
if (rank == 0) {
printf("...
/Peter
- application/pgp-signature attachment: stored
|