Does parallel::mclapply work under emulation (Rosetta 2) on Apple Silicon?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Does parallel::mclapply work under emulation (Rosetta 2) on Apple Silicon?

R devel mailing list
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]]

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Reply | Threaded
Open this post in threaded view
|

Re: Does parallel::mclapply work under emulation (Rosetta 2) on Apple Silicon?

Prof 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,                  [hidden email]
Emeritus Professor of Applied Statistics, University of Oxford

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel