Best idea is to ask the administrator of the HPC that you are using. When they installed/compiled GROMACS they would have set up the naming for the MPI enabled version.
Having said that, typically you will call and start the job on the cluster within the SLURM file using something like: srun gmx_mpi mdrun -deffnm md