Debian Codegraph @

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

raw
1
2 # Create LAMMPS input files this way:
3 cd moltemplate_files
4
5 # run moltemplate
6
7 moltemplate.sh system.lt
8
9 # --- OPTIONAL: ---
10 # You can also check for missing angle,dihedral params this way:
11 # moltemplate.sh -checkff system.lt
12 #
13 # You can also check for alternative possible OPLSAA parameters this way:
14 # moltemplate.sh system.lt -report-duplicates bytype __
15 # This will check to make sure that there was no ambiguity in the OPLSAA
16 # force-field parameters. Unfortunately, if you do that, moltemplate
17 # will create a "warning_duplicate_dihedrals.txt" which often contains
18 # more spurious warnings than you could possibly hope to read. Most
19 # OPLSAA molecule builder programs do not warn you about these ambiguities.
20 # Moltemplate does warn you, but in my experience, it's often not worth the
21 # trouble to worry about them. Just use: "moltemplate.sh system.lt"
22 # --- OPTIONAL: ---
23
24
25 # Moltemplate generates various files with names ending in *.in* and *.data.
26 # Move them to the directory where you plan to run LAMMPS (in this case "../")
27 mv -f system.data system.in* ../
28
29 # Optional:
30 # The "./output_ttree/" directory is full of temporary files generated by
31 # moltemplate. They can be useful for debugging, but are usually thrown away.
32 rm -rf output_ttree/
33
34 # Optional:
35 rm -f run.in.EXAMPLE # not needed. We have several run.in... files already.
36
37 # Optional:
38 # If any warnings were generated, move them to the parent folder
39 # (so they get noticed).
40 mv -f warning*.txt ../ 2> /dev/null
41
42 cd ../
43
44
45
46
47 # Optional:
48 # Note: The system.data and system.in.settings files contain extra information
49 # for atoms defined in OPLSAA which you are not using in this simulation.
50 # This is harmless, but if you to delete this information from your
51 # system.in.settings and system.in.data files, run this script:
52 #
53 # cleanup_moltemplate.sh