[MPICH] start mpd if it has not started
Reuti
reuti at staff.uni-marburg.de
Wed Aug 3 12:22:50 CDT 2005
Hi Raju,
if you use some scripts anyway, what about using a queuing system like
Torque and use mpiexec from http://www.osc.edu/~pw/mpiexec or SGE which
will start the daemon on it's own for each job (okay, not the mpd
version but the smpd)? As a side effect this might shorten your scripts.
Cheers - Reuti
Kamaraju Kusumanchi wrote:
> I can use mpd& to initialize the process management and use mpdallexit
> to close it.
>
> But, I would like to have something like "start mpd only if it has not
> already been started". Can I do this with current mpich2? By default
> mpd is giving the following error when there is already another
> instance of it running.
>
> $mpd &
> [2] 8055
>
> $An mpd is already running with console at /tmp/mpd2.console_rajulocal
> on kusumanchi.
> Start mpd with the -n option for second mpd on same host.
>
> [2]+ Exit 255 mpd
>
> This is very inconvenient for scripting (I can always direct the error
> messages to /dev/null but that is not very elegant).
>
> raju
>
More information about the mpich-discuss
mailing list