debug code for azMPI