0

I try to run dynamic life cycle assessment on Temporalis. After I constructed the temporal database, and ran tempo.graph_technosphere() and timel_st=dlca_st.calculate(), both came out the "PyPardisoError: The Pardiso solver failed with error code -4." I check the Pardiso manual document and -4 shows "Zero pivot, numerical fact. or iterative refinement problem." I think it might be the zero pivot problem. But I am not sure. How could I fix this problem?

Tai-Yuan
  • 3
  • 3

1 Answers1

0

This is a library incompatibility problem. See the link for potential workarounds before the upstream fixes land.

Chris Mutel
  • 2,549
  • 1
  • 14
  • 9
  • Thank you! Right now I don't have error -4 problem. But it raises PyPardisoError error code -3. I checked this [question](https://stackoverflow.com/questions/70665142/pypardisoerror-the-pardiso-solver-failed-with-error-code-3-see-pardiso-docum?rq=1), and I found my database is square but singular. How to change the database to non-singular? – Tai-Yuan Feb 07 '22 at 22:06
  • If you are sure your matrix is singular, then I guess you are missing a production exchange for some activity. But according to the link you posted, I venture to guess that this is still the MKL compatibility problem - have you downgraded MKL? – Chris Mutel Feb 09 '22 at 08:39
  • I have downgraded MKL. But I think I miss production exchanges for two activities since I used `technosphere_matrix` and found two rows were all zero. How can I find out which product or activity has no amount? – Tai-Yuan Feb 09 '22 at 22:16
  • I figured out where I did wrong! Thank you, Dr. Mutel! – Tai-Yuan Feb 10 '22 at 21:54