Michael O'Dell
2021-Jan-15 05:53 UTC
[Rd] Does parallel::mclapply work under emulation (Rosetta 2) on Apple Silicon?
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. [[alternative HTML version deleted]]
Prof Brian Ripley
2021-Jan-15 11:17 UTC
[Rd] Does parallel::mclapply work under emulation (Rosetta 2) on Apple Silicon?
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-siliconThat'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