victorliu / S4

Stanford Stratified Structure Solver - Electromagnetic simulator for layered periodic structures
http://www.stanford.edu/group/fan/S4/
GNU General Public License v2.0
131 stars 149 forks source link

Error Message: SetLayerPatternRectangle: There was a problem allocating the pattern #66

Open mynanoweb opened 6 years ago

mynanoweb commented 6 years ago

I installed it on my iMac 10.11.1. I got the following error when I run examples that include the code "S:SetLayerPatternRectangle(....)".

"SetLayerPatternRectangle: There was a problem allocating the pattern".

For instance, /examples/1d/Pietarinen_OE_14_2583_2006/fig2a.lua.

Looks like examples that don't include the code "S:SetLayerPatternRectangle(....)" run fine. For example, ../examples/simple/simple.lua and ../examples/2d/Fan_PRB_65_2002/fig12.lua.

Any help regarding how to solve this issue is appreciated!

harperic commented 6 years ago

I too have this issue. Have there been any updates? If not, I'd be happy to dive into the code and try to figure out what's going on.