Author Topic: processes_per_kpoint in 2016 version  (Read 3094 times)

0 Members and 1 Guest are viewing this topic.

Offline yasheng

  • Heavy QuantumATK user
  • ***
  • Posts: 50
  • Country: us
  • Reputation: 0
    • View Profile
processes_per_kpoint in 2016 version
« on: August 25, 2016, 11:59 »
Hi,

In 2016 version, the default value of processes_per_kpoint=None. what does this setting mean? If we want to run parallel calculations, let say using 64 cpu, what should be the value of processes_per_kpoint ? 

Thank you,
Yasheng




Offline Ulrik G. Vej-Hansen

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 426
  • Country: dk
  • Reputation: 9
    • View Profile
Re: processes_per_kpoint in 2016 version
« Reply #1 on: August 25, 2016, 13:18 »
The value of processes_per_kpoint depends on the number of k-points you use, but in 2016 it is now determined automatically. So unless you find that the default parallelization scheme is sub-optimal for your system and cluster setup, it should not be necessary to manually set processes_per_kpoint.

Offline Jess Wellendorff

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 933
  • Country: dk
  • Reputation: 29
    • View Profile
Re: processes_per_kpoint in 2016 version
« Reply #2 on: August 26, 2016, 09:36 »
Just to elaborate: The processes_per_kpoint parameter is used to define groups of MPI processes, each working on a single k-point. This is useful if you have more processes than k-points in the calculation (16 MPI processes can work together on computing 4 k-points, processes_per_kpoint=4). In ATK 2016, the parameter is automatically set, and it should rarely be changed manually, unless you really know what you are doing.