~ubuntu-branches/debian/sid/lammps/sid

« back to all changes in this revision

Viewing changes to tools/moltemplate/examples/all_atom_examples/nanotube+water/README_run.sh

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2013-11-20 22:41:36 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20131120224136-tzx7leh606fqnckm
Tags: 0~20131119.git7162cf0-1
* [e65b919] Imported Upstream version 0~20131119.git7162cf0
* [f7bddd4] Fix some problems, introduced by upstream recently.
* [3616dfc] Use wrap-and-sort script.
* [7e92030] Ignore quilt dir

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# --- Running LAMMPS ---
 
2
#  -- Prerequisites: --
 
3
# The 2 files "run.in.npt", and "run.in.nvt" are LAMMPS 
 
4
# input scripts which link to the input scripts and data files
 
5
# you hopefully have created earlier with moltemplate.sh:
 
6
#   system.in.init, system.in.settings, system.data
 
7
# If not, carry out the instructions in "README_setup.sh".
 
8
#
 
9
#  -- Instructions: --
 
10
# If "lmp_linux" is the name of the command you use to invoke lammps,
 
11
# then you would run lammps on these files this way:
 
12
 
 
13
 
 
14
lmp_linux -i run.in.nvt  # minimization and simulation at constant volume
 
15
lmp_linux -i run.in.npt  # minimization and simulation at constant pressure
 
16
                         # (WARNING: The "run.in.npt" example has not been 
 
17
                         #           rigorously tested and may fail.)
 
18
 
 
19
 
 
20
 
 
21
# If you have compiled the MPI version of lammps, you can run lammps in parallel
 
22
#mpirun -np 4 lmp_linux -i run.in.npt
 
23
#mpirun -np 4 lmp_linux -i run.in.nvt
 
24
# (assuming you have 4 processors available)