Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: Tim Prins (tprins_at_[hidden])
Date: 2007-07-18 17:22:52

> Yes, this helps tremendously. I installed rsh, and now it pretty much
> works.
Glad this worked out for you.

> The one missing detail is that I can't seem to get the stdout/stderr
> output. For example:
> $ orterun -np 1 uptime
> $ uptime
> 18:24:27 up 13 days, 3:03, 0 users, load average: 0.00, 0.03, 0.00
> The man page indicates that stdout/stderr is supposed to come back to
> the stdout/stderr of the orterun process. Any ideas on why this isn't
> working?
It should work. However, we currently have some I/O forwarding problems which
show up in some environments that will (hopefully) be fixed in the next
release. As far as I know, the problem seems to happen mostly with non-mpi

Try running a simple mpi application, such as:

#include <stdio.h>
#include "mpi.h"

int main(int argc, char* argv[])
    int rank, size;

    MPI_Init(&argc, &argv);
    MPI_Comm_rank(MPI_COMM_WORLD, &rank);
    MPI_Comm_size(MPI_COMM_WORLD, &size);
    printf("Hello, world, I am %d of %d\n", rank, size);

    return 0;

If that works fine, then it is probably our problem, and not a problem with
your setup.

Sorry I don't have a better answer :(