NAME

Parallel::Mpich::MPD::Common - Mpich Common datas and fonctions

SYNOPSIS

DESCRIPTION

SEE ALSO

AUTHOR

Olivier Evalet, Alexandre Masselot, <alexandre.masselot at genebio.com>

EXPORT

$MPICH_HOME

mpich prefix (where it was installed). [default is empty, so mpich command shall be in the path]

FUNCTIONS

Environment

env_MpichHome([$val])

Get or set (if $val is defined) the Mpich home

env_Check

Check if mpd environment is correct

env_Print

print current environment

nbHostInMachinefile(machinesfile => $file)

return the nb hosts available on machinesfiles

commandPath($cmd)

prepend $MPICH_HOME/bin if $MPICH_HOME is defined and return the global command dstring

checkHosts(machinesfile => $machinesfile , hostsdown => \%hostsdown , hostsup =>\%hostsup)

check hosts from machinesfile.
- check hosts with a ping
- check that ssh publickey is well configured

cleanTemp

remove tmp files

__exec(cmd => $cmd, params => $params, [stdout=>\$stdout], [stderr=>\$stderr], [pid=>\$pid], [spawn=>$spawn=1])

extended exec that return the exit value and catch stds and pid.

BUGS

Please report any bugs or feature requests to bug-parallel-mpich-mpd at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Parallel-Mpich-MPD. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Parallel::Mpich::MPD

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2006 Olivier Evalet, Alexandre Masselot, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.