From f6e66d9b6489389af6b404b39c6651cf5c737bbd Mon Sep 17 00:00:00 2001 From: Erik Lindahl Date: Tue, 12 Dec 2017 15:31:07 +0100 Subject: [PATCH] Require TPR file for gmx cluster The program crashes without it, so it wasn't optional. Fixes #2170. Change-Id: I63af728eea047dd4c3b11d890d507473109a7279 --- src/gromacs/gmxana/gmx_cluster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gromacs/gmxana/gmx_cluster.cpp b/src/gromacs/gmxana/gmx_cluster.cpp index 96cdf384ca..9e4838c5bd 100644 --- a/src/gromacs/gmxana/gmx_cluster.cpp +++ b/src/gromacs/gmxana/gmx_cluster.cpp @@ -1476,7 +1476,7 @@ int gmx_cluster(int argc, char *argv[]) }; t_filenm fnm[] = { { efTRX, "-f", nullptr, ffOPTRD }, - { efTPS, "-s", nullptr, ffOPTRD }, + { efTPS, "-s", nullptr, ffREAD }, { efNDX, nullptr, nullptr, ffOPTRD }, { efXPM, "-dm", "rmsd", ffOPTRD }, { efXPM, "-om", "rmsd-raw", ffWRITE }, -- 2.11.4.GIT