Parallel-Mpich-MPD
view release on metacpan or search on metacpan
if Parallel::Mpich::MPD::createJob(cmd => $cmd, params => $parms, $machinesfile => $hostsfile, alias => $alias1)){
my $job=Parallel::Mpich::MPD::findJob(jobalias => $alias, getone => 1);
$job->sig_kill() if defined $job;
}
DESCRIPTION
This *Parallel::Mpich::MPD*, a wrapper module for MPICH2 Process
Management toolkit from <http://www-unix.mcs.anl.gov/mpi/mpich2/>. The
wrapper include the following tools: basic configuration, mpdcheck,
mpdboot, mpdcleanup, mpdtrace, mpdringtest, mpdallexit, mpiexec,
mpdsigjob and mpdlistjobs.
boot(hosts => @hosts, machinesfile => $machines, checkOnly => 1|0,
output => \$output)
starts a set of mpd's on a list of machines. boot try to verify that
the hosts in the host file are up before attempting start mpds on
any of them.
rebootHost(host => $hostname)
restart mpd on the specified host. rebootHost will kill old mpds
before restarting a new one. The killed MPDS are filtered by
lib/Parallel/Mpich/MPD.pm view on Meta::CPAN
my $alias1=Parallel::Mpich::MPD::makealias();
if Parallel::Mpich::MPD::createJob(cmd => $cmd, params => $parms, $machinesfile => $hostsfile, alias => $alias1)){
my $job=Parallel::Mpich::MPD::findJob(jobalias => $alias, getone => 1);
$job->sig_kill() if defined $job;
}
=head1 DESCRIPTION
This I<Parallel::Mpich::MPD>, a wrapper module for MPICH2 Process Management toolkit from L<http://www-unix.mcs.anl.gov/mpi/mpich2/>.
The wrapper include the following tools: basic configuration, mpdcheck, mpdboot, mpdcleanup, mpdtrace,
mpdringtest, mpdallexit, mpiexec, mpdsigjob and mpdlistjobs.
=over 4
=item boot(hosts => @hosts, machinesfile => $machines, checkOnly => 1|0, output => \$output)
starts a set of mpd's on a list of machines. boot try to verify that the hosts in the host
file are up before attempting start mpds on any of them.
=item rebootHost(host => $hostname)
lib/Parallel/Mpich/MPD/Job.pm view on Meta::CPAN
my $this=shift;
my ($sigtype)=@_;
if (!defined($sigtype)){
printf STDERR "ERROR:".__PACKAGE__."::__sig() sigtype is not defined. \n";
return 0;
}
env_Init() unless defined(%env);
my $params;
$params="-j ".$this->jobid();
my $ret=Parallel::Mpich::MPD::Common::__exec(cmd => commandPath('mpdsigjob')." $sigtype $params");
return $ret==0;
}
#sub stop{
# my $this=shift;
# return $this->signal("SIGSTOP");
#}
#sub continue{
( run in 0.680 second using v1.01-cache-2.11-cpan-71847e10f99 )