grompp: fix the -ref <file> option
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / grompp.cpp
index f95384d1f818a9dc8f43428aab24462b175295b2..06185c4d4461dae33cb45e0e818f785b2fca415d 100644 (file)
@@ -1789,7 +1789,7 @@ int gmx_grompp(int argc, char* argv[])
                        { efEDR, "-e", nullptr, ffOPTRD },
                        /* This group is needed by the VMD viewer as the start configuration for IMD sessions: */
                        { efGRO, "-imd", "imdgroup", ffOPTWR },
-                       { efTRN, "-ref", "rotref", ffOPTRW } };
+                       { efTRN, "-ref", "rotref", ffOPTRW | ffALLOW_MISSING } };
 #define NFILE asize(fnm)
 
     /* Command line options */