The energy of system can be minimized with the help of em.mdp file. The em.mdp file is given below.
; Parameters describing what to do, when to stop and what to save are given below.
; Parameters describing how to find the neighbors of each atom and how to calculate the interactions