forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3228 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
077cf937be
commit
12ae035b63
|
@ -49,6 +49,26 @@ sub-directories:
|
|||
<TR><TD >tools</TD><TD > pre- and post-processing tools
|
||||
</TD></TR></TABLE></DIV>
|
||||
|
||||
<P>If you download the Windows executable from the download page,
|
||||
then you just get a single file:
|
||||
</P>
|
||||
<PRE>lmp_windows.exe
|
||||
</PRE>
|
||||
<P>Skip to the <A HREF = "#2_5">Running LAMMPS</A> section, to learn how to launch it
|
||||
on a Windows box.
|
||||
</P>
|
||||
<P>Note that this executable does not include an MPI or FFT library, so
|
||||
it can only be run on a single processor and it cannot perform
|
||||
simulations with long-range Coulombics using a
|
||||
<A HREF = "kspace_style.html">PPPM</A> solver.
|
||||
</P>
|
||||
<P>The Windows executage also only includes certain packages and
|
||||
bug-fixes/upgrades listed on <A HREF = "http://lammps.sandia.gov/bug.html">this
|
||||
page</A> up to a certain date, as
|
||||
stated on the download page. If you want something with more packages
|
||||
or more current, you'll have to download the source tarball and build
|
||||
it yourself, as described in the next section.
|
||||
</P>
|
||||
<HR>
|
||||
|
||||
<H4><A NAME = "2_2"></A>2.2 Making LAMMPS
|
||||
|
@ -616,6 +636,18 @@ cp lmp_linux ../examples/lj
|
|||
cd ../examples/lj
|
||||
mpirun -np 4 lmp_linux < in.lj.nve
|
||||
</PRE>
|
||||
<P>On a Windows machine, when you have downloaded the Windows executable
|
||||
lmp_windows.exe, you do something different:
|
||||
</P>
|
||||
<UL><LI>Get a command prompt by going to Start->Run... , then typing "cmd"
|
||||
and OK.
|
||||
|
||||
<LI>Move to the directory where you have saved lmp_windows.exe
|
||||
(e.g. by typing: cd "My Documents").
|
||||
|
||||
<LI>At the command prompt, type "lmp_windows < in.lj", replacing in.lj
|
||||
with the name of your LAMMPS input script.
|
||||
</UL>
|
||||
<P>The screen output from LAMMPS is described in the next section. As it
|
||||
runs, LAMMPS also writes a log.lammps file with the same information.
|
||||
</P>
|
||||
|
|
|
@ -44,6 +44,26 @@ potentials: embedded atom method (EAM) potential files
|
|||
src: source files
|
||||
tools: pre- and post-processing tools :tb(s=:)
|
||||
|
||||
If you download the Windows executable from the download page,
|
||||
then you just get a single file:
|
||||
|
||||
lmp_windows.exe :pre
|
||||
|
||||
Skip to the "Running LAMMPS"_#2_5 section, to learn how to launch it
|
||||
on a Windows box.
|
||||
|
||||
Note that this executable does not include an MPI or FFT library, so
|
||||
it can only be run on a single processor and it cannot perform
|
||||
simulations with long-range Coulombics using a
|
||||
"PPPM"_kspace_style.html solver.
|
||||
|
||||
The Windows executage also only includes certain packages and
|
||||
bug-fixes/upgrades listed on "this
|
||||
page"_http://lammps.sandia.gov/bug.html up to a certain date, as
|
||||
stated on the download page. If you want something with more packages
|
||||
or more current, you'll have to download the source tarball and build
|
||||
it yourself, as described in the next section.
|
||||
|
||||
:line
|
||||
|
||||
2.2 Making LAMMPS :h4,link(2_2)
|
||||
|
@ -609,6 +629,18 @@ cp lmp_linux ../examples/lj
|
|||
cd ../examples/lj
|
||||
mpirun -np 4 lmp_linux < in.lj.nve :pre
|
||||
|
||||
On a Windows machine, when you have downloaded the Windows executable
|
||||
lmp_windows.exe, you do something different:
|
||||
|
||||
Get a command prompt by going to Start->Run... , then typing "cmd"
|
||||
and OK. :ulb,l
|
||||
|
||||
Move to the directory where you have saved lmp_windows.exe
|
||||
(e.g. by typing: cd "My Documents"). :l
|
||||
|
||||
At the command prompt, type "lmp_windows < in.lj", replacing in.lj
|
||||
with the name of your LAMMPS input script. :l,ule
|
||||
|
||||
The screen output from LAMMPS is described in the next section. As it
|
||||
runs, LAMMPS also writes a log.lammps file with the same information.
|
||||
|
||||
|
|
Loading…
Reference in New Issue