running mpi_scan