[R] problem with package doMC: ignoring SIGPIPE signal

Jannis bt_jannis at yahoo.de
Tue Aug 27 22:27:17 CEST 2013


Dear R users,


since I updated to R-3.0 I get some error messages while using a 
parallelized process with the packages foreach and doMC.

The error message is:

Error: Error in sendMaster(try(lapply(X = S, FUN = FUN, ...), silent = 
TRUE)) (from doMC.R#170) :
   ignoring SIGPIPE signal


The stack saved with dump.frames and loaded via debugger() is:

Available environments had calls:
1: #3: do.call(paste(algorithm.type, "Ncdf", sep = ""), call.args)
2: gapfillNcdf(amnt.artgaps = list(list(c(0, 0), c(0, 0))), amnt.iters = 
list(
3: gapfillNcdf.R#427: do.call(.gapfillNcdfDatacube, args.Datacube)
4: (function (args.call.SSA = list(), calc.parallel = TRUE, datacube, 
datapts.
5: gapfillNcdf.R#837: foreach(i = 1:max.cores, .combine = rbindMod, 
.multicomb
6: do.R#171: e$fun(obj, substitute(ex), parent.frame(), e$data)
7: doMC.R#170: mclapply(argsList, FUN, mc.preschedule = preschedule, 
mc.set.se
8: lapply(seq_len(cores), inner.do)
9: FUN(1:4[[4]], ...)
10: sendMaster(try(lapply(X = S, FUN = FUN, ...), silent = TRUE))
11: #20: dump.frames.mod(file.name = file.name, file.results = file.results)

Up to position 5 these functions are my personal functions that set up 
the process. I can only debug this error via dum.frames as I run it non 
interactively on a cluster machine. When I start the foreach loop 
manually from within the debugger() environment, I can not reproduce the 
error.


Does anyone have a hint on how to find the cause of this error?



Cheers
Jannis

sessionInfo()
R version 3.0.0 (2013-04-03)
Platform: x86_64-unknown-linux-gnu (64-bit)

locale:
  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
  [7] LC_PAPER=C                 LC_NAME=C
  [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] parallel  stats     graphics  grDevices datasets  utils methods
[8] base

other attached packages:
[1] spectral.methods_0.6.0.110 doMC_1.3.0
[3] iterators_1.0.6            foreach_1.4.1

loaded via a namespace (and not attached):
  [1] abind_1.4-0             chron_2.3-43 codetools_0.2-8
  [4] colorspace_1.2-2        compiler_3.0.0 DistributionUtils_0.5-1
  [7] forecast_4.06           fracdiff_1.4-2 grid_3.0.0
[10] lattice_0.20-15         nnet_7.3-7 plotrix_3.5
[13] quadprog_1.5-5          raster_2.1-49 RColorBrewer_1.0-5
[16] RNetCDF_1.6.1-2         Rssa_0.9.10 snow_0.3-12
[19] snowfall_1.84-4         sp_1.0-11 svd_0.3.2-1
[22] tseries_0.10-32         zoo_1.7-10



More information about the R-help mailing list