I was trying to optimize the number of cores to use while running WE iterations in GROMACS. while i was doing this, i removed the last two iterations from the logs and seg_trajs and when i tried to repeat these two runs, the west.log showed that the iterations are complete (without starting them again).
this is the west.cfg file:
# The master WEST configuration file for a simulation.
# vi: set filetype=yaml :
---
west:
system:
driver: westpa.core.systems.WESTSystem
system_options:
# Dimensionality of your progress coordinate
pcoord_ndim: 1
# Number of data points per iteration
# Needs to be pcoord_len >= 2 (minimum of parent, last frame) to work with most analysis tools
# number of frames outpputted from MD ENGINE
pcoord_len: 51
# Data type for your progress coordinate
pcoord_dtype: !!python/name:numpy.float32
bins:
type: RectilinearBinMapper
# The edges of the bins
boundaries:
- [ 0.00, 2.60, 2.80, 3.00, 3.20, 3.40, 3.60, 3.80,
4.00, 4.50, 5.00, 5.50, 6.00, 7.00, 8.0, 9.0, 10.0,
11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0, 20.0, 'inf']
# bins:
# type: RecursiveBinMapper
# base:
# type: RectilinearBinMapper
# boundaries:
# - [-inf, 0., 15., inf]
# mappers:
# - type: MABBinMapper
# nbins: [20]
# at: [0]
# Number walkers per bin
bin_target_counts: 2 # 24
propagation:
max_total_iterations: 16 # 50
max_run_wallclock: 240:00:00
propagator: executable
gen_istates: true
data:
west_data_file: west.h5
datasets:
- name: pcoord
scaleoffset: 4
data_refs:
iteration: $WEST_SIM_ROOT/traj_segs/iter_{n_iter:06d}.h5
segment: $WEST_SIM_ROOT/traj_segs/{segment.n_iter:06d}/{segment.seg_id:06d}
basis_state: $WEST_SIM_ROOT/bstates/{basis_state.auxref}
initial_state: $WEST_SIM_ROOT/istates/{initial_state.iter_created}/{initial_state.state_id}.xml
plugins:
executable:
environ:
PROPAGATION_DEBUG: 1
propagator:
executable: $WEST_SIM_ROOT/westpa_scripts/runseg.sh
stdout: $WEST_SIM_ROOT/seg_logs/{segment.n_iter:06d}-{segment.seg_id:06d}.log
stderr: stdout
stdin: null
cwd: null
environ:
SEG_DEBUG: 1
get_pcoord:
executable: $WEST_SIM_ROOT/westpa_scripts/get_pcoord.sh
stdout: $WEST_SIM_ROOT/get_pcoord.log
stderr: stdout
gen_istate:
executable: $WEST_SIM_ROOT/westpa_scripts/gen_istate.sh
stdout: /dev/null
stderr: stdout
post_iteration:
enabled: true
executable: $WEST_SIM_ROOT/westpa_scripts/post_iter.sh
stderr: stdout
pre_iteration:
enabled: false
executable: $WEST_SIM_ROOT/westpa_scripts/pre_iter.sh
stderr: stdout
# Settings for w_ipa, an interactive analysis program that can also automate analysis.
analysis:
directory: ANALYSIS # specify the directory all analysis files should exist in.
kinetics: # general options for both kinetics routines.
step_iter: 1
evolution: cumulative
extra: [ 'disable-correl' ]
analysis_schemes: # Analysis schemes. Required: name (TEST), states, and bins
TEST:
enabled: True
bins:
- type: RectilinearBinMapper
boundaries:
- [0.0,2.6,12.0,'inf']
states:
- label: bound
coords:
- [0]
- label: unbound
coords:
- [12.1]
the last two runs should have numbers 15 and 16, therefore the maximum number of iterations is set to 16.
also i am continuing from the 14 iteration.