LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Peter Kjellstrom (cap_at_[hidden])
Date: 2007-03-01 11:26:35


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