Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
euhruska committed Feb 21, 2022
1 parent c4fbf71 commit 98c44d2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion autosolvate/GUI/tk_autosolvate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1044,7 +1044,7 @@ def set_QMMMeqNVTSteps():
### set number of steps for QMMM NVE production run steps


self.lblQMMMNVESteps = Label(self.master, text="QMMM NVE steps", width=colwidth[0])#,foreground='blue')
self.lblQMMMNVESteps = Label(self.master, text="QM/MM NVE steps", width=colwidth[0])#,foreground='blue')
self.lblQMMMNVESteps.grid(column=0, row=self.irow, sticky=W, padx=self.padx)

self.txtQMMMNVESteps = Entry(self.master)
Expand Down
3 changes: 2 additions & 1 deletion autosolvate/generatetrajs.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def writeQMMMMinInput(stepsqmmmmin=250):
Result stored qmmmmin.in
"""
f = open("qmmmmin.in","w")
f.write("gpr QMMM heat\n")
f.write("gpr QMMM Min\n")
f.write(" &cntrl\n")
f.write(" imin = 0,\n")
f.write(" irest = 0, ! 0- new simulation 1- restart\n")
Expand Down Expand Up @@ -526,6 +526,7 @@ def startmd(argumentList):
srun_use=False
temperature=300
pressure=1
stepsmmmin=2000
stepsmmheat=10000
stepsmmnve=0
stepsmmnpt=300000
Expand Down
6 changes: 3 additions & 3 deletions docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -179,15 +179,15 @@ The second step is running molecular dynamics, which includes equilibration and

To do a short example run of QM/MM use the following command:

``autosolvate mdrun -f water_solvated -q 0 -u 1 -t 300 -p 1 -m 10000 -n 10000 -o 100 -s 100 -l 10 -r "True"``
``autosolvate mdrun -f water_solvated -q 0 -u 1 -t 300 -p 1 -m 10000 -n 10000 -o 100 -s 100 -l 250 -r "True"``

The mdrun command has several more options than the previous one, but the only required options are filename, charge, and multiplicity (the first three in the command above). Note that this command will run both MM and QMMM. By default, the calculations will proceed in the order MM min > MM heat > MM NPT > QMMM min > QMMM heat > QMMM NVT. Any of these can be skipped by setting the number of steps to 0 ( -m, -n, -l, -o, -s).

If AutoSolvate is running successfully, the following messages will be printed to your screen::

AutoSolvate is starting in command line mode!
Running the module to automatically run MD simulations of solvated structure.
['-f', 'water_solvated', '-q', '0', '-u', '1', '-t', '300', '-p', '1', '-m', '10000', '-n', '10000', '-o', '100', '-s', '100', '-l', '10', '-r', 'True']
['-f', 'water_solvated', '-q', '0', '-u', '1', '-t', '300', '-p', '1', '-m', '10000', '-n', '10000', '-o', '100', '-s', '100', '-l', '250', '-r', 'True']
Filename: water_solvated
Charge: 0
Spinmultiplicity: 1
Expand Down Expand Up @@ -253,7 +253,7 @@ The default mdrun will have the following settings:
+-----------+-----------------------+------------+
| QMMM min |250 steps | -l |
+-----------+-----------------------+------------+
| QMMM heat |1000 steps | -o |
| QMMM heat |1000 steps | -o |
+-----------+-----------------------+------------+
| QMMM NVT |10000 steps | -s |
+-----------+-----------------------+------------+
Expand Down

0 comments on commit 98c44d2

Please sign in to comment.