Search:

Type: Posts; User: Cell

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    1,443

    Yeah the file opens correctly and I've inserted...

    Yeah the file opens correctly and I've inserted random fprintf statements in various areas of the code to determine that the opening of and writing to the file is working correctly.

    I've also...
  2. Replies
    11
    Views
    1,443

    I'm doing something more along the lines of: ...

    I'm doing something more along the lines of:



    FILE *myfile

    fopen("myfile", "w");

    fprintf(myfile, "data %f", data);
  3. Replies
    11
    Views
    1,443

    Simple write to a file causing seg-fault??

    This is driving me insane!!

    I have a program that works absolutely fine. I'd like some benchmarks on the program, so I added some timing code and I've been trying to write that data plus a few...
  4. Replies
    4
    Views
    1,152

    You know, I'm wondering if it is enough to...

    You know, I'm wondering if it is enough to measure just the time it takes to send a message?

    Perhaps I am making this problem out to be more difficult than it is.

    For example:



    start_time...
  5. Replies
    4
    Views
    1,152

    I guess the issue I'm trying to work out is the...

    I guess the issue I'm trying to work out is the concurrency of the situation.

    The idea I've been using is essentially:




    if(myrank == 0){
    start_time = MPI_WTIME
    SEND_MSG
  6. Replies
    4
    Views
    1,152

    Yes, I believe so.

    Yes, I believe so.
  7. Replies
    4
    Views
    1,152

    Capturing Message Time

    I am having difficulty finding the time is takes to send a message via MPI from one processor to another. The difficult step here is that these processors are of different architectures. They are...
  8. Replies
    5
    Views
    1,818

    Edited.

    Edited.
  9. Replies
    5
    Views
    1,818

    I tried what you said and this is the output: ...

    I tried what you said and this is the output:



    What size message do you want to test?
    A) 1 KB
    B) 10 KB

    A
  10. Replies
    5
    Views
    1,818

    I've actually been testing the timing by just...

    I've actually been testing the timing by just sending an array filled with the character 's'.
  11. Replies
    5
    Views
    1,818

    Messages Between Different Architectures

    Hey all,

    I am trying to send messages between processors in a few different configurations.

    I have processor with architecture A and a few processors with architecture B. All processors are...
  12. Thread: Best Journals

    by Cell
    Replies
    6
    Views
    2,552

    Thank you for the suggestions, guys. Hah,...

    Thank you for the suggestions, guys.



    Hah, that's funny because in physics and (some fields of) engineering conference papers are those that are not ready to be published. I'll definitely look...
  13. Thread: Best Journals

    by Cell
    Replies
    6
    Views
    2,552

    Best Journals

    I'm looking for a few really good online journals to read for papers on computer architecture.

    I am a member of ACM and IEEE-Computer Society, so I know about those resources, but I was wondering...
  14. Replies
    5
    Views
    875

    I see what you guys are saying. Because...

    I see what you guys are saying. Because *next_table is creating a pointer of type table, not a new table, it is valid.

    caroundw5h, the link you included seems to just be an overview of stdio.h. ...
  15. Replies
    5
    Views
    875

    Why isn't this an error?

    #define MEMBER_SIZE 500

    struct table{
    double num;
    struct table *next_table;
    }

    struct table member_tables[MEMBER_SIZE];
  16. Replies
    6
    Views
    2,095

    Is C99 mode standard in gcc?

    Is C99 mode standard in gcc?
  17. Replies
    6
    Views
    2,095

    Thank you. So if I am using a VLA, is it as...

    Thank you.

    So if I am using a VLA, is it as simple as:



    int TEST;

    printf("Message size?\n");
  18. Replies
    6
    Views
    6,274

    Before I enter the number. I have no time to...

    Before I enter the number.

    I have no time to do anything -- right after I run the program it prints that statement and then exits.
  19. Replies
    6
    Views
    6,274

    I am using gcc. I have switched to long long...

    I am using gcc. I have switched to long long int, and now the process 0 program (the sending program) exists with signal 15.

    It gets as far as this statement:


    printf("How large should the...
  20. Replies
    6
    Views
    6,274

    It does! Why do you think it shouldn't compile?

    It does!

    Why do you think it shouldn't compile?
  21. Replies
    6
    Views
    6,274

    Maximum Size of Data Transfers with MPI?

    Hey guys,

    Does anyone happen to know the maximum amount of data that can be send in one MPI_Send and received in one MPI_Recv transfer?

    I think that I had read once that the amount was not...
  22. Replies
    6
    Views
    2,095

    Variable Array Size From Command Line Argument?

    Hey guys,

    I am wondering if it is possible to receive a value from a command line that creates an array of that size?

    Is the more 'sophisticated' method of doing this to use malloc()?

    Thanks.
  23. Replies
    6
    Views
    2,037

    Well absolutely no files are created. How I'm...

    Well absolutely no files are created. How I'm printing to the file is standard, I think:



    int main(etc){

    FILE *data_one, *data_two;

    while statement{
  24. Replies
    6
    Views
    2,037

    Print a File on Multiple Processors

    Hey guys,

    I am using MPI to send data between multiple processors. I have one file that I run on about 12 processors, all of which send data back to a single file running on a main node.

    I...
  25. Thread: Graph Question

    by Cell
    Replies
    9
    Views
    1,298

    Hey Snafuist, thanks for sticking with this...

    Hey Snafuist, thanks for sticking with this thread.



    Yes, this is exactly the case. I am storing the edges as integers into something I was calling a 'connectivity matrix', which I believe is...
Results 1 to 25 of 72
Page 1 of 3 1 2 3