hi all,
I am new to MPI. The outline of my code is
if(r==0)
function1()
else if(r==1)
function2()
where r is the rank and functions are included in the .h files. There are no compilation errors. I get the SIGSEGV error while running.
Pls help. how to solve this?
2) how to find the execution time of a mpi program. in C we have
clock_t start=clock() at the beginning and
((double)clock() - start) / CLOCKS_PER_SEC) at the end.
Thanks in advance.
regards,
balaji.
|