I just start to learn how to perform the enhanced sampling with Hamiltonian replica exchange. The tutorial on the official website (
https://www.plumed.org/doc-v2.7/user-doc/html/hrex.html) provides this sample command to start the simulation after the .tpr files for all the replicas are generated:
mpirun -np $nrep gmx_mpi mdrun_d -v -plumed plumed.dat -multi $nrep -replex 100 -nsteps 15000000 -hrex -dlb no
But the flag "-multi" has been eliminated in the recent versions of GROMACS, and only the option "-multidir" is available. I am not 100% sure how to use it for HREX. I guess that, for example, if I have five replicas, should I create five sub-directories d1, d2, d3, d4, and d5, and place the five .tpr files inside correspondingly? And in the command above, should I just replace "-multi $nrep" with "-multidir d1 d2 d3 d4 d5"?
Another question is how to generate the .tpr file for each replica at different temperatures. In a normal MD simulation, the basic process is minimization, equilibration, and final MD. I guess that the file "processed.top" should be created using "grompp -pp" after equilibration, is that correct? The five temperatures in the tutorial from the link above are 300, 405.36, 547.723, 740.083, and 1000K. Should the equilibration be performed at these different temperatures? Or should I run the equilibration just at 300K and apply the various temperatures (in terms of scale) when using the partial_tempering tool?
I am confused about the description on the website. Could anyone who has done the relevant simulations (especially REST2) kindly share the basic procedure (it would be awesome if you can provide the commands and input files as well)?
Thanks in advance