c++ - With MPI programs, do all processes get data from user input? -
what i'm asking if have this:
int main(int argc, char *argv[]) //<---input command line { do need use mpi_bcast in order send data of processes, or of processes command line input data anyway?
if use mpi_init(&argc,&argv) solves problem :)
no need bcast ;)
Comments
Post a Comment