Author Topic: Parallelization over two cores of one CPU in one machine  (Read 2703 times)

0 Members and 1 Guest are viewing this topic.

Offline Subhban15

  • Heavy QuantumATK user
  • ***
  • Posts: 54
  • Country: in
  • Reputation: 0
    • View Profile
I am trying to parallelize the simulation over two cores in one CPU (OS is CentOS 6.6).
Can anyone please guide me how to proceed with it?
I tried installing mpich2 (by following the tutorial http://quantumwise.com/publications/tutorials/item/509-mpi-setup-for-running-atk-in-parallel-on-a-simple-cluster ) but that's probably not the solution.

Thanks for you help!

Offline Subhban15

  • Heavy QuantumATK user
  • ***
  • Posts: 54
  • Country: in
  • Reputation: 0
    • View Profile
Re: Parallelization over two cores of one CPU in one machine
« Reply #1 on: November 20, 2015, 21:05 »
Could anyone please provide a dummy transcript of the procedure? It will be a great help! Thanks again!  :)

Offline Subhban15

  • Heavy QuantumATK user
  • ***
  • Posts: 54
  • Country: in
  • Reputation: 0
    • View Profile
Re: Parallelization over two cores of one CPU in one machine
« Reply #2 on: November 21, 2015, 06:18 »
This doesn't seem to be a good idea  :-\  Because of the shared resources and memory problem. I get it now.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5405
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: Parallelization over two cores of one CPU in one machine
« Reply #3 on: November 22, 2015, 20:52 »
It depends on your machine of course - if you have 8 GB memory (not uncommon) and run 2 processes, you can get a nice speedup. But sure, if you have 2 GB and run a big calculation , then it will not work.

Offline Subhban15

  • Heavy QuantumATK user
  • ***
  • Posts: 54
  • Country: in
  • Reputation: 0
    • View Profile
Re: Parallelization over two cores of one CPU in one machine
« Reply #4 on: November 23, 2015, 10:22 »
Okay... Thank you very much! :)