Re: [mcx-users] MCX-CL in MATLAB for M2 Mac

4 views
Skip to first unread message

Qianqian Fang

unread,
Jun 12, 2024, 6:08:41 PM6/12/24
to mcx-...@googlegroups.com, Emily Wang, mmc-...@googlegroups.com

hi Emily,

I was about to announce it in the mailing list regarding this update - glad that you have tried.

for those of you who want to read about this, please check out my recent tweet thread at

https://twitter.com/FangQ/status/1799902310904275308

basically, a boundary-condition related bug was fixed and now mcxcl passes all built in tests on Apple arm64 processors (M1/M2/M3...).

Also, I noticed that launching only few thousands of threads, as how mcxcl previously decided on Apple processors in autopilot mode (-A 0), is too few and very much under utilizing the apple GPU hardware. by increasing the thread counts to tens of thousands, the mcxcl (as well as mmc) simulation speed went up by 7x on my M2 Pro processor (may be less if you have a lower model).

CCing mmc-users mailing list so that mmc users are also aware of this update.


regarding your question, when yous aid "still having trouble", what exactly did you mean? - what trouble do you have? what Apple processor, OS version, matlab version, and what specific package you have downloaded?


I just tried it on my new Mac-mini (M2 pro), it seems to run without any problem. The screenshot showing matlab/octave sessions from downloaded nightly-package is attached.


Qianqian



On 6/12/24 16:00, Emily Wang wrote:
Hi,

I am trying to use MCX-CL and saw that with recent nightly builds, MCX-CL should work with Apple arm64 chips. However, I am still having trouble installing it, especially in MATLAB, and am having trouble finding documentation on using MCX-CL in MATLAB for the M2 MacBook Pro. Would somebody be able to help with this?

Thanks,
Emily
--
You received this message because you are subscribed to the Google Groups "mcx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mcx-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mcx-users/0209f313-8baf-42d8-83d7-090f51deb6f2n%40googlegroups.com.
macmini_mcxlabcl.png
Reply all
Reply to author
Forward
0 new messages