Author Topic: ATKError: inverse(DZMatrix const &) : Could not LU factorize!  (Read 12504 times)

0 Members and 1 Guest are viewing this topic.

Offline Hasan Sahin

  • Heavy QuantumATK user
  • ***
  • Posts: 44
  • Reputation: 0
    • View Profile
During two-probe calculation ATK gives the error

ATKError: inverse(DZMatrix const &) : Could not LU factorize!


what does it mean?

Offline Nordland

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 812
  • Reputation: 18
    • View Profile
Re: ATKError: inverse(DZMatrix const &) : Could not LU factorize!
« Reply #1 on: December 27, 2008, 12:38 »
It is a bit hard to tell, but it means that it tried to invert a matrix, that could not be LU decompose (as the errors says).

1) What version of ATK are you using? This could perhaps give a clue on the what the error means ?
2) Do you have the script that produced the error ?
3) How does the geometry look like in VNL?

Offline Hasan Sahin

  • Heavy QuantumATK user
  • ***
  • Posts: 44
  • Reputation: 0
    • View Profile
Re: ATKError: inverse(DZMatrix const &) : Could not LU factorize!
« Reply #2 on: December 27, 2008, 12:53 »
thank you Nordland

1-) Latest version of ATK
2-) Inserting the geometry, script was generated by Nanoscripter (in former version of VNL)
3-) I controlled the geometry, it seems normal, there is no overlapping atoms.

Now I am trying to generate the scirpt with latest version of VNL.

Offline Nordland

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 812
  • Reputation: 18
    • View Profile
Re: ATKError: inverse(DZMatrix const &) : Could not LU factorize!
« Reply #3 on: December 27, 2008, 14:02 »
If you are using the new experimental version of ElectrodeConstraint (DensityMatrix),
then you will get an error (LU factorize) if the all charge leaves the system,
does your "q" goes to zero before the error?

Then I suggest tuning the parameters for the energy contour integral and the eigenstate occupation parameters.

Offline Hasan Sahin

  • Heavy QuantumATK user
  • ***
  • Posts: 44
  • Reputation: 0
    • View Profile
Re: ATKError: inverse(DZMatrix const &) : Could not LU factorize!
« Reply #4 on: December 27, 2008, 19:51 »
now it is ok. It is about electrode-device system geometry. The part of my electrode which does not match with the edge of device region causes this kind of problem.

Offline Nordland

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 812
  • Reputation: 18
    • View Profile
Re: ATKError: inverse(DZMatrix const &) : Could not LU factorize!
« Reply #5 on: December 27, 2008, 19:59 »
Great!