Debian Codegraph @

examples/all_atom/force_field_OPLSAA/waterTIP5P+ethanol/README_run.sh

raw
1 # --- Running LAMMPS ---
2 # -- Prerequisites: --
3 # The 2 files "run.in.min", and "run.in.npt" are LAMMPS
4 # input scripts which link 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
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 # minimization
15 lmp_mpi -i run.in.npt # simulation at constant pressure
16 lmp_mpi -i run.in.nvt # simulation at constant volume
17
18
19 # If you have compiled the MPI version of lammps, you can run lammps in parallel
20 #mpirun -np 4 lmp_mpi -i run.in.min
21 #mpirun -np 4 lmp_mpi -i run.in.npt
22 #mpirun -np 4 lmp_mpi -i run.in.nvt
23 # (assuming you have 4 processors available)