Debian Codegraph @

examples/coarse_grained/membrane_examples/membrane_Cooke_Kremer_DesernoPRE2005/README_run.sh

raw
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
15 lmp_mpi -i run.in.npt # run a simulation at constant pressure (tension)
16 lmp_mpi -i run.in.nvt # run a simulation at constant volume
17
18
19
20 # If you have compiled the MPI version of lammps, you can run lammps in parallel
21 #mpiexec -np 4 lmp_mpi -i run.in.min
22 #mpiexec -np 4 lmp_mpi -i run.in.nvt
23 #mpiexec -np 4 lmp_mpi -i run.in.npt
24 # (assuming you have 4 processors available)