QuantumATK Forum

QuantumATK => General Questions and Answers => Topic started by: bjnagare on February 7, 2010, 15:39

Title: ATK error- Could not LU factorize!
Post by: bjnagare on February 7, 2010, 15:39
Hello ATK users,

My system with 290 carbon atoms is converging well. But when I am  using initial_scaled_spin=1 on the all the carbon atoms, I am getting an error;

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

How one can solve this problem?

It  may be noted that as the system is converging well without any spin, so there is no question of atomic overlap.

Please help me to understand this problem?

Thanking you

Regards,

Nagare
Title: Re: ATK error- Could not LU factorize!
Post by: Nordland on February 7, 2010, 17:20
What constraint are you using?

If you are using the density matrix constraint, you will get this error if you lose all the charge from the central region.
Title: Re: ATK error- Could not LU factorize!
Post by: bjnagare on February 7, 2010, 18:57
Dear Sir,

Thank you for reply.

I am not using DensityMatrix constraint. The charges in the central region is not zero.

For your clarification, here is part of input file and output file is shown IN THE ATTACHMENT.

Please guide to proceed further.

Regards

Nagare

Title: Re: ATK error- Could not LU factorize!
Post by: Nordland on February 7, 2010, 22:44
Does the error come right when the two-probe run starts or is after some time?

Try alternative setting the initial spin to 0.9999 instead of 1.000. Then the GGA potential will be have much better.


A wild short is that you will not see this in LDA.
Title: Re: ATK error- Could not LU factorize!
Post by: bjnagare on February 8, 2010, 02:52
Dear Sir,

The error comes when the two probe calculations starts. I have tried with spin=0.9999 instead of 1, even though I am getting same error.

Thank you

Regards,

Nagare
Title: Re: ATK error- Could not LU factorize!
Post by: Nordland on February 8, 2010, 10:23
Do you see it in LDA?
Title: Re: ATK error- Could not LU factorize!
Post by: bjnagare on February 10, 2010, 03:09
Dear Sir,

Using LDA.PZ with dzp, I am getting same error but after 134 scf iterations of two probe calculation. Pl. help to proceed.

Regards

Nagare
Title: Re: ATK error- Could not LU factorize!
Post by: Nordland on February 11, 2010, 08:32
Since I dont have the geometry, I can not check it myself.

However this is the way I would approach it.

Step one step back :)
If this does not solve the problem we might have to get medieval on it  8)

Joke aside, judging from what you write, I am sure that this is a matter of convergence. Spin systems are simply much harder, but once
you get the right side of them, they start to behave better. Once I struggled with Fe-MgO-Fe junctions, but now I have gotten the hold of them ;)

Title: Re: ATK error- Could not LU factorize!
Post by: bjnagare on February 11, 2010, 12:19
Thank you sir for your kind info.

I will follow ur suggestion and try to check it as per procedure. I will reply soon.

Thanks once again,


regards,

Nagare