Message-ID: <CALh21iJubE3EtzQk5-5UwwzbtFSADrisqUtTZfHy+fMpb+cYmQ@mail.gmail.com>
Date: 2014-08-06T16:03:58Z
From: Stephen Weston
Subject: R Batch proc.time doMPI
In-Reply-To: <FE3E2BD2-C12F-4F87-A62A-A7539BEB825C@illinois.edu>
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