Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    PDL::Parallel::MPI 0.02

    Download button

    No screenshots available
    Downloads: 362  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Darin McGill | More programs
    Perl Artistic License / FREE
    July 7th, 2007, 15:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    PDL::Parallel::MPI description

    PDL::Parallel::MPI Perl module contains routines to allow PDL objects to be moved around on parallel systems using the MPI lib.

    PDL::Parallel::MPI Perl module contains routines to allow PDL objects to be moved around on parallel systems using the MPI library.

    SYNOPSIS

    use PDL;
    use PDL::Parallel::MPI;
    mpirun(2);

    MPI_Init();
    $rank = get_rank();
    $a=$rank * ones(2);
    print "my rank is $rank and $a is $an";
    $a->move( 1 => 0);
    print "my rank is $rank and $a is $an";
    MPI_Finalize();

    MPI STANDARD CALLS

    Most of the functions from the MPI standard may be used from this module on regular perl data. This is functionallity inherited from the Parallel::MPI module. Read the documentation for Parallel::MPI to see how to use.

    One may mix mpi calls on perl built-in-datatypes and mpi calls on piddles.

    use PDL;
    use PDL::Parallel::MPI;
    mpirun(2);

    MPI_Init();
    $rank = get_rank();
    $pi = 3.1;
    if ($rank == 0) {
    MPI_Send($pi,1,MPI_DOUBLE,1,0,MPI_COMM_WORLD);
    } else {
    $message = zeroes(1);
    $message->receive(0);
    print "pi is $messagen";
    }
    MPI_Finalize();

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    PDL routines | MPI library | Perl module | PDL::Parallel::MPI | PDL | routines

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM