Dear All,
I am testing the ENMevaluate function in R with "parallel" option on mac, windows, and linux (cloud). I have observed that every time it takes more time with the parallel option enabled than when it was disabled. For example, it took around 14 minutes to run on my mac, but with either doSNOW or doParallel (4 cores), it took about 15 minutes. What could be possible reasons for this performance decrease?
Here is the code:
model_test = ENMevaluate(occ, predictors, method = "testing", occs.testing=occ_test,
algorithm = "maxent.jar",
n.bg = 10000, tune.args=list(fc='LQHPT', rm=RM),
overlap = FALSE, bin.output = FALSE, clamp = TRUE, parallelType = "doSNOW",
parallel = TRUE, numCores = 4, progbar = TRUE, updateProgress = FALSE)
Additionally, I have noticed a significant speed difference between R on Mac and R on Windows and Linux. I ran the same code above on 2019 Intel Mac (2.9GHz dual-core i5) and a Dell (12th gen i7-12850hx 2.1GHz). Mac was almost 4 times faster than Dell... Could this much of a speed difference be possible due to just the OS? And the same performance decrease issue with Dell...
Thanks,
HLee