lammps/examples/gpu
sjplimp 30361f0dfa git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12042 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2014-05-29 22:52:10 +00:00
..
README git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12042 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2014-05-29 22:52:10 +00:00
data.phosphate git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6273 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2011-06-01 00:03:29 +00:00
data.rhodo git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6273 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2011-06-01 00:03:29 +00:00
in.gpu.melt.2.5 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7495 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-01-10 01:39:21 +00:00
in.gpu.melt.5.0 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7495 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-01-10 01:39:21 +00:00
in.gpu.phosphate git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7495 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-01-10 01:39:21 +00:00
in.gpu.rhodo git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7495 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-01-10 01:39:21 +00:00
log.gpu.melt.2.5.1Feb14.linux.1 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11411 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2014-01-30 22:50:33 +00:00
log.gpu.melt.2.5.1Feb14.linux.4 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11411 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2014-01-30 22:50:33 +00:00
log.gpu.melt.5.0.1Feb14.linux.1 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11411 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2014-01-30 22:50:33 +00:00
log.gpu.melt.5.0.1Feb14.linux.4 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11411 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2014-01-30 22:50:33 +00:00
log.gpu.phosphate.1Feb14.linux.1 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11411 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2014-01-30 22:50:33 +00:00
log.gpu.phosphate.1Feb14.linux.4 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11411 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2014-01-30 22:50:33 +00:00
log.gpu.rhodo.1Feb14.linux.1 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11411 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2014-01-30 22:50:33 +00:00
log.gpu.rhodo.1Feb14.linux.4 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11411 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2014-01-30 22:50:33 +00:00

README

These are input scripts designed for use with the GPU package.

To run them, you must first build LAMMPS with the GPU package
installed, following the steps explained in Section 2.3 of
doc/Section_start.html and lib/gpu/README.  An overview of building
and running LAMMPS with the GPU package is given in Section 5.6 of
doc/Section_accelerate.html.  Note that you can choose the precision
at which computations are performed on the GPU in the build process.

Note that lines such as this in each of the input scripts:

package 	gpu force/neigh 0 1 1

are set for running on a compute node with 2 GPUs.  If you
have a single GPU, you should comment out the line, since
the default is 1 GPU per compute node.

The scripts can be run in the usual manner:

lmp_g++ < in.gpu.melt.2.5
lmp_g++ < in.gpu.melt.5.0
lmp_g++ < in.gpu.phosphate
lmp_g++ < in.gpu.rhodo

mpirun -np 4 lmp_g++ < in.gpu.melt.2.5
mpirun -np 4 lmp_g++ < in.gpu.melt.5.0
mpirun -np 4 lmp_g++ < in.gpu.phosphate
mpirun -np 4 lmp_g++ < in.gpu.rhodo

The first set of commmands will run a single MPI task using a single
GPU (even if you have 2 GPUs).

The second set of commands will run 4 MPI tasks, with 2 MPI tasks per
GPU (if you have 2 GPUs), or 4 MPI tasks per GPU (if you have a single
GPU).