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

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -