Author Topic: How much memory will it require to run the script?  (Read 3627 times)

0 Members and 1 Guest are viewing this topic.

Offline Steven

  • Heavy QuantumATK user
  • ***
  • Posts: 30
  • Country: in
  • Reputation: 0
    • View Profile
How much memory will it require to run the script?
« on: February 15, 2018, 07:07 »

           I am trying to run a script. How much memory will it require? The calculation unfortunately stops in the middle.

Offline Ulrik G. Vej-Hansen

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 426
  • Country: dk
  • Reputation: 9
    • View Profile
Re: How much memory will it require to run the script?
« Reply #1 on: February 15, 2018, 08:03 »
You can use the memory usage function to get a rough idea: https://docs.quantumwise.com/manuals/Types/MemoryUsage/MemoryUsage.html
This is also available in the lower left corner of the Script Generator when setting up the script.

Other than that, the best way is to let it run and see how much memory the process uses.

However, I note that it is PW calculation with a bandstructure. With the beta version of the PW calculator in the 2017 version of ATK, a bandstructure can take some time, so when you say stop, do you mean that it seems to hang, or throws an error and exits?

Offline Steven

  • Heavy QuantumATK user
  • ***
  • Posts: 30
  • Country: in
  • Reputation: 0
    • View Profile
Re: How much memory will it require to run the script?
« Reply #2 on: February 15, 2018, 12:13 »
Yes it hung up and didn't give any error.

Offline Ulrik G. Vej-Hansen

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 426
  • Country: dk
  • Reputation: 9
    • View Profile
Re: How much memory will it require to run the script?
« Reply #3 on: February 16, 2018, 09:58 »
I tried running it, and I got an error message showing that the job ran out of memory. In order to get an estimate of how much memory is needed per process, you can use the tools I mentioned above.