Hi, This happens to me also for a long time and could not find any solution. There are no error messages coming when we execute the gmx distance. I ran the script multiple time to get a full set of distance data and execute the command separately for the missing one.