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...
Type: Posts; User: Cell
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...
I'm doing something more along the lines of:
FILE *myfile
fopen("myfile", "w");
fprintf(myfile, "data %f", data);
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...
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...
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
Yes, I believe so.
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...
Edited.
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
I've actually been testing the timing by just sending an array filled with the character 's'.
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...
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...
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...
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. ...
#define MEMBER_SIZE 500
struct table{
double num;
struct table *next_table;
}
struct table member_tables[MEMBER_SIZE];
Is C99 mode standard in gcc?
Thank you.
So if I am using a VLA, is it as simple as:
int TEST;
printf("Message size?\n");
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.
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...
It does!
Why do you think it shouldn't compile?
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...
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.
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{
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...
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...