Name : perl-Parallel-Mpich-MPD
| |
Version : 0.9.3
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 44.2
| Date : 2015-06-11 02:24:35
|
Group : Development/Libraries/Perl
| Source RPM : perl-Parallel-Mpich-MPD-0.9.3-44.2.src.rpm
|
Size : 0.06 MB
| |
Packager : (none)
| |
Summary : Mpich MPD wrapper
|
Description :
This _Parallel::Mpich::MPD_, a wrapper module for MPICH2 Process Management toolkit from the http://www-unix.mcs.anl.gov/mpi/mpich2/ manpage. The wrapper include the following tools: basic configuration, mpdcheck, mpdboot, mpdcleanup, mpdtrace, mpdringtest, mpdallexit, mpiexec, mpdsigjob and mpdlistjobs.
* boot(hosts => AATThosts, 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 specific port and host.
* check(machinesfile => $file, hostsup => \\%hosts, hostsdown => \\%hostsdown , reboot => 1)
Check if MPD master and nodes are well up. If MPD master is down it try to ping and ssh machines. If you use the option reboot, check will try to restart mpd on specified machines or to reboot the master.
* info( )
return an %info of the master with the following keys (master, hostname, port)
* validateMachinesfile(machinefiles => $filename)
check with mpdtrace if all machines specified by filename are up. If not, a temporary file is created with the resized machinesfile
* shutdown( )
causes all mpds in the ring to exit
* createJob({cmd => $cmd , machinesfile=> $filename, [params => $params], [ncpu => $ncpu], [alias => $alias])
start a new job with the command line and his params. It return true if ok. WARNING ncpu could be redefined if mpdtrace return à small hosts list
Example:
Parallel::Mpich::MPD::createJob(cmd => $cmd, params => $parms, ncpu => \'3\', alias => \'job1\');
* listJobs([mpdlistjobs_contents=>$str])
Return an Parallel::Mpich::MPD::Job array for all available jobs If mpdlistjobs_contents argument is present, the code will not call mpdlistjobs but take the parameter as a fake results of this command
* findJob([%criteria][, return=>(getone|host2pidlist))
find a job from crtiteria. It return a Job instance or undef for no match
* Criteria can be of
* username=>\'somename\' or username=>\\AATTarrayOfNames
* jobid=>\'somename\' or jobid=>\\AATTarrayOfJobid
* jobalias=>\'somename\' or jobalias=>\\AATTarrayOfJobalias
To set an array of names;
$criteria{psid} [&& $criteria{rank}] You can select psid from the specified rank. $criteria{reloadlist} force the call of listjobs
return value By default (no return=>... argument), returned value will be a hash (or a hash ref, depending on context), {jobid1=>$job1, jobid2=>job2,...}
* return=>\'getone\'
Will force to return the one job matching, or undef if none or error if many.
* return=>\'host2pidlist\'
return a hash (or a ref to this hash, depending on context), host=>\\AATTpidlist
Examples
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-P/openSUSE_Tumbleweed/noarch |