Debian Codegraph @

examples/all_atom/force_field_AMBER/ethylene+benzene/README_run.sh

raw
1 # --- Running LAMMPS ---
2 # -------- REQUIREMENTS: ---------
3 # This example requires building LAMMPS with the "EXTRA-MOLECULE" package.
4 # (because it makes use of "gaff2.lt" which uses dihedral_style fourier).
5 # If you encounter the error *"Invalid dihedral_style"*, then this page:
6 # https://docs.lammps.org/Build_package.html
7 # for instructions to compile LAMMPS to support this package.
8 # -------- PREREQUISITES: --------
9 # The 2 files "run.in.npt", and "run.in.nvt" are LAMMPS
10 # input scripts which link to the input scripts and data files
11 # you hopefully have created earlier with moltemplate.sh:
12 # system.in.init, system.in.settings, system.data
13 # If not, carry out the instructions in "README_setup.sh".
14 #
15 # -- Instructions: --
16 # If "lmp_mpi" is the name of the command you use to invoke lammps,
17 # then you would run lammps on these files this way:
18
19
20 lmp_mpi -i run.in.npt # minimization and simulation at constant pressure
21 lmp_mpi -i run.in.nvt # simulation at constant volume
22
23 #(Note: The constant volume simulation lacks pressure equilibration. These are
24 # completely separate simulations. The results of the constant pressure
25 # simulation might be ignored when beginning the simulation at constant
26 # volume. (This is because restart files in LAMMPS don't always work,
27 # and I was spending a lot of time trying to convince people it was a
28 # LAMMPS bug, instead of a moltemplate bug, so I disabled restart files.)
29 # Read the "run.in.nvt" file to find out how to use the "read_restart"
30 # command to load the results of the pressure-equilibration simulation,
31 # before beginning a constant-volume run.
32
33
34
35
36
37 # If you have compiled the MPI version of lammps, you can run lammps in parallel
38 #mpirun -np 4 lmp_mpi -i run.in.npt
39 #mpirun -np 4 lmp_mpi -i run.in.nvt
40 # (assuming you have 4 processors available)