order of assign MPI_rank to nodes

Pete Wyckoff pw at osc.edu
Thu Dec 2 14:25:48 EST 2004


f.paladin at cineca.it wrote on Thu, 02 Dec 2004 19:19 +0100:
> On this point, I have just done some tests with some stupid mpi program
> (myrank), but it seems not work: indipentently of the order of the conf
> file, the rank seems to be assigned respecting the order of
> $PBS_NODEFILE.

You are absolutely correct.  My apologies for leading you astray on
that point.  One can use the -config file option to change what the
tasks do, but the MPI order of tasks remains fixed as prescribed by
PBS.  (But, if you leave one out, the ranks of the others decrease
so there are no gaps.)  To change mpiexec to do otherwise would be
possible, but not trivial.

I hope you can use your original Case A to run both tasks in the same
PBS job instead.

Another sign of impending old age...

		-- Pete



More information about the mpiexec mailing list