Hi Patrick,

Thanks for taking the time to respond. I've since worked it all out
and my Rmpi functions are working well now. There seems to be
something about slaves and the print() function for me though that
results in the slaves executing the commands, but the data is never
printed to the terminal - same for error reporting from functions
called by the slaves. I'm not sure where the blockage is, but I've
just worked around it by passing anything I want printed from the
slaves back to the master and then having the master print them. For
all I know, it's normal that the slaves operate in this way, but it's
only been a minor inconvenience for me in any event.

Chris

On 9 February 2011 03:36, Patrick Connolly <p_conno...@slingshot.co.nz> wrote:
> On Tue, 01-Feb-2011 at 11:01AM -0500, Chris Carleton wrote:
>
> [...]
>
> |>
> |> My output is as follows;
> |>
>
> |> > source("./test_Rmpi.R")
>
> How was test_Rmpi.R created?  Was it using sink()?
>
> |>      3 slaves are spawned successfully. 0 failed.
> |> master (rank 0, comm 1) of size 4 is running on: minanha
> |> slave1 (rank 1, comm 1) of size 4 is running on: minanha
> |> slave2 (rank 2, comm 1) of size 4 is running on: minanha
> |> slave3 (rank 3, comm 1) of size 4 is running on: minanha
> |>
>
> [...]
>
> |> noticing that problem, I tried to execute the 'hello world' program
> |> above and, as you can see, the slaves are spawned, but they won't
> |> print the text in the mpi.remote.exec() function. Any ideas?
>
> Are you saying that there was no response at all from the other three
> lines?  They work fine for me.  I suspect that you have something not
> quite finished with your MPI setup.  I doubt the problem is with Rmpi
> itself, but then of course, there's not much to work on.
>
> HTH
>
>
>
> --
> ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
>   ___    Patrick Connolly
>  {~._.~}                   Great minds discuss ideas
>  _( Y )_                 Average minds discuss events
> (:_~*~_:)                  Small minds discuss people
>  (_)-(_)                              ..... Eleanor Roosevelt
>
> ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
>
>

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to