NAMD/Parallel

From ScientificComputing
Revision as of 08:18, 14 September 2018 by Urbanb (talk | contribs) (Updates the NAMD2 parallel subpage.)

Jump to: navigation, search

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.