-
Notifications
You must be signed in to change notification settings - Fork 12
/
cg.wic
47 lines (46 loc) · 1.43 KB
/
cg.wic
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
steps:
grompp:
in:
config: !ii
mdp:
integrator: cg
define: -DFLEXIBLE # Defines a flexible water model if it exists in the system
# https://manual.gromacs.org/current/reference-manual/algorithms/energy-minimization.html#conjugate-gradient
rvdw: 1.4
rcoulomb: 1.4
#coulombtype: PME
nsteps: 1000
emstep: 0.01
emtol: 10
nstxout: 100
nstenergy: 1
mdrun:
in:
nb_terms: !ii cpu # NOTE: Workaround for a bug in gromacs 2022.2, fixed in 2022.3
# https://manual.gromacs.org/current/release-notes/2022/2022.3.html#energy-minimization-would-not-converge-with-gpu-and-without-dd
bonded_terms: !ii cpu # GPU implementation IS supported for md integrator, is NOT supported for sd integrator, etc.
pme_terms: !ii cpu
pme_fft_terms: !ii cpu
update_terms: !ii cpu
gmx_energy:
in:
config: !ii
terms: [Potential]
output_xvg_path: !ii energy_min_cg.xvg
wic:
graphviz:
label: Conjugate\nGradient
steps:
(1, grompp):
wic:
graphviz:
label: 'Update\nTopology'
(2, mdrun):
wic:
namespace: gpu # To run MD on GPU
graphviz:
label: 'Energy\nMinimization'
(3, gmx_energy):
wic:
graphviz:
label: 'Analyze & Plot\nPotential Energy\nTimeseries'