added parts per rank command line flag