added code to support multiple GPUs per node by using multiple MPI
processes per node