Open etrh opened 6 years ago
I used to get such time out errors on macOS and was able to solve that with pre-registering the parallel setup at the beginning in a way similar to your register(MulticoreParam(100))
call.
What I find interesting is your error message Error in seq.default(from = scalerange[1], to = scalerange[2], by = 2): wrong sign in 'by' argument
. You would get such an error if scalerange
is negative, which does not make sense. That variable should be positive. Have you tried to run the peak detection directly with xcms
, not within IPO? Would be nice to track that error down.
I have used
IPO
before, but this is the first time I am seeing this error.I have 26 files in
data
and the machine I am working on has 160 processors.## FIRST TRY
The script I am trying to run (which leads to the above error) is as follows
##SECOND TRY
If I set
nSlaves = 1
(inside theoptimizeXcmsSet
function), then I get this error:##THIRD TRY
And then if I do the following just before running IPO (and without specifying the nSlaves parameter at all, neither inside
optimizeXcmsSet
nor aspeakpickingParameters$nSlaves
):I get this error:
##FOURTH TRY
Then I tried something different. I introduced
peakpickingParameters$nSlaves <- 6
and then ranIPO
withnSlaves = 5
and using only two data files.optimized.xcmsSet <- system.time({ resultPeakpicking <- optimizeXcmsSet(files = data[c(3,21)], params = peakpickingParameters,nSlaves = 5, subdir = "IPO_plots") })
And this gave me an error again:
##FIFTH TRY
Then I tried setting
nSlaves = MulticoreParam(5)
insideoptimizeXcmsSet
with two data files andpeakpickingParameters$nSlaves <- 6
and I was still receiving an error:What is exactly wrong here? My parameters? Or is the problem with the new version of
xcms
andR
which are incompatible withIPO
? @sneumann and @jotsetung, any idea?