just to sum up as we talked about this offline:
Sometimes we have more than one GROMACS in our computer or cluster... if you run your system using certain GROMACS and that GROMACS is not in the PATH, you could use the variable "gmx_path" under the &general namelist of the
mmpbsa.in input file to specify the GROMACS you wanna use with gmx_MMPBSA... This is one of the main advantages of gmx_MMPBSA, the independence of the GROMACS version... the input file should be something like this:
&general
sys_name="my_system",
verbose=2, forcefields="oldff/leaprc.ff99SBildn",leaprc.gaff"
gmx_path="/home/programs/gromacs/bin"/
&gb
igb=5, saltcon=0.150
/
replace this
"/home/programs/gromacs/bin" for the path to the GROMACS you want to use.