flaport / fdtd

A 3D electromagnetic FDTD simulator written in Python with optional GPU support
https://fdtd.readthedocs.io
MIT License
454 stars 116 forks source link

fdtd.backend and fdtd.set_backend errors #65

Closed nabilch88 closed 7 months ago

nabilch88 commented 9 months ago

Hello, I am starting to use the FDTD package and following the example given here (https://github.com/flaport/fdtd/blob/master/README.md). I encountered some errors when I tried to set the Torch backend and fdtd.grid as shown in the snapshot. Can someone please help me? Thank you. Capture d'écran 2023-09-13 100629

flaport commented 7 months ago

I think something went wrong with your installation. Or if nothing went wrong, make sure to not have a folder called 'fdtd' in the current folder you're working in. Python might consider that one to have higher priority over my package.