mo-hanxuan / FEMcy

a finite element solver based on Taichi, being parallel (CPU/GPU), portable and open-source
MIT License
139 stars 18 forks source link

Issue with running beam example #4

Open karthik-codex opened 5 months ago

karthik-codex commented 5 months ago

Hello, thank you for sharing the project! I was having trouble running the built in example cases. I am new to Taichi so the code is a bit difficult for me to follow yet. I get the following errors when I try to run the beam model. the code goes untill it says "now we begin to assemble the sparse matrix" and then terminates with this error

image

and I get a lot of these warning before the simulation terminates.

image

mo-hanxuan commented 2 days ago

Thanks for reporting the issue.

It seems that the project's syntax is incompatible with newest version of Taichi.

I test by taichi v1.6.0 and everything seems fine, then I get the same error message as yours when I upgrade taichi to newest version.

Will find a way to make it compatible with new taichi soon, thank you again for reporting the issue and help us improve this project.