Author Topic: What does 'ATKError: St9bad_alloc' mean, developer?  (Read 10059 times)

0 Members and 1 Guest are viewing this topic.

Offline hhspace

  • Regular QuantumATK user
  • **
  • Posts: 19
  • Reputation: 0
    • View Profile
What does 'ATKError: St9bad_alloc' mean, developer?
« on: December 29, 2008, 14:09 »
When I calculate a two-probe system, which has 313 atoms in the central region, the message 'ATKError: St9bad_alloc' always obtained after the calculation of the electrode has converged. What does 'ATKError: St9bad_alloc' really means?

Offline Nordland

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 812
  • Reputation: 18
    • View Profile
Re: What does 'ATKError: St9bad_alloc' mean, developer?
« Reply #1 on: December 29, 2008, 14:47 »
Wow! Getting this error already on 313 atoms?

The error means you do not have enough memory to perform this calculation since it has run out of memory,
however I am puzzled that you get this error on 313 atoms. I can do 1000 atoms on my laptop with 2GB of memory.

Possible solutions:
  • Check that you are not running alot of other programs that takes up your memory
  • Check the memory heavy parameters as the mesh-cutoff and the basis set.
  • If your electrode is very large, then the equivalent bulk calculation can be quite big (start guess for NEGF) - try to disable it

Offline hhspace

  • Regular QuantumATK user
  • **
  • Posts: 19
  • Reputation: 0
    • View Profile
Re: What does 'ATKError: St9bad_alloc' mean, developer?
« Reply #2 on: December 29, 2008, 15:00 »
Thank you for your reply, and I will follow your advice and try some possible changes! And thanks a lot again!