git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11299 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2014-01-22 18:32:56 +00:00
parent 286ff0a092
commit b7eb7f3301
4 changed files with 78 additions and 11 deletions

View File

@ -25,7 +25,7 @@
<LI>group-ID = ID of the group of atoms to be dumped
<LI>style = <I>atom</I> or <I>cfg</I> or <I>dcd</I> or <I>xtc</I> or <I>xyz</I> or <I>image</I> or <I>molfile</I> or <I>local</I> or <I>custom</I>
<LI>style = <I>atom</I> or <I>aotm\mpiio</I> or <I>cfg</I> or <I>dcd</I> or <I>xtc</I> or <I>xyz</I> or <I>xyz/mpiio</I> or <I>image</I> or <I>molfile</I> or <I>local</I> or <I>custom</I> or <I>custom/mpiio</I>
<LI>N = dump every this many timesteps
@ -34,11 +34,14 @@
<LI>args = list of arguments for a particular style
<PRE> <I>atom</I> args = none
<I>atom/mpiio</I> args = none
<I>cfg</I> args = same as <I>custom</I> args, see below
<I>dcd</I> args = none
<I>xtc</I> args = none
<I>xyz</I> args = none
</PRE>
<PRE> <I>xyz/mpiio</I> args = none
</PRE>
<PRE> <I>image</I> args = discussed on <A HREF = "dump_image.html">dump image</A> doc page
</PRE>
<PRE> <I>molfile</I> args = discussed on <A HREF = "dump_molfile.html">dump molfile</A> doc page
@ -52,6 +55,7 @@
f_ID[N] = Nth column of local array calculated by a fix with ID
</PRE>
<PRE> <I>custom</I> args = list of atom attributes
<I>custom/mpiio</I> args = list of atom attributes
possible attributes = id, mol, type, element, mass,
x, y, z, xs, ys, zs, xu, yu, zu,
xsu, ysu, zsu, ix, iy, iz,
@ -96,7 +100,9 @@
<P><B>Examples:</B>
</P>
<PRE>dump myDump all atom 100 dump.atom
dump myDump all atom/mpiio 100 dump.atom.mpiio
dump 2 subgroup atom 50 dump.run.bin
dump 2 subgroup atom 50 dump.run.mpiio.bin
dump 4a all custom 100 dump.myforce.* id type x y vx fx
dump 4b flow custom 100 dump.%.myforce id type c_myF[3] v_ke
dump 2 inner cfg 10 dump.snap.*.cfg mass type xs ys zs vx vy vz
@ -143,6 +149,15 @@ default. For the <I>dcd</I>, <I>xtc</I>, <I>xyz</I>, and <I>molfile</I> styles,
atom ID is on by default. See the <A HREF = "dump_modify.html">dump_modify</A> doc
page for details.
</P>
<P>As explained below, the <I>atom/mpiio</I>, <I>custom/mpiio</I>, and <I>xyz/mpiio</I>
styles are identical in command syntax and in the format of the dump
files they create, to the corresponding styles without "mpiio", except
the single dump file they produce is written in parallel via the
MPI-IO library. For the remainder of this doc page, you should thus
consider the <I>atom</I> and <I>atom/mpiio</I> styles (etc) to be
inter-changeable. The one exception is how the filename is specified
for the MPI-IO styles, as explained below.
</P>
<HR>
<P>The <I>style</I> keyword determines what atom quantities are written to the
@ -352,6 +367,31 @@ when running on large numbers of processors.
<P>Note that using the "*" and "%" characters together can produce a
large number of small dump files!
</P>
<P>For the <I>atom/mpiio</I>, <I>custom/mpiio</I>, and <I>xyz/mpiio</I> styles, a single
dump file is written in parallel via the MPI-IO library, which is part
of the MPI standard for versions 2.0 and above. Using MPI-IO requires
two steps. First, build LAMMPS with its MPIIO package installed, e.g.
</P>
<PRE>make yes-mpiio # installs the MPIIO package
make g++ # build LAMMPS for your platform
</PRE>
<P>Second, use a dump filename which contains ".mpiio". Note that it
does not have to end in ".mpiio", just contain those characters.
Unlike MPI-IO restart files, which must be both written and read using
MPI-IO, the dump files produced by these MPI-IO styles are identical
in format to the files produced by their non-MPI-IO style
counterparts. This means you can write a dump file using MPI-IO and
use the <A HREF = "read_dump.html">read_dump</A> command or perform other
post-processing, just as if the dump file was not written using
MPI-IO.
</P>
<P>Note that MPI-IO dump files are one large file which all processors
write to. You thus cannot use the "%" wildcard character described
above in the filename since that specifies generation of multiple
files. You can use the ".bin" suffix described below in an MPI-IO
dump file; again this file will be written in parallel and have the
same binary format as if it were written without MPI-IO.
</P>
<P>If the filename ends with ".bin", the dump file (or files, if "*" or
"%" is also used) is written in binary format. A binary dump file
will be about the same size as a text version, but will typically

View File

@ -121,6 +121,15 @@ dump_modify 1 amap min max cf 0.0 3 min green 0.5 yellow max blue boxcolor red
<P>Modify the parameters of a previously defined dump command. Not all
parameters are relevant to all dump styles.
</P>
<P>As explained on the <A HREF = "dump.html">dump</A> doc page, the <I>atom/mpiio</I>,
<I>custom/mpiio</I>, and <I>xyz/mpiio</I> dump styles are identical in command
syntax and in the format of the dump files they create, to the
corresponding styles without "mpiio", except the single dump file they
produce is written in parallel via the MPI-IO library. Thus if a
dump_modify option below is valid for the <I>atom</I> style, it is also
valid for the <I>atom/mpiio</I> style, and similarly for the other styles
which allow for use of MPI-IO.
</P>
<HR>
<HR>

View File

@ -13,14 +13,15 @@
</H3>
<P><B>Syntax:</B>
</P>
<PRE>molecule ID file
<PRE>molecule ID file1 file2 ...
</PRE>
<UL><LI>ID = user-assigned name for the molecule template
<LI>file = name of file containing molecule description
<LI>file1,file2,... = names of files containing molecule descriptions
</UL>
<P><B>Examples:</B>
</P>
<PRE>molecule 1 mymol
molecule 1 co2.txt h2o.txt
molecule CO2 co2.txt
</PRE>
<P><B>Description:</B>
@ -35,13 +36,21 @@ templates (or will in the future) include:
<LI><A HREF = "fix_rigid.html">fix rigid/small</A>
<LI><A HREF = "fix_shake.html">fix shake</A>
<LI><A HREF = "fix_gcmc.html">fix gcmc</A> (not yet)
<LI><A HREF = "create_atoms.html">create_atoms</A> (not yet)
<LI><A HREF = "create_atoms.html">create_atoms</A>
<LI><A HREF = "atom_style.html">atom_style template</A> (not yet)
</UL>
<P>The ID of a molecule template can only contain alphanumeric characters
and underscores.
</P>
<P>The format of the molecule file is similar to the data file read by
the <A HREF = "read_data.html">read_data</A> commands, and is as follows.
<P>A single template can contain multiple molecules, listed one per file.
Many of the commands listed above currently use only the first
molecule in the template, and will issue a warning if the template
contains multiple molecules. The <A HREF = "atom_style.html">atom_style
template</A> command allows multiple-molecule templates
to define a system with more than one templated molecule.
</P>
<P>The format of an individual molecule file is similar to the data file
read by the <A HREF = "read_data.html">read_data</A> commands, and is as follows.
</P>
<P>A molecule file has a header and a body. The header appears first.
The first line of the header is always skipped; it typically contains

View File

@ -10,14 +10,15 @@ molecule command :h3
[Syntax:]
molecule ID file :pre
molecule ID file1 file2 ... :pre
ID = user-assigned name for the molecule template
file = name of file containing molecule description :ul
file1,file2,... = names of files containing molecule descriptions :ul
[Examples:]
molecule 1 mymol
molecule 1 co2.txt h2o.txt
molecule CO2 co2.txt :pre
[Description:]
@ -32,13 +33,21 @@ templates (or will in the future) include:
"fix rigid/small"_fix_rigid.html
"fix shake"_fix_shake.html
"fix gcmc"_fix_gcmc.html (not yet)
"create_atoms"_create_atoms.html (not yet) :ul
"create_atoms"_create_atoms.html
"atom_style template"_atom_style.html (not yet) :ul
The ID of a molecule template can only contain alphanumeric characters
and underscores.
The format of the molecule file is similar to the data file read by
the "read_data"_read_data.html commands, and is as follows.
A single template can contain multiple molecules, listed one per file.
Many of the commands listed above currently use only the first
molecule in the template, and will issue a warning if the template
contains multiple molecules. The "atom_style
template"_atom_style.html command allows multiple-molecule templates
to define a system with more than one templated molecule.
The format of an individual molecule file is similar to the data file
read by the "read_data"_read_data.html commands, and is as follows.
A molecule file has a header and a body. The header appears first.
The first line of the header is always skipped; it typically contains