[R-sig-hpc] R Batch proc.time doMPI

Stephen Weston stephen.b.weston at gmail.com
Wed Aug 6 18:03:58 CEST 2014

I believe this behavior is due to mpi.quit() calling quit() with the
"runLast=FALSE" option. If you call mpi.finalize() in your script
rather than mpi.quit(), then you should see the output from
proc.time() again.

- Steve

On Tue, Aug 5, 2014 at 2:56 PM, Roger Koenker <rkoenker at illinois.edu> wrote:
> I've been running doMPI jobs on a slurm cluster with R BATCH foo.R  and I'm used to getting a final line
> in foo.Rout with the output of proc.time() as promised by ?BATCH.  At least this was the way things worked
> with R BATCH on my multicore desktop.  But I don't get any proc.time() output from the cluster runs
> and wondered why not, or whether I should be doing something other than
> save.image()
> closeCluster(cl)
> mpi.quit()
> as the job finishes.  Thanks in advance.
> Roger
> _______________________________________________
> R-sig-hpc mailing list
> R-sig-hpc at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-hpc

More information about the R-sig-hpc mailing list