It is a common sight at the railway stations to see that people run to catch trains once they start leaving the platforms for their destination. Such a situation happens with many of the local/ passenger trains and also with some express and other trains.
From safety view point, this has to be avoided. Once the train begins to move, no passenger should be allowed to board the train. One option could be to stop issuing tickets for any train at least ten minutes before its scheduled departure timings. Such a measure would deter passengers to run to the platform to catch a train.
However, this measure may invite black marketers to buy tickets in advance for much sought after trains and sell it to those passengers who could not make it before the closing time of ticket sales. With the help of alert police force, black marketing of tickets could be discouraged.
Another option is to deploy enough police force on every platform, whose duty would be to stop any person trying to board a train once it is in motion. Also through public speaking microphone speakers, messages could be regularly broadcast to stop/discourage people from running to board trains.