Empty meshes when CUDA is on

10 views
Skip to first unread message

Jack Martin

unread,
Nov 26, 2025, 12:33:37 PM (8 days ago) Nov 26
to Boris Computational Spintronics
Hi Serban,

I'm having a weird problem with the double-precision CUDA version of Boris on Linux: when I use 'cuda 1' to turn CUDA mode on, the value of every vector in every mesh seems to disappear. Values which aren't stored in a mesh, such as time, iteration, dM/dt and Ha remain as they were, but anything that is, like average magnetisation or temperature, becomes zero. Turning CUDA mode off recovers the data, unless the mesh is changed while CUDA mode is on, in which case the values become corrupted - magnetisation becomes ~-1e32 A/m in each direction while temperature disappears.

I tried to include a screenshot of what I see in the GUI when I save the simulation with CUDA on and then open it on Windows, but I wasn't able to post this with that included. I'll try again in a later reply if that'd be helpful.

Thanks in advance,
Jack

Serban Lepadatu

unread,
Nov 27, 2025, 12:04:21 AM (8 days ago) Nov 27
to Boris Computational Spintronics
Hi Jack,

I think you haven't compiled with the correct cuda arch value for your GPU. What GPU do you have?

Regards,
Serban
Reply all
Reply to author
Forward
0 new messages