demisjohn / CAMFR

Python-based electromagnetic simulator and mode solver for nanophotonics applications, using the Eigenmode Expansion (EME) method.
GNU General Public License v2.0
65 stars 30 forks source link

[WIP] fix compilation/setup/python3 for M1 map #21

Closed jsenellart closed 2 years ago

jsenellart commented 2 years ago

fix numpy issue, dylib issue (#7), add requirement.txt, new machine_cfg.py for modern M1 MacOs with brew, misc compatibility fixes

works for me on Mac book pro M1 with python 3.9

the following tests fail with non compilation related errors

actually 4 other tests crash during execution:

and I observed a rare, random exception on memory free again in c++ code

being investigated...