| 1 |
# --- Running LAMMPS --- |
| 2 |
# -- Prerequisites: -- |
| 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, and table_int.dat |
| 7 |
# If not, carry out the instructions in "README_setup.sh". |
| 8 |
# |
| 9 |
# -- Instructions: -- |
| 10 |
# If "lmp_mpi" 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_mpi -i run.in.min # minimize the system before running a simulation |
| 15 |
lmp_mpi -i run.in.npt # run a simulation at constant pressure (tension) |
| 16 |
|
| 17 |
|
| 18 |
# If you have compiled the MPI version of lammps, you can run lammps in parallel |
| 19 |
#mpiexec -np 4 lmp_mpi -i run.in.min |
| 20 |
#mpiexec -np 4 lmp_mpi -i run.in.npt |
| 21 |
# (assuming you have 4 processors available) |