Follow-up Comment #13, bug #38092 (project findutils): > Is there an easy way to make xargs process only every Nth argument [...]?
Even if there was, you would have to pass this "N" to xargs, and that would have to be done by the caller - mpirun. The problem is that you would like to have xargs to process every Nth argument on node A while xargs on node B should process every (N+1)th argument etc. I still got not much knowledge about mpirun - and I'm sorry that I don't have more time to dive into it -, but from quick reading thru a few docs like http://www.open-mpi.org/video/general/what-is-[open]-mpi-1up.pdf it is the job of rank 0 to distribute the data to the others. I think you're better off asking in the OpenMPI forum. Finally, IMO MPI won't make it into upstream xargs because the MPI stuff is usually linked dynamically into a program ... which will be a killer on 99.999% of all PCs it's used on. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?38092> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/