deleted "use mpi"
change nstart to 1, or nend to n, etc.