1
# --- Running LAMMPS ---
3
# The "run.in.nvt" file is a LAMMPS input script containing
4
# references 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".
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:
14
lmp_linux -i run.in.nvt # Run a simulation at constant volume
18
lmp_linux -i run.in.npt # Run a simulation at constant pressure
19
# (Note: Constant pressure conditions have not been
20
# well tested. The "run.in.npt" script may fail.)
24
# If you have compiled the MPI version of lammps, you can run lammps in parallel
25
#mpirun -np 4 lmp_linux -i run.in.nvt
27
#mpirun -np 4 lmp_linux -i run.in.npt
28
# (assuming you have 4 processors available)