Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: Prakash Velayutham (prakash.velayutham_at_[hidden])
Date: 2006-09-15 11:28:18


AFAIK, both those modules work with MPI standard API and not others. The
MPI::Simple I mentioned is actually Parallel::MPI::Simple. Both
Parallel::MPI and Parallel::MPI::Simple are available from CPAN.

Prakash

imran shaik wrote:
> Hi Prakash,
> Do i need MPI runtime environment for sure to ue those perl modules??
> Cant i use some other clustring software.?
> Where can i get MPI::Simple??
>
> Imran
>
> >Hello,
>
> >My users use Parallel::MPI and MPI::Simple perl modules consistently
> >without issues. But I am not sure of the support for MPI-2 standard with
> >either of these modules. Is there someone here that can answer that
> >question too? Also those modules seem to work only with MPICH now and
> >not the other MPI distributions.
>
> Prakash Velayutham <prakash.velayutham_at_[hidden]> wrote: Renato Golin wrote:
>
>> On 9/13/06, imran shaik wrote:
>>
>>> I need to run parallel jobs on a cluster typically of size 600 nodes and
>>> running SGE, but the programmers are good at perl but not C or C++. So i
>>> thought of MPI, but i dont know whether it has perl support?
>>>
>> Hi Imran,
>>
>> SGE will dispatch process among the nodes of your cluster but it does
>> not support interprocess communication, which MPI does. If your
>> problem is easily splittable (like parse a large apache log, read a
>> large xml list of things) you might be able to split the data and
>> spawn as many process as you can.
>>
>> I do it using LSF (another dispatcher) and a Makefile that controls
>> the dependencies and spawn the processes (using make's -j flag) and it
>> works quite well. But if your job need the communication (like
>> processing big matrices, collecting and distributing data among
>> processes etc) you'll need an interprocess communication and that's
>> what MPI is best at.
>>
>> In a nutshell, you'll need the runtime environment to run MPI programs
>> as well as you need SGE's runtime environments on every node to
>> dispatch jobs and collect information.
>>
>> About MPI bindings for Perl, there's this module:
>> http://search.cpan.org/~josh/Parallel-MPI-0.03/MPI.pm
>>
>> but it's far too young to be trustworthy, IMHO, and you'll probably
>> need the MPI runtime on all nodes as well...
>>
>> cheers,
>> --renato
>>
> Hello,
>
> My users use Parallel::MPI and MPI::Simple perl modules consistently
> without issues. But I am not sure of the support for MPI-2 standard with
> either of these modules. Is there someone here that can answer that
> question too? Also those modules seem to work only with MPICH now and
> not the other MPI distributions.
>
> Prakash