Hi !
Iam new to MPI and parallel programming and i want some clarifications on reading a input file and on MPI_BCAST subroutine.
Q1) I know there are two ways to have each processor read the input file
1) Let all the processes read the input file on a shared file system
2) Let one processor(pbly node 0) read the input from the file and BROADCAST it to all other processors.
I like to know which method is more efficient.
Q2) Iam using MPI_BCAST to send the input file to all processors. But how does MPI_BCAST works internally. My input file is 480Mb file. Is MPI_BCAST is advisable for broadcasting such large chunks of data .
If not what should be my best approach.
I would greatly appreciate your help.Thanking you.
Regards
Srinivasa Patri
|