Difference between revisions of "Gromacs/Acceleration and parallelization"

From Computational Biophysics and Materials Science Group
Jump to: navigation, search
Line 9: Line 9:
  
 
==Gromacs 5.0.4 MPI, double==
 
==Gromacs 5.0.4 MPI, double==
mpirun -np M mdrun
+
#<nowiki>#</nowiki>PBS -l nodes=1;ppn=12 <br /> mpirun mdrun
 +
#mdrun -ntomp N -pin -on
  
 
  Points to note:
 
  Points to note:
  * M is the total number of cores you wish to use
+
  * N is the number of cores you wish to use in case a single machine is utilitzed
 
  * Dunno why M=32 can only utilize one single node, i.e. M=48 utilizes one and half node observed from Ganglia
 
  * Dunno why M=32 can only utilize one single node, i.e. M=48 utilizes one and half node observed from Ganglia
 +
* Therefore '''DO NOT''' specify total number of cores after mpirun. Specify using <nowiki>#</nowiki>PBS -l instead and let mpirun and mdrun decide by themselves.
  
 
==Gromacs 5.0.4 CUDA, single==
 
==Gromacs 5.0.4 CUDA, single==

Revision as of 13:25, 16 January 2015

Read this first.

On Combo, we have compiled several builds of Gromacs. List refers to How to use Combo and compilation options refer to How to compile Gromacs.

We now provide mdrun options for each build:

Gromacs 5.0.4 MPI, single, GPU

UNDER TESTS

Gromacs 5.0.4 MPI, double

  1. #PBS -l nodes=1;ppn=12
    mpirun mdrun
  2. mdrun -ntomp N -pin -on
Points to note:
* N is the number of cores you wish to use in case a single machine is utilitzed
* Dunno why M=32 can only utilize one single node, i.e. M=48 utilizes one and half node observed from Ganglia
* Therefore DO NOT specify total number of cores after mpirun. Specify using #PBS -l instead and let mpirun and mdrun decide by themselves.

Gromacs 5.0.4 CUDA, single

mdrun (-nt N) (-pin on)

Points to note:
* For single machine only, i.e. N<=16

Gromacs 5.0.4 thread-MPI, double

mdrun (-nt N) (-pin on)

Points to note:
* For single machine only, i.e. N<=16

Benchmark

Compare mpi.png