|
[Sponsors] |
August 23, 2021, 05:57 |
OpenFoam 9 on Macbook Pro m1
|
#1 |
Member
Miguel Hernandez
Join Date: Feb 2021
Location: En mi casa
Posts: 56
Rep Power: 5 |
Good morning,I have installed openFoam v9 on my new macbook pro 13 with SoC M1 and 16 Gb RAM via docker. However, the performances are disappointing.
I did some tests with some tutorials and with a personal project (interFoam), and the comparisons with an i7 6700 (Desktop) with window 10 are very disappointing. I' ve done some tests with some tutorials and a personal project (interFoam), and the comparison with an i7 6700 (Desktop) with window 10 is very disappointing. The intel processor is much faster. I was wondering if this is due to the fact of using Docker on Mac or depends on the fact that the M1, being arm, is not yet supported natively, therefore the performance is lower? To be honest, I have read that docker is now natively supported on M1... Also, is it possible to install openFoam on Mac Os natively, without Docker? Thanks to all. Miguel. |
|
August 27, 2021, 08:06 |
|
#2 |
Senior Member
|
Dear Miguel,
I am wondering about the same. Information on how to install older version of OpenFoam from source on older version of MacOS is listed here http://openfoamwiki.net/index.php/In...6-ext#OpenFOAM . I imagine that much (but certainly not all) does carry over to newer version of OpenFoam on MacOS-Big-Sur in M1 (e.g. Xcode and gcc run fine on M1). I am happy to join a small group to explore details. Buena suerte y saludos, Domenico. |
|
September 11, 2021, 09:13 |
|
#3 | |
Member
Miguel Hernandez
Join Date: Feb 2021
Location: En mi casa
Posts: 56
Rep Power: 5 |
Quote:
Hi Domenico, thank you for your replay... To be honest I’m not able to compile from source code in my MacBook Pro M1. I’ve tried some guides (similar to the link you reported) but whithout success... Can anyone provide a guide or some tips to compile in Mac OS from source code? Thank you... |
||
September 13, 2021, 20:51 |
|
#4 | |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 841
Rep Power: 17 |
Quote:
Miguel, our users have tested this M1 CPU, also on virtual machine. From our standard test case, m1 needs 359s to run with 4 cores, which is almost identical with 2680V2 or even 7742 (337s), of course 4 cores. Since this user also use virtual machine, so I think the problem does not come from the OS. For more information of different CPUs, please check it here (Chinese though, maybe you can translate them by google) https://www.cfd-china.com/topic/3988
__________________
My OpenFOAM algorithm website: http://dyfluid.com By far the largest Chinese CFD-based forum: http://www.cfd-china.com/category/6/openfoam We provide lots of clusters to Chinese customers, and we are considering to do business overseas: http://dyfluid.com/DMCmodel.html |
||
September 15, 2021, 06:02 |
|
#5 | |
Member
Miguel Hernandez
Join Date: Feb 2021
Location: En mi casa
Posts: 56
Rep Power: 5 |
Quote:
Thank you for your reply... in virtual machine, do you mean that your test was running using docker? |
||
September 15, 2021, 16:06 |
|
#6 |
Member
Miguel Hernandez
Join Date: Feb 2021
Location: En mi casa
Posts: 56
Rep Power: 5 |
I’ve tried weirOverflow tutorial on my MacBook Pro m1 (docker) and on my desktop Intel i7 (6700) - Ubuntu 21.04. MacBook took 1572 sec to run the simulation, the desktop pc 160 sec!!!!
|
|
September 15, 2021, 23:23 |
|
#7 | |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 841
Rep Power: 17 |
Quote:
These are the results if you run my test case. https://www.jianguoyun.com/p/DeabU1wQ9s3ZBhjc7LgD CPU:Apple M1 system :Ubuntu 20.04 ARM (virtual machine) OpenFOAM vertion:OpenFOAM-8 4 359.22 2 512.2 1 830.43
__________________
My OpenFOAM algorithm website: http://dyfluid.com By far the largest Chinese CFD-based forum: http://www.cfd-china.com/category/6/openfoam We provide lots of clusters to Chinese customers, and we are considering to do business overseas: http://dyfluid.com/DMCmodel.html |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology | wyldckat | OpenFOAM | 17 | November 10, 2017 15:54 |
OpenFOAM Training Beijing 22-26 Aug 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | May 3, 2016 04:57 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 05:36 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 06:25 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 14:25 |