Author Topic: convergence problem  (Read 4336 times)

0 Members and 1 Guest are viewing this topic.

Offline sayantanu

  • Heavy QuantumATK user
  • ***
  • Posts: 48
  • Country: in
  • Reputation: 0
    • View Profile
convergence problem
« on: May 13, 2015, 11:10 »
Dear atk users,
I was doing transmission spectrum analysis of a two probe system, having a molecule of 4 cobalt atoms. But it is not converging. When I am increasing step numbers it is doing only 99 steps. I have tried to converge by increasing basis, but the job suddenly stopped. Please help.

Offline Jess Wellendorff

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 933
  • Country: dk
  • Reputation: 29
    • View Profile
Re: convergence problem
« Reply #1 on: May 19, 2015, 13:47 »
How did you increase the maximum number of SCF steps? Did you increase "Maximum steps" in "Iteration Control" using the Script Generator?

Offline sayantanu

  • Heavy QuantumATK user
  • ***
  • Posts: 48
  • Country: in
  • Reputation: 0
    • View Profile
Re: convergence problem
« Reply #2 on: May 21, 2015, 07:39 »
Yes, I also increased history steps and decreased the tolerance limit. Here is the required part :

left_electrode_iteration_control_parameters = IterationControlParameters(
    damping_factor=0.5,
    max_steps=120,
    tolerance=0.001,
    number_of_history_steps=30

Offline Jess Wellendorff

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 933
  • Country: dk
  • Reputation: 29
    • View Profile
Re: convergence problem
« Reply #3 on: May 21, 2015, 10:02 »
ok, so you have increased the maximum number of SCF steps to 120. That's not really a big increase from 100.

I suggest you try lower the damping factor and increase the max_steps:

left_electrode_iteration_control_parameters = IterationControlParameters(
    damping_factor=0.05,
    max_steps=500,
    )

Offline sayantanu

  • Heavy QuantumATK user
  • ***
  • Posts: 48
  • Country: in
  • Reputation: 0
    • View Profile
Re: convergence problem
« Reply #4 on: May 26, 2015, 09:39 »
I have done what u have said. But the job still stopping  at 99th step.
Please help.


Offline Umberto Martinez

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 479
  • Country: dk
  • Reputation: 26
    • View Profile
Re: convergence problem
« Reply #5 on: May 26, 2015, 10:40 »
Please, attach your full script.

You probably increase max step of the electrodes only. You have to do it for your device calculator as well.
Use the Script Generator to do it for your.

There might be other things to try before increasing that much the number of SCF steps.
Again, if you add your script we may come up with more precise suggestions.

Offline sayantanu

  • Heavy QuantumATK user
  • ***
  • Posts: 48
  • Country: in
  • Reputation: 0
    • View Profile
Re: convergence problem
« Reply #6 on: May 27, 2015, 09:07 »
Here is the script.

Offline Umberto Martinez

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 479
  • Country: dk
  • Reputation: 26
    • View Profile
Re: convergence problem
« Reply #7 on: May 27, 2015, 14:32 »
In my opinion:
- your central region is too short. You actually do not have gold atoms that are not part of the electrode extension.
- increase the number of k-point in the C direction. Even to about 200.
- include polarization in your basis set. SZP for gold and DZP for the other elements.
- keep Iteration Control Settings as default
- perform a zero bias calculation first.

- When you converge your calculation, run the transmission spectrum separately (higher parallelization, if you can afford it) with a much higher k-point sampling.

Yes, it is a demanding calculation but that is how your system is.

Offline sayantanu

  • Heavy QuantumATK user
  • ***
  • Posts: 48
  • Country: in
  • Reputation: 0
    • View Profile
Re: convergence problem
« Reply #8 on: June 3, 2015, 07:36 »
zero bias calculation is converging well, but when I gave some bias the job stopped after some time without showing any error.

Offline Quhe

  • Regular QuantumATK user
  • **
  • Posts: 10
  • Country: cn
  • Reputation: 0
    • View Profile
Re: convergence problem
« Reply #9 on: June 5, 2017, 06:30 »
zero bias calculation is converging well, but when I gave some bias the job stopped after some time without showing any error.
meet the same problem..