Difference between revisions of "NAMD/Parallel"

From ScientificComputing
Jump to: navigation, search
(Created page with "You can also run NAMD calculations on more than 24 cores. Since multiple nodes will be used in this case, you ''must'' load an MPI module (such as MVAPICH2) before loading the...")
 
(Updates the NAMD2 parallel subpage.)
Line 1: Line 1:
You can also run NAMD calculations on more than 24 cores. Since multiple nodes will be used in this case, you ''must'' load an MPI module (such as MVAPICH2) before loading the NAMD module. Then use the following command to submit such a job to the batch system:
+
You can run NAMD on a single node (for example, up to 36 cores on Euler) or over multiple nodes.
 +
 
 +
To run on a single node, request a number of processors, ''N'' from the batch system and tell NAMD2 to use the same number of threads:
 +
bsub [LSF parameters] -n N "charmrun +p N +isomalloc_sync +setcpuaffinity namd2 input.in"
 +
where <tt>[LSF options]</tt> are the LSF parameters for the resource requirements of the job.
 +
 
 +
You can also run NAMD calculations on more than one node. Since multiple nodes will be used in this case, you ''must'' load an MPI module (such as MVAPICH2) before loading the NAMD module. Then use the following command to submit such a job to the batch system:
 
  bsub [LSF parameters] -n N mpirun "namd2 input.in"
 
  bsub [LSF parameters] -n N mpirun "namd2 input.in"
 
where <tt>[LSF options]</tt> are the LSF parameters for the resource requirements of the job.
 
where <tt>[LSF options]</tt> are the LSF parameters for the resource requirements of the job.

Revision as of 08:18, 14 September 2018

You can run NAMD on a single node (for example, up to 36 cores on Euler) or over multiple nodes.

To run on a single node, request a number of processors, N from the batch system and tell NAMD2 to use the same number of threads:

bsub [LSF parameters] -n N "charmrun +p N +isomalloc_sync +setcpuaffinity namd2 input.in"

where [LSF options] are the LSF parameters for the resource requirements of the job.

You can also run NAMD calculations on more than one node. Since multiple nodes will be used in this case, you must load an MPI module (such as MVAPICH2) before loading the NAMD module. Then use the following command to submit such a job to the batch system:

bsub [LSF parameters] -n N mpirun "namd2 input.in"

where [LSF options] are the LSF parameters for the resource requirements of the job.