Closed mdhoney closed 7 months ago
I'm not able to reproduce the segfault, but it's likely a problem with compiling the scattering extensions. We are working on a new version of HoloPy that changes the build system, which should hopefully make it easier to run the scattering extensions on multiple platforms. A preview is available in the develop branch. If this is still an issue for you, feel free to reopen.
I am currently working my way through the tutorials for the Scattering Calculations (here). Scattering off a single sphere works fine, e.g.
calc_holo(...)
then returns a result as expected.However, using the example for a collection of spheres:
causes
calc_holo
to segfault, both in command-line Python 3 and inside a Jupyter Notebook.Note that manually setting
theory=Mie
works, so I'm assuming the problem is withMultisphere
. Does any extra package need to be installed for that? The documentation doesn't make any mention of it...