Search:

Type: Posts; User: vicath

Search: Search took 0.00 seconds.

  1. Thread: MPI c problem

    by vicath
    Replies
    17
    Views
    2,011

    That was very illuminating. I've been doing that...

    That was very illuminating. I've been doing that in assembly recently while programming my PIC and never tought that there was something like that for either C or C++ thinking that since they were...
  2. Thread: MPI c problem

    by vicath
    Replies
    17
    Views
    2,011

    did not know what the '

    did not know what the '<<' was for and doing a simple google search i could not find it.
  3. Thread: MPI c problem

    by vicath
    Replies
    17
    Views
    2,011

    If I were to do split it, it would be a file...

    If I were to do split it, it would be a file checking/reading function, and one for the actual finding.
    I could also remove some of the unused variables too like modulus and numSum
  4. Thread: MPI c problem

    by vicath
    Replies
    17
    Views
    2,011

    Here's the completed project (I don't care about...

    Here's the completed project (I don't care about sharing my code with people) can anyone think of any way to improve this code? or simplify it?


    #include <stdio.h>
    #include <mpi.h>
    #include...
  5. Thread: MPI c problem

    by vicath
    Replies
    17
    Views
    2,011

    Nevermind, i got it. Thank you for all your help,...

    Nevermind, i got it. Thank you for all your help, though i now have a logic problem ^^;;;
  6. Thread: MPI c problem

    by vicath
    Replies
    17
    Views
    2,011

    This might sound stupid but how would go about...

    This might sound stupid but how would go about fixing the first problem? I already fixed the second one. Thank you.
  7. Thread: MPI c problem

    by vicath
    Replies
    17
    Views
    2,011

    Yes, I just tried it and it is always a whole...

    Yes, I just tried it and it is always a whole number because I am using 16 nodes for the time being. I tried replacing it with i<4, i tried making i a double type. I had to take out all the code in...
  8. Thread: MPI c problem

    by vicath
    Replies
    17
    Views
    2,011

    sorry for cutting the code #include...

    sorry for cutting the code


    #include <stdio.h>
    #include <mpi.h>
    #include "math.h"


    int main(int argc, char* argv[])
    {
  9. Thread: MPI c problem

    by vicath
    Replies
    17
    Views
    2,011

    MPI c problem

    I've been working on an algorithm to do exercise 3 from NESL Exercises. I have been racking my brain for the past day and cannot figure why it is giving me an abort().
    It is supposed to read a file...
Results 1 to 9 of 9