Search:

Type: Posts; User: jeffwang

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,114

    Stuck in a MPI program.

    Hi,guys:

    I put 15 struct variables into a continuous memory at first by using memcpy(). And then I want to print out the element of first struct variable. The correct value is 1, but sometimes...
  2. Replies
    6
    Views
    1,579

    The issue happens in the MPI code. The new code...

    The issue happens in the MPI code. The new code is attached.



    #include <stdio.h>
    #include <mpi.h>
    #include <stdlib.h>
    #include <string.h>
    typedef struct message message;
    struct message
  3. Replies
    6
    Views
    1,579

    Can not get valid value from Char* buffer

    Hi,guys:

    I put two struct variables into a continuous memory at first by using memcpy(). And then I want to print out each variable's element. Sometimes it works,but sometimes it just prints out...
Results 1 to 3 of 3