On Tue, May 20, 2003 at 09:48:15AM -0400, Jeff Squyres wrote:
>On Tue, 20 May 2003, Jerome BENOIT wrote:
>> [ nice -n 15 lamboot <lamboot_args> ],
>> the processes running on the original node inherit the priority, but the
>> processes running on the other nodes get the normal priority. This
>
>As a workaround, you might want to simply add a command line parameter or
>environment variable to your MPI executables and nice(2) that value.
the easiest way I've found is to write a script like:
-------
#!/bin/sh
renice 19 $$
exec myProgram $*
-------
and then to 'mpirun C myScript < input' or whatever... you get the idea.
cheers,
robin
|