Skip to content
Back to formatted view

Raw Message

Message-ID: <SN1PR0101MB143905F6226C117FB52A8CE4CDFA0@SN1PR0101MB1439.prod.exchangelabs.com>
Date: 2015-12-28T00:00:10Z
From: Dario Strbenac
Subject: [Bioc-devel] Progress Message Order in bplapply

Hello,

I am experiencing some new and unexpected behaviour of mclapply.

Previously, progress messages were displayed in almost the expected order. Now, they are unlike the original order. My test case is :

bplapply(1:100, function(x) {if(x %% 10 == 0) message(x); Sys.sleep(30)}, BPPARAM = MulticoreParam(workers = 25))

The resulting progress message aren't displayed until the end of the process, whereas before they appeared immediately. I would expect 10 and 20 to appear before 30 did.

30 
40 
50 
10 
20 
60 
70 
80 
90 
100 

--------------------------------------
Dario Strbenac
PhD Student
University of Sydney
Camperdown NSW 2050
Australia