[mpich-discuss] How to give a job alias with mpiexec
Ralph Butler
rbutler at mtsu.edu
Wed Jan 7 12:57:51 CST 2009
Running:
mpiexec -h (or mpiexec --help)
produces several lines of output including:
-a # means assign this alias to the job
Below is an example. It first runs the job via mpiexec and then shows
the
alias present in output of mpdlistjobs. Note the use of redirection
of stdin
from /dev/null since mpiexec is run in the background.
$ mpiexec -l -a foo -n 2 sleep 11 < /dev/null &
$ mpdlistjobs
jobid = 2 at bp400_2000
jobalias = foo
username = rbutler
host = bp400
pid = 5386
sid = 5385
rank = 0
pgm = sleep
jobid = 2 at bp400_2000
jobalias = foo
username = rbutler
host = bp404
pid = 5545
sid = 5541
rank = 1
pgm = sleep
On WedJan 7, at Wed Jan 7 1:06AM, Waruna Ranasinghe wrote:
> Hi,
> I want to give a alias for each job I run from mpiexec.
> Please let me know how to do it.
>
> Regards,
> Waruna Ranasinghe
> University of Moratuwa
> Sri Lanka.
>
More information about the mpich-discuss
mailing list