matrix multiplication using MPI C

This is a discussion on matrix multiplication using MPI C within the C Programming forums, part of the General Programming Boards category; hi everyone, i am a CS undergraduate currently in my last semester and doing Parallel Processing.i have this one particular ...

  1. #1
    Registered User
    Join Date
    Apr 2006
    Posts
    13

    Unhappy matrix multiplication using MPI C

    hi everyone,

    i am a CS undergraduate currently in my last semester and doing Parallel Processing.i have this one particular project on matrix multiplication using MPI C.i have written the code to generate 2 matrixes - matrix A and B using a multi-dimensional array and rand() function to generate random numbers for the elements of the matrix (numbers 1-9).

    the output i get is somehow correct.but my slave processors are not working.my lecturer told me that there is a bug in the program logic.please help me to correct this error.i have tried many times.still confused.i have pasted my code and screen capture below...my program doesn't work properly if the number of processors are increased from 3 to higher number of processors...tensed...!very tensed...
    -----------------------------------------------------------------------------------------------------------------------
    Attached Images Attached Images  
    Attached Files Attached Files

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. *operator overloading: scalar matrix multiplication
    By gemini_shooter in forum C++ Programming
    Replies: 4
    Last Post: 06-08-2009, 01:14 PM
  2. MPI matrix multiplication..
    By cromologic in forum C Programming
    Replies: 1
    Last Post: 04-29-2008, 11:45 AM
  3. Matrix Help
    By HelpmeMark in forum C++ Programming
    Replies: 27
    Last Post: 03-06-2008, 04:57 PM
  4. What is a matrix's purpose in OpenGL
    By jimboob in forum Game Programming
    Replies: 5
    Last Post: 11-13-2004, 11:19 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21