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 and PACKMOL:
6
# system.in.init, system.in.settings, system.in.coords, system.data,
8
# If not, carry out the instructions in "README_setup.sh".
11
# If "lmp_linux" is the name of the command you use to invoke lammps,
12
# then you would run lammps on these files this way:
14
lmp_linux -i run.in.min # Minimize the system (important, and very slow)
16
lmp_linux -i run.in.nvt # Run a simulation at constant volume
20
# If you have compiled the MPI version of lammps, you can run lammps in parallel
21
#mpirun -np 4 lmp_linux -i run.in.min
23
#mpirun -np 4 lmp_linux -i run.in.nvt
24
# (assuming you have 4 processors available)