Skip to content

Commit

Permalink
remove -append from GROMACS run options
Browse files Browse the repository at this point in the history
- fixes #126
- GROMACS 2020 does not allow starting a simulation with
  flag -append and throws an error
- update CHANGES
  • Loading branch information
orbeckst committed Jan 25, 2021
1 parent dcfebc9 commit 4a5e407
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ CHANGES for MDPOW
Add summary of changes for each release. Use ISO dates. Reference
GitHub issues numbers and PR numbers.

2019-xx-xx 0.7.0
2021-xx-xx 0.7.0
orbeckst

* renamed package to MDPOW
Expand All @@ -16,6 +16,11 @@ orbeckst
documented (#91, #88)
* fixed: buffering kwarg was removed from openany() so code is
compatible with GromacsWrapper >= 0.8.0 (#107)
* fixed: GROMACS 2020 fails with "Inconsistency in user input:
Could not do a restart with appending because the checkpoint file was not
found. Either supply the name of the right checkpoint file or do not use
-append": mdpow.run.runMD_or_exit() does not anymore add -append to GROMACS
invocation (#128)


2017-05-02 0.6.1
Expand Down
2 changes: 1 addition & 1 deletion mdpow/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def runMD_or_exit(S, protocol, params, cfg, **kwargs):
stepout=cfg.getint('mdrun','stepout'),
nice=cfg.getint('mdrun','nice'),
nt=cfg.get('mdrun','maxthreads'),
cpi=True, append=True)
cpi=True)
simulation_done = mdrun.run_check()
if not simulation_done:
# should probably stop
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ PDB=${DEFFNM}.pdb

MDRUN_OPTS=""

mpiexec -n $NCORES mdrun_mpi -nice 19 -v -deffnm ${DEFFNM} -c ${PDB} -cpi -append \
mpiexec -n $NCORES mdrun_mpi -nice 19 -v -deffnm ${DEFFNM} -c ${PDB} -cpi \
$MDRUN_OPTS >$OUTPUT 2>&1

Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ PDB=${DEFFNM}.pdb

MDRUN_OPTS=""

mpiexec -n $NCORES mdrun_mpi -nice 19 -v -deffnm ${DEFFNM} -c ${PDB} -cpi -append \
mpiexec -n $NCORES mdrun_mpi -nice 19 -v -deffnm ${DEFFNM} -c ${PDB} -cpi \
$MDRUN_OPTS >$OUTPUT 2>&1

0 comments on commit 4a5e407

Please sign in to comment.