Search:

Type: Posts; User: mpi_beginner

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    16,015

    Thanks for the info. It works now with dynamic...

    Thanks for the info. It works now with dynamic allocation.

    Just a question out of interest: Isnt it more than 2MB?
  2. Replies
    11
    Views
    16,015

    largest integer in c

    Hi,

    I was trying to execute the following code which was given in an instruction.
    However, the program crashes every time I try to execute it.



    #include <stdio.h>
    #include <stdlib.h>
  3. Replies
    8
    Views
    4,330

    Sorry about that. Those are the error message...

    Sorry about that.
    Those are the error message that I get when I try to run the code:

    *** An error occurred in MPI_Recv
    *** on communicator MPI_COMM_WORLD
    *** MPI_ERR_TRUNCATE: message...
  4. Replies
    8
    Views
    4,330

    when i run the code i get errors with the recv...

    when i run the code i get errors with the recv functions. I am not sure if i am using them in the correct way.

    the function header for the methods are:



    int MPI Send(void *buf, int count,...
  5. Replies
    8
    Views
    4,330

    Basically, let's say if I have 5 "slaves" and...

    Basically, let's say if I have 5 "slaves" and numbers from 1-20.
    The master will send 5 chunks to each slave.
    E.g. the first slave will get the numbers 1,2,3,4, the second slave the numbers 5,6,7,8...
  6. Replies
    8
    Views
    4,330

    C - mpi programming

    Hi,

    i am trying to implement a program using (open) mpi that sends groups of numbers to each process which calculate the sum and return it to the master which in turn calculates to the total sum....
Results 1 to 6 of 6