Author Topic: cluster configuration  (Read 3812 times)

0 Members and 1 Guest are viewing this topic.

Offline kanna

  • Regular QuantumATK user
  • **
  • Posts: 19
  • Reputation: 0
    • View Profile
cluster configuration
« on: January 14, 2016, 09:33 »
We are thinking of buying a new cluster and extra licenses. Is there something special which we need to look for ?

Should we invest more on
1. CPU frequency
2. memory per node
3. frequency of operation of the memory
4. SSD drive or SATA drive
5. any cards for mpi communication?
6. Choice of operating system

Please let us know if there is some tradeoff within the features which we can follow to optimize our cost.

Typically we run optimization and transport with electron-phonon model for 1000 TMD's.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5538
  • Country: dk
  • Reputation: 90
    • View Profile
    • QuantumATK at Synopsys
Re: cluster configuration
« Reply #1 on: January 14, 2016, 10:48 »
1. The higher the better
2. The more the better
3. The higher the better
4.  Doesn't matter for ATK
5. If you can afford  Infiniband you can buy that, but it seems for ATK the benefit is very low, generally
6. Linux

I know these are a bit "silly" answers, but they are true and correct :)

Offline kanna

  • Regular QuantumATK user
  • **
  • Posts: 19
  • Reputation: 0
    • View Profile
Re: cluster configuration
« Reply #2 on: January 19, 2016, 06:59 »
Dear Anders,

Is there a limitation on the bus speed which connects main memory and CPU cluster ?
Is it advisable to have two CPU clusters connecting to the same memory or single CPU cluster connecting to the main memory ?
Also do we need to have different bus for each cluster ?
« Last Edit: January 19, 2016, 07:06 by kanna »

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5538
  • Country: dk
  • Reputation: 90
    • View Profile
    • QuantumATK at Synopsys
Re: cluster configuration
« Reply #3 on: January 19, 2016, 10:18 »
The memory (RAM) would never be split over "clusters"... Please check your notation.

Offline kanna

  • Regular QuantumATK user
  • **
  • Posts: 19
  • Reputation: 0
    • View Profile
Re: cluster configuration
« Reply #4 on: January 19, 2016, 14:38 »
Apologies for my ignorance.
If we buy a server with 2 processors (each with 16 threads, connected by QPI as shown in the attached chipset diagram), so that in total we have 32 threads in the server
Then will mpiexec -n 16 , it parallelize into the 2 processors perfectly (where each processor has 16 threads) ?

Thanks
kanna
« Last Edit: January 19, 2016, 14:40 by kanna »

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5538
  • Country: dk
  • Reputation: 90
    • View Profile
    • QuantumATK at Synopsys
Re: cluster configuration
« Reply #5 on: January 19, 2016, 14:55 »
Be careful not confuse "threads" with "cores". Some setups will use hyperthreading to assign 2 threads per core; this is ok for office applications, but not HPC work. So, using mpiexec -n X, the number X should never exceed the number of physical cores. This may only be 8 in your setup.

Also, having a single machine means your X processes now need to use the same RAM, so if a calculation takes 8 GB in serial and you run X=8, be prepared that the calculation may consume 64 GB of memory. That is, for such a machine, get 128 GB of RAM, is my recommendation.

Now, "parallelize perfectly" depends very much on your problem - not all calculations parallelize as well, and sometimes you will be limited by memory, and so on. But generally you should have a good parallel benefit of such a machine.

Offline kanna

  • Regular QuantumATK user
  • **
  • Posts: 19
  • Reputation: 0
    • View Profile
Re: cluster configuration
« Reply #6 on: January 19, 2016, 15:10 »
I just got a bit confused, when we use mpiexec -n X, X is the number of threads and each thread corresponds to 1 atkslave license (Is this correct ?)
Please take a look at
http://ark.intel.com/products/83361/Intel-Xeon-Processor-E5-2667-v3-20M-Cache-3_20-GHz

and let me know if we can use only mpiexec -n 8 for this processor (this means 8 atkslave licenses ?)

Thanks
kanna

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5538
  • Country: dk
  • Reputation: 90
    • View Profile
    • QuantumATK at Synopsys
Re: cluster configuration
« Reply #7 on: January 19, 2016, 16:10 »
Each MPI process needs a license, yes, so with mpeixec -n 8 you use 1 master and actually 7 slaves.

The process you indicate has 8 physical cores, not 16.