| 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 |
# To check for missing angle,dihedral params run moltemplate this way instead: |
| 11 |
# moltemplate.sh -checkff system.lt |
| 12 |
|
| 13 |
|
| 14 |
# Moltemplate generates various files with names ending in *.in* and *.data. |
| 15 |
# Move them to the directory where you plan to run LAMMPS (in this case "../") |
| 16 |
mv -f system.data system.in* ../ |
| 17 |
|
| 18 |
# Optional: Move the "log.cite" file (containing links to relevant papers). |
| 19 |
mv -f log.cite* ../ |
| 20 |
|
| 21 |
# Optional: |
| 22 |
# The "./output_ttree/" directory is full of temporary files generated by |
| 23 |
# moltemplate. They can be useful for debugging, but are usually thrown away. |
| 24 |
rm -rf output_ttree/ |
| 25 |
|
| 26 |
cd ../ |
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
# Optional: |
| 32 |
# Note: The system.data and system.in.settings files contain extra information |
| 33 |
# for atoms defined in OPLSAA which you are not using in this simulation. |
| 34 |
# This is harmless, but if you to delete this information from your |
| 35 |
# system.in.settings and system.in.data files, run this script: |
| 36 |
# |
| 37 |
# cleanup_moltemplate.sh |