Difference between revisions of "NAMD/Parallel"

From ScientificComputing
Jump to: navigation, search
(Updates the NAMD2 parallel subpage.)
Line 6: Line 6:
  
 
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:
 
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 06:15, 1 December 2020

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.