NickKarpowicz / LightwaveExplorer

An efficient, user-friendly solver for nonlinear light-matter interaction
MIT License
60 stars 8 forks source link

Crash when making a long cluster script #21

Closed NickKarpowicz closed 1 year ago

NickKarpowicz commented 1 year ago

I was making a 2D parameter scan (delay1, delay2) on a sequence, and it crashed under windows, reproducibly

NickKarpowicz commented 1 year ago

Found the cause: if the currently-loaded simulation is very large (this one had 2810 total simulations in the batch), the count timer will allocate new memory, and fail when the system runs out.

NickKarpowicz commented 1 year ago

This job was so large that when I worked around the problem (run a small simulation first), it ran out of memory on the cluster. Maybe it would be good to have a max size warning