X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Fgromacs%2Fgmxlib%2Fmain.cpp;h=dffa2ad7d88ee45b08ad5eff0fcde02732cbf111;hb=b2b75d45c43c98cf1362e0125381bfc6f0a85782;hp=799a41fa5ab2edbb75128e569797e2d2353255c9;hpb=cb466e44535ac45f2ee8341dcae39207b5813abe;p=alexxy%2Fgromacs.git diff --git a/src/gromacs/gmxlib/main.cpp b/src/gromacs/gmxlib/main.cpp index 799a41fa5a..dffa2ad7d8 100644 --- a/src/gromacs/gmxlib/main.cpp +++ b/src/gromacs/gmxlib/main.cpp @@ -101,7 +101,7 @@ static void par_fn(char *base, int ftp, const t_commrec *cr, strcat(buf, "."); /* Add extension again */ - strcat(buf, (ftp == efTPX) ? "tpr" : (ftp == efEDR) ? "edr" : ftp2ext(ftp)); + strcat(buf, (ftp == efTPR) ? "tpr" : (ftp == efEDR) ? "edr" : ftp2ext(ftp)); if (debug) { fprintf(debug, "rank %d par_fn '%s'\n", cr->nodeid, buf); @@ -396,7 +396,7 @@ void init_multisystem(t_commrec *cr, int nsim, char **multidirs, * at the actual file name */ if (is_output(&fnm[i]) || - fnm[i].ftp == efTPX || fnm[i].ftp == efCPT || + fnm[i].ftp == efTPR || fnm[i].ftp == efCPT || strcmp(fnm[i].opt, "-rerun") == 0) { ftp = fn2ftp(fnm[i].fns[0]);