thliebig / openEMS

openEMS is a free and open-source electromagnetic field solver using the EC-FDTD method.
http://openEMS.de
GNU General Public License v3.0
413 stars 146 forks source link

Add ARM64 build support #95

Closed thasti closed 1 year ago

thasti commented 1 year ago

Hi Thorsten. This PR enables building openEMS on ARM64 machines. Tested on Arch Linux ARM on Apple M2 Mac Book Air.

0xCoto commented 1 year ago

@thasti Just curious, what kind of performance (MC/s) do you see with ARM on the M2?

thasti commented 1 year ago

@thasti Just curious, what kind of performance (MC/s) do you see with ARM on the M2?

For some of the examples from the repo:

# python Bent_Patch_Antenna.py
Time for 19008 iterations with 839664.00 cells : 68.89 sec
Speed: 231.66 MCells/s

# python Helical_Antenna.py
Time for 2688 iterations with 1226242.00 cells : 24.22 sec
Speed: 136.09 MCells/s

# python MSL_NotchFilter.py
Time for 15810 iterations with 269780.00 cells : 24.59 sec
Speed: 173.47 MCells/s