I'm guessing people might have all sorts of ideas about how they would
want to solve "a problem like this one".
Ralph Castain wrote:
Afraid not - though you could alias your program name to be "nice --10 prog"
Is there an OMPI wish list? If so, can we please add to it "a method
to tell mpirun what nice values to use when it starts programs on
nodes"? Minimally, something like this:
--nice 12 #nice value used on all nodes
--mnice 5 #nice value for master (first) node
--wnice 10 #nice value for worker (worker) nodes
For my purposes that would be enough, as the only distinction is
master/worker. For more complex environments more flexibility might be
desired, for instance, in a large cluster, where a subset of nodes
integrate data from worker subsets, effectively acting as "local masters".
Obviously for platforms without nice mpirun would try to use whatever
priority scheme was available, and failing that, just run the program as
it does now.
Or are we the only site where quick high priority jobs must run on the
same nodes where long term low priority jobs are also running?