biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
More clear message for undefined pullgroups.
[alexxy/gromacs.git]
/
src
/
kernel
/
readpull.c
diff --git
a/src/kernel/readpull.c
b/src/kernel/readpull.c
index 9e2b9f5fcf57952f68f27723c24821491107c38b..16c06762809ba4f459b9e2dee237f03cd7fa6702 100644
(file)
--- a/
src/kernel/readpull.c
+++ b/
src/kernel/readpull.c
@@
-258,6
+258,10
@@
void make_pull_groups(t_pull *pull, char **pgnames, t_blocka *grps, char **gname
{
pgrp->nat = 0;
}
+ else if (g != 0 && strcmp(pgnames[g], "") == 0)
+ {
+ gmx_fatal(FARGS, "Group pull_group%d required by grompp was undefined.",g);
+ }
else
{
ig = search_string(pgnames[g], grps->nr, gnames);