Author Topic: Number of cores  (Read 2281 times)

0 Members and 1 Guest are viewing this topic.

Offline Khattab

  • Heavy QuantumATK user
  • ***
  • Posts: 45
  • Country: eg
  • Reputation: 0
    • View Profile
Number of cores
« on: March 29, 2014, 17:24 »
Dear All,
Kindly, i running ATK on workstation which has 8 core, i want to know the number of cores used for each process.
Kind Regards,
Khattab

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5446
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: Number of cores
« Reply #1 on: March 30, 2014, 22:31 »
Some parts of ATK will thread across the cores until you specifically instruct it not to, by setting OMP_NUM_THREADS to a lower value (and usually OMP_DYNAMIC=FALSE also).

If you plan to run several MPI processes on this machine you should typically limit each process to 1 thread for best MPI performance.

Offline Khattab

  • Heavy QuantumATK user
  • ***
  • Posts: 45
  • Country: eg
  • Reputation: 0
    • View Profile
Re: Number of cores
« Reply #2 on: March 31, 2014, 16:34 »
Dear Dr Anderson Blom,
Firstly thank you for your replay, but  want to till you that i run ATK on windows O.S not Linux so, how can i do this on windows????
Regards,
Khattab

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5446
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: Number of cores
« Reply #3 on: April 2, 2014, 18:18 »
Assuming you have MPICH2 installed already, the only change needed is to set OMP_NUM_THREADS in the Control Panel, under System Environment Variables. Note however that this may affect other programs too, so it maybe better to do it in the shell where you launch ATK. In Windows's native command prompt, the notation for setting variables is

set x=b
echo %x%


Offline Khattab

  • Heavy QuantumATK user
  • ***
  • Posts: 45
  • Country: eg
  • Reputation: 0
    • View Profile
Re: Number of cores
« Reply #4 on: April 11, 2014, 19:54 »
I will try it,thank you.
Regards,
Sayed