| 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 and PACKMOL: |
| 6 |
# system.in.init, system.in.settings, system.in.coords, system.data, |
| 7 |
# and table_int.dat |
| 8 |
# If not, carry out the instructions in "README_setup.sh". |
| 9 |
# |
| 10 |
# -- Instructions: -- |
| 11 |
# Assuming "lmp_mpi" is the name of the LAMMPS binary, |
| 12 |
# run lammps in this order: |
| 13 |
|
| 14 |
lmp_serial -i run.in.min # Minimize the system (important and very slow) |
| 15 |
|
| 16 |
lmp_serial -i run.in.make_uniform # Trap the lipids between concentric |
| 17 |
# spherical shells and equilibrate. This insures |
| 18 |
# that the lipids are distributed uniformly |
| 19 |
# on the spherical surface. (Unfortunately, |
| 20 |
# PACKMOL does not guarantee this.) |
| 21 |
|
| 22 |
lmp_serial -i run_T=345K.in # Let the vesicle relax and equilibrate. |
| 23 |
# (Temperature was chosen to avoid the membrane |
| 24 |
# gel phase which occurs with this model in |
| 25 |
# vesicles of this size.) |
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
#If you have compiled the MPI version of lammps, you can run lammps in parallel |
| 30 |
# mpirun -np 16 lmp_mpi -i run.in.min |
| 31 |
# or |
| 32 |
# mpirun -np 16 lmp_mpi -i run.in.nvt |
| 33 |
# (assuming you have 16 processors available) |