| 1 |
# You would probably run lammps this way: |
| 2 |
# |
| 3 |
# lmp_ubuntu -i run.in.nvt |
| 4 |
|
| 5 |
# The files "run.in.min", and "run.in.nvt" are LAMMPS input scripts which refer |
| 6 |
# to the input scripts & data files you created earlier when you ran moltemplate |
| 7 |
# system.in.init, system.in.settings, system.data |
| 8 |
|
| 9 |
|
| 10 |
# ----------------------------------- |
| 11 |
|
| 12 |
LAMMPS_COMMAND="lmp_mpi" |
| 13 |
|
| 14 |
# Here "$LAMMPS_BINARY" is the name of the command you use to invoke lammps |
| 15 |
# (such as lmp_ubuntu, lmp_mac_mpi, lmp_cygwin etc...). Change if necessary. |
| 16 |
|
| 17 |
# Run lammps using the following 3 commands: |
| 18 |
|
| 19 |
"$LAMMPS_COMMAND" -i run.in.min # minimize (OPTIONAL) |
| 20 |
"$LAMMPS_COMMAND" -i run_short_sim.in.nvt # production run |
| 21 |
|