Setting aside the documented problems of running R natively on Apple's M1 machines (https://developer.r-project.org/Blog/public/2020/11/02/will-r-work-on-apple-silicon/index.html) and similarly the current lack of native versions of many eco-system components (e.g. the discussion here:https://github.com/neurolabusc/AppleSiliconForNeuroimaging?), will code using?parallel::mclapply()?run as expected (i.e. on Intel hardware) under emulation (Rosetta 2)? Has anyone tested this?? Thank you.
Does parallel::mclapply work under emulation (Rosetta 2) on Apple Silicon?
2 messages · Michael O'Dell, Brian Ripley
On 15/01/2021 05:53, Michael O'Dell via R-devel wrote:
Setting aside the documented problems of running R natively on Apple's M1 machines (https://developer.r-project.org/Blog/public/2020/11/02/will-r-work-on-apple-silicon
That's rather dated: see the more recent reports on this list. /index.html) and similarly the current lack of native versions of many eco-system components (e.g. the discussion here:https://github.com/neurolabusc/AppleSiliconForNeuroimaging?), will code using?parallel::mclapply()?run as expected (i.e. on Intel hardware) under emulation (Rosetta 2)? Has anyone tested this? Yes: I have no idea why you would think otherwise. All mclapply uses is forking, and the OS on an M1 Mac is the same as that on a (Big Sur) Intel Mac (in many cases literally the same, with the same bi-arch executables).
Brian D. Ripley, ripley at stats.ox.ac.uk Emeritus Professor of Applied Statistics, University of Oxford