Search:

Type: Posts; User: Salem

Search: Search took 0.33 seconds.

  1. Thread: MPI c problem

    by Salem
    Replies
    17
    Views
    2,004

    That sounds like a good start.

    That sounds like a good start.
  2. Thread: MPI c problem

    by Salem
    Replies
    17
    Views
    2,004

    For me, splitting the code into two or three...

    For me, splitting the code into two or three functions would help with the overall program clarity.
    200+ lines in main is a bit much.
  3. Thread: MPI c problem

    by Salem
    Replies
    17
    Views
    2,004

    So did you do any testing like I suggested?

    So did you do any testing like I suggested?
  4. Thread: MPI c problem

    by Salem
    Replies
    17
    Views
    2,004

    Since you decided to trim away any possibility...

    Since you decided to trim away any possibility that we might have to run your code, I can only suggest some ideas for debugging your own code.

    Start with


    for( i=0; i < (log(nprocs)/log(2));...
Results 1 to 4 of 4