No, kartikay I want to extend the simulation from 1ns to 2ns... Justin and thirumal are right... After changing the little bit of syntax it works for me...
i didn`t read justin`s comment, but u can change the simulation running time by changing the nstep value from md.mdp file and it will also work, i have done it by myself that why i suggested you to do that.