sparseallreduce scripts