spirit-code / spirit

Atomistic Spin Simulation Framework
http://spirit-code.github.io
MIT License
117 stars 52 forks source link

Core: CUDA bug when changing geometry with DDI activated #485

Open MSallermann opened 5 years ago

MSallermann commented 5 years ago

If the geometry is changed too drastically while DDI is activated problems arise. This seems to only happen on the CUDA backend. Steps to reproduce:

  1. Perform a few iterations with ddi activated on a 10x10x10 cube
  2. Change the cells to 100x100x100
  3. Press 'Start'

If this is performed within a python script this will cause an illegal memory access. In the GUI the arrows disappear and 'n_cells' shows nonsense values. More gradual changes seem to be fine though e.g going through side lengths 10, 30, 50, 70 to 100. Log.txt