search for: mpi_gather

Displaying 2 results from an estimated 2 matches for "mpi_gather".

2003 Dec 01
2
help with random numbers and Rmpi
...ses, &rank); init_sprng() rand = sprng(); free.sprng() randarray = (double *)malloc(sizeof(double)*size); /*Gather random numbers from all C slave processes*/ /* Using randarray doesn't make sense since this should correspond to the rdata vector in the R master process */ MPI_GAther(&rand, 1, 1, MPI_DOUBLE, randarray, 1, MPI_DOUBLE, 0, all_processes); /*All done*/ MPI_Comm_free(&all_processes); MPI_Finalize(); exit(0); }
2012 Jul 05
1
trouble installing Rmpi on a debian machine
...#39;datatype' undeclared (first use in this function) Rmpi.c:224: error: 'MPI_Datatype' undeclared (first use in this function) Rmpi.c:224: error: expected expression before ')' token Rmpi.c:224: error: expected ';' before 'R_chk_realloc' Rmpi.c: In function 'mpi_gather': Rmpi.c:241: warning: implicit declaration of function 'MPI_Gather' Rmpi.c:241: error: 'MPI_INT' undeclared (first use in this function) Rmpi.c:242: error: 'comm' undeclared (first use in this function) Rmpi.c:246: error: 'MPI_DOUBLE' undeclared (first use in th...