search for: mpi_comm_get_parent

Displaying 3 results from an estimated 3 matches for "mpi_comm_get_parent".

2007 Jul 23
1
Rmpi installation error
...entifier is reported only once Rmpi.c:84: error: for each function it appears in.) Rmpi.c: In function `mpi_comm_spawn': Rmpi.c:873: warning: implicit declaration of function `MPI_Comm_spawn' Rmpi.c:873: error: `MPI_ARGV_NULL' undeclared (first use in this function) Rmpi.c: In function `mpi_comm_get_parent': Rmpi.c:897: warning: implicit declaration of function `MPI_Comm_get_parent' Rmpi.c: In function `mpi_comm_disconnect': Rmpi.c:910: warning: implicit declaration of function `MPI_Comm_disconnect' make: *** [Rmpi.o] Error 1 chmod: cannot access `/usr/local/lib64/R/library/Rmpi/libs/...
2003 Dec 01
2
help with random numbers and Rmpi
...** rand.c ************************************************************************* #include <mpi.h> #include <sprng.h> int main(int argc, char **argv) { double rand; double* randarray; MPI_Comm slavecomm, all_processes; /*Initialize MPI*/ MPI_Init(&argc, &argv); MPI_Comm_get_parent(&slavecomm); MPI_Intercomm_merge(slavecomm, 1, &all_processes); /*How many processes are there?*/ MPI_Comm_size(all_processes, &size); /*Which one am I?*/ MPI_Comm_rank(all_processes, &rank); init_sprng() rand = sprng(); free.sprng() randarray = (double *)mallo...
2005 Dec 23
1
can someone help me understand LAM/MPI and Rmpi for use on a cluster
I'm fairly astute at C and R but new to parallelization. Would someone be willing to provide help in the form of a simple example that parallelizes an R function from the inside of a C routine? If so, write me back at izmirlig at mail.nih.gov Thanks!