Try out the attached wrapper:
$ mpiexec -np 2 masterstdout <prg>
> mpirun -n 2 <prg>
> Is there a way to have mpirun just merger STDOUT of one process to its
> STDOUT stream?
--
Dipl.-Inform. Paul Kapinos - High Performance Computing,
RWTH Aachen University, Center for Computing and Communication
Seffenter Weg 23, D 52074 Aachen (Germany)
Tel: +49 241/80-24915
#!/bin/sh
ARGS=$@
if [[ $OMPI_COMM_WORLD_RANK == 0 ]]
then
$ARGS
else
$ARGS 1>/dev/null 2>/dev/null
fi
|