Thread: matrix multipilation with mpi

  1. #1
    Registered User
    Join Date
    Dec 2010
    Posts
    11

    Question matrix multipilation with mpi

    The objective of the project is to perform matrix multiplication using the parallel computing
    frameworks : MPI
    File Formats
    The program must be standard as follows:
    • There are two input files. File 1 contains matrix 1, file 2 contains matrix 2. There is one output
    file, containing the output matrix.
    • Each of these files follows a standard format: At the beginning of the file there is the size of the
    square matrix, followed by a tab, then all the matrix elements row by row separated by a tab.
    Example:
    This matrix:
    1.1 2.3 4.5
    8.0 9 4. 4
    2.5 7.0 6.8
    should be saved in a file as follows:
    3 1.1 2.3 4.5 8.0 9 4.4 2.5 7.0 6.8


    i have the source code of (matrix multipilation with mpi ) it run very good with static matrices (2d arrays with fixed size),but i want the array of matrix is dynamic , plz i want in codeing , the code of static matrices attached




    Code:
    http://www.mediafire.com/?9ffbax294dh192i

  2. #2
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    So, in what way is this different than...

    matrix multipilation with mpi

    From the c++ board?

  3. #3
    Registered User
    Join Date
    Dec 2010
    Posts
    11
    yes , there is no difference between them, please can any one help me in code i am a beginner in mpi and want any one to help me in coding please help me.

  4. #4
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Have a little patience... This doesn't really belong in the C section. I'm sure you'll get answers in the C++ thread.

  5. #5
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,666
    Closed - see other thread.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. matrix multipilation with mpi
    By ahmed eltaher in forum C++ Programming
    Replies: 8
    Last Post: 12-30-2010, 09:19 AM
  2. Sorting Matrix
    By alex 2010 in forum C++ Programming
    Replies: 0
    Last Post: 06-24-2010, 09:40 AM
  3. Matrix Help
    By HelpmeMark in forum C++ Programming
    Replies: 27
    Last Post: 03-06-2008, 05:57 PM
  4. What is a matrix's purpose in OpenGL
    By jimboob in forum Game Programming
    Replies: 5
    Last Post: 11-14-2004, 12:19 AM