Closed Xuuuuuuuuuuuuuu closed 2 months ago
Hi,
Thanks for your report! zpotr
seems to be part of lapack, you might need to install lapack first. A quick try is to install the lapack and blas first. Otherwise, could you try to compile the C++ code polyfem to see if they work? Upon successful compilation, you can run the unit tests by just
./build/tests/unit_tests
Thank for your reply! I have installed the lapack and blas by using “conda install” and I have compiled the C++ code polyfem. I run the unit tests ,it seems work well. and I also use it to run the json code,it seems no problem. However,when “import polyfempy as pf", I still encounter the bug "polyfempy.cpython-39-x86_64-linux-gnu.so: undefined symbol: zpotrf"
Could you please try to compile and run unit test on the branch that I use for the python binding as well? And could you provide your computer system and version?
Thank for your reply ! ! Yes,the above result(run unit test and run json code) is based your branch. This is my computer system: and my python version is 3.8.19
Updated instructions in github repo and fixed the import issue.
Dear author, Thanks for sharing your amazing work!
I have successfully installed polyfempy-0.7 But when “import polyfempy as pf", I encountered a bug "polyfempy.cpython-39-x86_64-linux-gnu.so: undefined symbol: zpotrf"