Skip to content
Prev 7791 / 21307 Next

[Bioc-devel] Redirect workers output to STDERR, how to do so with current BiocParallel::SnowParam()?

Hi,

Thanks for sending the updated information. To make sure I know how the 
files relate, let's take snow-3.2.x, BiocParallel 1.3.34 run on July 14 
as an example.

memory files:

The mem_email files report max virtual memory (Max vmem) on the master, 
for the whole job. I see 3 outputs here - one run from July 9 and two 
from July 14:

https://github.com/lcolladotor/SnowParam-memory/blob/gh-pages/mem_emails/snow-3.2.x.txt

This last entry corresponds to BiocParallel 1.3.34 from July 14:
log files:

Corresponding log files for BiocParallel 1.3.34 on July 14 show memory 
used on workers:

https://github.com/lcolladotor/SnowParam-memory/blob/gh-pages/logs/snow-3.2.x.o6463213
https://github.com/lcolladotor/SnowParam-memory/blob/gh-pages/logs/snow-3.2.x.o6463239
On 07/14/2015 10:23 AM, Leonardo Collado Torres wrote:
The idea was to phase out the snow-centric 'outfile' and replace it with 
'log' and 'logdir'. You're right, previous versions of BiocParallel did 
not capture stdout and stderr on the workers; the current release and 
devel do. As you've now seen, when log = TRUE stderr and stdout messages 
print to the console, if logdir is given they go to a file. One thing I 
have not done yet is capture stdout and stderr from the master to a 
'logdir' file (workers captured only).
Sounds good.
Thanks, I'll fix that.

Valerie