Dear R People: I'm having trouble installing Rmpi on a debian machine. Here is my output: bccd at node000:~$ /bccd/home/bccd bccd at node000:~$ bccd at node000:~$ export RMPI_TYPE=OPENMPI bccd at node000:~$ R CMD INSTALL Rmpi_0.5-9.tar.gz * installing to library '/bccd/home/bccd/R/x86_64-pc-linux-gnu-library/2.15' * installing *source* package 'Rmpi' ... checking for gcc... gcc -std=gnu99 checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc -std=gnu99 accepts -g... yes checking for gcc -std=gnu99 option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -std=gnu99 -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking mpi.h usability... yes checking mpi.h presence... yes checking for mpi.h... yes Trying to find libmpi.so or libmpich.a ... checking for main in -lmpi... yes checking for openpty in -lutil... yes checking for main in -lpthread... yes configure: creating ./config.status config.status: creating src/Makevars ** Creating default NAMESPACE file ** libs gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I -DMPI2 -DOPENMPI -fpic -O3 -pipe -g -c RegQuery.c -o RegQuery.o gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I -DMPI2 -DOPENMPI -fpic -O3 -pipe -g -c Rmpi.c -o Rmpi.o In file included from Rmpi.c:18: Rmpi.h:2:17: error: mpi.h: No such file or directory In file included from Rmpi.c:18: Rmpi.h:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mpitype' Rmpi.c:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token Rmpi.c:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token Rmpi.c:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token Rmpi.c:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token Rmpi.c:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token Rmpi.c: In function 'mpi_initialize': Rmpi.c:57: warning: implicit declaration of function 'MPI_Initialized' Rmpi.c:76: warning: implicit declaration of function 'MPI_Init' Rmpi.c:81: warning: implicit declaration of function 'MPI_Errhandler_set' Rmpi.c:81: error: 'MPI_COMM_WORLD' undeclared (first use in this function) Rmpi.c:81: error: (Each undeclared identifier is reported only once Rmpi.c:81: error: for each function it appears in.) Rmpi.c:81: error: 'MPI_ERRORS_RETURN' undeclared (first use in this function) Rmpi.c:82: error: 'MPI_COMM_SELF' undeclared (first use in this function) Rmpi.c:83: error: 'comm' undeclared (first use in this function) Rmpi.c:83: error: 'MPI_Comm' undeclared (first use in this function) Rmpi.c:83: error: expected expression before ')' token Rmpi.c:83: error: expected ';' before 'R_chk_calloc' Rmpi.c:84: error: 'status' undeclared (first use in this function) Rmpi.c:84: error: 'MPI_Status' undeclared (first use in this function) Rmpi.c:84: error: expected expression before ')' token Rmpi.c:84: error: expected ';' before 'R_chk_calloc' Rmpi.c:85: error: 'datatype' undeclared (first use in this function) Rmpi.c:85: error: 'MPI_Datatype' undeclared (first use in this function) Rmpi.c:85: error: expected expression before ')' token Rmpi.c:85: error: expected ';' before 'R_chk_calloc' Rmpi.c:86: error: 'info' undeclared (first use in this function) Rmpi.c:86: error: 'MPI_Info' undeclared (first use in this function) Rmpi.c:86: error: expected expression before ')' token Rmpi.c:86: error: expected ';' before 'R_chk_calloc' Rmpi.c:87: error: 'MPI_INFO_NULL' undeclared (first use in this function) Rmpi.c:88: error: 'request' undeclared (first use in this function) Rmpi.c:88: error: 'MPI_Request' undeclared (first use in this function) Rmpi.c:88: error: expected expression before ')' token Rmpi.c:88: error: expected ';' before 'R_chk_calloc' Rmpi.c:89: error: 'MPI_REQUEST_NULL' undeclared (first use in this function) Rmpi.c:91: error: 'MPI_COMM_NULL' undeclared (first use in this function) Rmpi.c: In function 'mpi_finalize': Rmpi.c:98: warning: implicit declaration of function 'MPI_Finalize' Rmpi.c:99: error: 'comm' undeclared (first use in this function) Rmpi.c:100: error: 'status' undeclared (first use in this function) Rmpi.c:101: error: 'request' undeclared (first use in this function) Rmpi.c:102: error: 'datatype' undeclared (first use in this function) Rmpi.c:103: error: 'info' undeclared (first use in this function) Rmpi.c: In function 'mpi_get_processor_name': Rmpi.c:112: error: 'MPI_MAX_PROCESSOR_NAME' undeclared (first use in this function) Rmpi.c:113: warning: implicit declaration of function 'MPI_Get_processor_name' Rmpi.c: In function 'mpi_any_source': Rmpi.c:138: error: 'MPI_ANY_SOURCE' undeclared (first use in this function) Rmpi.c: In function 'mpi_any_tag': Rmpi.c:142: error: 'MPI_ANY_TAG' undeclared (first use in this function) Rmpi.c: In function 'mpi_undefined': Rmpi.c:146: error: 'MPI_UNDEFINED' undeclared (first use in this function) Rmpi.c: In function 'mpi_proc_null': Rmpi.c:150: error: 'MPI_PROC_NULL' undeclared (first use in this function) Rmpi.c: In function 'mpi_info_create': Rmpi.c:154: warning: implicit declaration of function 'MPI_Info_create' Rmpi.c:154: error: 'info' undeclared (first use in this function) Rmpi.c: In function 'mpi_info_set': Rmpi.c:158: warning: implicit declaration of function 'MPI_Info_set' Rmpi.c:158: error: 'info' undeclared (first use in this function) Rmpi.c: In function 'mpi_info_get': Rmpi.c:169: warning: implicit declaration of function 'MPI_Info_get' Rmpi.c:169: error: 'info' undeclared (first use in this function) Rmpi.c: In function 'mpi_info_free': Rmpi.c:179: warning: implicit declaration of function 'MPI_Info_free' Rmpi.c:179: error: 'info' undeclared (first use in this function) Rmpi.c: In function 'mpi_realloc_comm': Rmpi.c:185: error: 'comm' undeclared (first use in this function) Rmpi.c:185: error: 'MPI_Comm' undeclared (first use in this function) Rmpi.c:185: error: expected expression before ')' token Rmpi.c:185: error: expected ';' before 'R_chk_realloc' Rmpi.c:186: error: 'MPI_COMM_NULL' undeclared (first use in this function) Rmpi.c: In function 'mpi_realloc_status': Rmpi.c:199: error: 'status' undeclared (first use in this function) Rmpi.c:199: error: 'MPI_Status' undeclared (first use in this function) Rmpi.c:199: error: expected expression before ')' token Rmpi.c:199: error: expected ';' before 'R_chk_realloc' Rmpi.c: In function 'mpi_realloc_request': Rmpi.c:212: error: 'request' undeclared (first use in this function) Rmpi.c:212: error: 'MPI_Request' undeclared (first use in this function) Rmpi.c:212: error: expected expression before ')' token Rmpi.c:212: error: expected ';' before 'R_chk_realloc' Rmpi.c:213: error: 'MPI_REQUEST_NULL' undeclared (first use in this function) Rmpi.c: In function 'mpi_realloc_datatype': Rmpi.c:224: error: '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 this function) Rmpi.c:255: error: 'MPI_CHAR' undeclared (first use in this function) Rmpi.c:263: error: 'MPI_BYTE' undeclared (first use in this function) Rmpi.c:268: warning: implicit declaration of function 'MPI_Bcast' Rmpi.c:268: error: 'datatype' undeclared (first use in this function) Rmpi.c: In function 'mpi_gatherv': Rmpi.c:290: warning: implicit declaration of function 'MPI_Comm_size' Rmpi.c:290: error: 'comm' undeclared (first use in this function) Rmpi.c:291: warning: implicit declaration of function 'MPI_Comm_rank' Rmpi.c:302: warning: implicit declaration of function 'MPI_Gatherv' Rmpi.c:302: error: 'MPI_INT' undeclared (first use in this function) Rmpi.c:308: error: 'MPI_DOUBLE' undeclared (first use in this function) Rmpi.c:318: error: 'MPI_CHAR' undeclared (first use in this function) Rmpi.c:327: error: 'MPI_BYTE' undeclared (first use in this function) Rmpi.c:334: error: 'datatype' undeclared (first use in this function) Rmpi.c: In function 'mpi_scatter': Rmpi.c:360: warning: implicit declaration of function 'MPI_Scatter' Rmpi.c:360: error: 'MPI_INT' undeclared (first use in this function) Rmpi.c:361: error: 'comm' undeclared (first use in this function) Rmpi.c:365: error: 'MPI_DOUBLE' undeclared (first use in this function) Rmpi.c:374: error: 'MPI_CHAR' undeclared (first use in this function) Rmpi.c:382: error: 'MPI_BYTE' undeclared (first use in this function) Rmpi.c:388: error: 'datatype' undeclared (first use in this function) Rmpi.c: In function 'mpi_scatterv': Rmpi.c:409: error: 'comm' undeclared (first use in this function) Rmpi.c:421: warning: implicit declaration of function 'MPI_Scatterv' Rmpi.c:422: error: 'MPI_INT' undeclared (first use in this function) Rmpi.c:428: error: 'MPI_DOUBLE' undeclared (first use in this function) Rmpi.c:439: error: 'MPI_CHAR' undeclared (first use in this function) Rmpi.c:447: error: 'MPI_BYTE' undeclared (first use in this function) Rmpi.c:453: error: 'datatype' undeclared (first use in this function) Rmpi.c: In function 'mpi_allgather': Rmpi.c:478: warning: implicit declaration of function 'MPI_Allgather' Rmpi.c:478: error: 'MPI_INT' undeclared (first use in this function) Rmpi.c:479: error: 'comm' undeclared (first use in this function) Rmpi.c:483: error: 'MPI_DOUBLE' undeclared (first use in this function) Rmpi.c:493: error: 'MPI_CHAR' undeclared (first use in this function) Rmpi.c:500: error: 'MPI_BYTE' undeclared (first use in this function) Rmpi.c:506: error: 'datatype' undeclared (first use in this function) Rmpi.c: In function 'mpi_allgatherv': Rmpi.c:526: error: 'comm' undeclared (first use in this function) Rmpi.c:535: warning: implicit declaration of function 'MPI_Allgatherv' Rmpi.c:535: error: 'MPI_INT' undeclared (first use in this function) Rmpi.c:541: error: 'MPI_DOUBLE' undeclared (first use in this function) Rmpi.c:551: error: 'MPI_CHAR' undeclared (first use in this function) Rmpi.c:559: error: 'MPI_BYTE' undeclared (first use in this function) Rmpi.c:566: error: 'datatype' undeclared (first use in this function) Rmpi.c: In function 'mpi_bcast': Rmpi.c:590: error: 'MPI_INT' undeclared (first use in this function) Rmpi.c:590: error: 'comm' undeclared (first use in this function) Rmpi.c:593: error: 'MPI_DOUBLE' undeclared (first use in this function) Rmpi.c:600: error: 'MPI_CHAR' undeclared (first use in this function) Rmpi.c:611: error: 'MPI_BYTE' undeclared (first use in this function) Rmpi.c:616: error: 'datatype' undeclared (first use in this function) Rmpi.c:620: error: 'MPI_SUCCESS' undeclared (first use in this function) Rmpi.c:622: error: 'MPI_MAX_ERROR_STRING' undeclared (first use in this function) Rmpi.c:623: warning: implicit declaration of function 'MPI_Error_string' Rmpi.c: In function 'mpi_send': Rmpi.c:645: warning: implicit declaration of function 'MPI_Send' Rmpi.c:645: error: 'MPI_INT' undeclared (first use in this function) Rmpi.c:645: error: 'comm' undeclared (first use in this function) Rmpi.c:648: error: 'MPI_DOUBLE' undeclared (first use in this function) Rmpi.c:652: error: 'MPI_CHAR' undeclared (first use in this function) Rmpi.c:655: error: 'MPI_BYTE' undeclared (first use in this function) Rmpi.c:660: error: 'datatype' undeclared (first use in this function) Rmpi.c: In function 'mpi_recv': Rmpi.c:681: warning: implicit declaration of function 'MPI_Recv' Rmpi.c:681: error: 'MPI_INT' undeclared (first use in this function) Rmpi.c:681: error: 'comm' undeclared (first use in this function) Rmpi.c:682: error: 'status' undeclared (first use in this function) Rmpi.c:685: error: 'MPI_DOUBLE' undeclared (first use in this function) Rmpi.c:692: error: 'MPI_CHAR' undeclared (first use in this function) Rmpi.c:698: error: 'MPI_BYTE' undeclared (first use in this function) Rmpi.c:704: error: 'datatype' undeclared (first use in this function) Rmpi.c: In function 'mpi_reduce': Rmpi.c:722: error: 'MPI_Op' undeclared (first use in this function) Rmpi.c:722: error: expected ';' before 'op' Rmpi.c:727: error: 'op' undeclared (first use in this function) Rmpi.c:727: error: 'MPI_SUM' undeclared (first use in this function) Rmpi.c:730: error: 'MPI_PROD' undeclared (first use in this function) Rmpi.c:733: error: 'MPI_MAX' undeclared (first use in this function) Rmpi.c:736: error: 'MPI_MIN' undeclared (first use in this function) Rmpi.c:739: error: 'MPI_MAXLOC' undeclared (first use in this function) Rmpi.c:742: error: 'MPI_MINLOC' undeclared (first use in this function) Rmpi.c:750: warning: implicit declaration of function 'MPI_Reduce' Rmpi.c:751: error: 'MPI_INT' undeclared (first use in this function) Rmpi.c:751: error: 'comm' undeclared (first use in this function) Rmpi.c:764: error: 'MPI_2INT' undeclared (first use in this function) Rmpi.c:772: error: 'MPI_DOUBLE' undeclared (first use in this function) Rmpi.c:785: error: 'MPI_DOUBLE_INT' undeclared (first use in this function) Rmpi.c: In function 'mpi_allreduce': Rmpi.c:808: error: 'MPI_Op' undeclared (first use in this function) Rmpi.c:808: error: expected ';' before 'op' Rmpi.c:813: error: 'op' undeclared (first use in this function) Rmpi.c:813: error: 'MPI_SUM' undeclared (first use in this function) Rmpi.c:816: error: 'MPI_PROD' undeclared (first use in this function) Rmpi.c:819: error: 'MPI_MAX' undeclared (first use in this function) Rmpi.c:822: error: 'MPI_MIN' undeclared (first use in this function) Rmpi.c:825: error: 'MPI_MAXLOC' undeclared (first use in this function) Rmpi.c:828: error: 'MPI_MINLOC' undeclared (first use in this function) Rmpi.c:837: warning: implicit declaration of function 'MPI_Allreduce' Rmpi.c:838: error: 'MPI_INT' undeclared (first use in this function) Rmpi.c:838: error: 'comm' undeclared (first use in this function) Rmpi.c:851: error: 'MPI_2INT' undeclared (first use in this function) Rmpi.c:859: error: 'MPI_DOUBLE' undeclared (first use in this function) Rmpi.c:872: error: 'MPI_DOUBLE_INT' undeclared (first use in this function) Rmpi.c: In function 'mpi_iprobe': Rmpi.c:890: warning: implicit declaration of function 'MPI_Iprobe' Rmpi.c:891: error: 'comm' undeclared (first use in this function) Rmpi.c:892: error: 'status' undeclared (first use in this function) Rmpi.c: In function 'mpi_probe': Rmpi.c:897: warning: implicit declaration of function 'MPI_Probe' Rmpi.c:898: error: 'comm' undeclared (first use in this function) Rmpi.c:899: error: 'status' undeclared (first use in this function) Rmpi.c: In function 'mpi_get_count': Rmpi.c:904: error: 'MPI_Datatype' undeclared (first use in this function) Rmpi.c:904: error: expected ';' before 'datatype' Rmpi.c:908: error: 'datatype' undeclared (first use in this function) Rmpi.c:908: error: 'MPI_INT' undeclared (first use in this function) Rmpi.c:911: error: 'MPI_DOUBLE' undeclared (first use in this function) Rmpi.c:914: error: 'MPI_CHAR' undeclared (first use in this function) Rmpi.c:917: error: 'MPI_BYTE' undeclared (first use in this function) Rmpi.c:923: warning: implicit declaration of function 'MPI_Get_count' Rmpi.c:923: error: 'status' undeclared (first use in this function) Rmpi.c: In function 'mpi_get_sourcetag': Rmpi.c:933: error: 'status' undeclared (first use in this function) Rmpi.c: In function 'mpi_barrier': Rmpi.c:941: warning: implicit declaration of function 'MPI_Barrier' Rmpi.c:941: error: 'comm' undeclared (first use in this function) Rmpi.c: In function 'mpi_comm_is_null': Rmpi.c:945: error: 'comm' undeclared (first use in this function) Rmpi.c:945: error: 'MPI_COMM_NULL' undeclared (first use in this function) Rmpi.c: In function 'mpi_comm_size': Rmpi.c:950: error: 'comm' undeclared (first use in this function) Rmpi.c: In function 'mpi_comm_rank': Rmpi.c:956: error: 'comm' undeclared (first use in this function) Rmpi.c: In function 'mpi_comm_dup': Rmpi.c:963: warning: implicit declaration of function 'MPI_Comm_dup' Rmpi.c:963: error: 'MPI_COMM_WORLD' undeclared (first use in this function) Rmpi.c:964: error: 'comm' undeclared (first use in this function) Rmpi.c: In function 'mpi_comm_free': Rmpi.c:971: warning: implicit declaration of function 'MPI_Comm_free' Rmpi.c:971: error: 'comm' undeclared (first use in this function) Rmpi.c: In function 'mpi_abort': Rmpi.c:977: warning: implicit declaration of function 'MPI_Abort' Rmpi.c:977: error: 'MPI_COMM_WORLD' undeclared (first use in this function) Rmpi.c:979: error: 'comm' undeclared (first use in this function) Rmpi.c: In function 'mpi_comm_set_errhandler': Rmpi.c:986: error: 'comm' undeclared (first use in this function) Rmpi.c:987: error: 'MPI_ERRORS_RETURN' undeclared (first use in this function) Rmpi.c: In function 'mpi_comm_test_inter': Rmpi.c:992: warning: implicit declaration of function 'MPI_Comm_test_inter' Rmpi.c:992: error: 'comm' undeclared (first use in this function) Rmpi.c: In function 'mpi_intercomm_merge': Rmpi.c:1051: warning: implicit declaration of function 'MPI_Intercomm_merge' Rmpi.c:1051: error: 'comm' undeclared (first use in this function) Rmpi.c: In function 'mpi_comm_remote_size': Rmpi.c:1058: warning: implicit declaration of function 'MPI_Comm_remote_size' Rmpi.c:1058: error: 'comm' undeclared (first use in this function) Rmpi.c: In function 'mpi_sendrecv': Rmpi.c:1086: warning: implicit declaration of function 'MPI_Sendrecv' Rmpi.c:1087: error: 'MPI_INT' undeclared (first use in this function) Rmpi.c:1089: error: 'comm' undeclared (first use in this function) Rmpi.c:1089: error: 'status' undeclared (first use in this function) Rmpi.c:1094: error: 'MPI_DOUBLE' undeclared (first use in this function) Rmpi.c:1102: error: 'MPI_CHAR' undeclared (first use in this function) Rmpi.c:1110: error: 'MPI_BYTE' undeclared (first use in this function) Rmpi.c: In function 'mpi_sendrecv_replace': Rmpi.c:1243: warning: implicit declaration of function 'MPI_Sendrecv_replace' Rmpi.c:1243: error: 'MPI_INT' undeclared (first use in this function) Rmpi.c:1244: error: 'comm' undeclared (first use in this function) Rmpi.c:1244: error: 'status' undeclared (first use in this function) Rmpi.c:1247: error: 'MPI_DOUBLE' undeclared (first use in this function) Rmpi.c:1256: error: 'MPI_CHAR' undeclared (first use in this function) Rmpi.c:1262: error: 'MPI_BYTE' undeclared (first use in this function) Rmpi.c:1268: error: 'datatype' undeclared (first use in this function) Rmpi.c: In function 'mpi_cart_create': Rmpi.c:1288: warning: implicit declaration of function 'MPI_Cart_create' Rmpi.c:1288: error: 'comm' undeclared (first use in this function) Rmpi.c: In function 'mpi_dims_create': Rmpi.c:1296: warning: implicit declaration of function 'MPI_Dims_create' Rmpi.c: In function 'mpi_cartdim_get': Rmpi.c:1304: warning: implicit declaration of function 'MPI_Cartdim_get' Rmpi.c:1304: error: 'comm' undeclared (first use in this function) Rmpi.c: In function 'mpi_cart_get': Rmpi.c:1315: warning: implicit declaration of function 'MPI_Cart_get' Rmpi.c:1315: error: 'comm' undeclared (first use in this function) Rmpi.c: In function 'mpi_cart_rank': Rmpi.c:1326: warning: implicit declaration of function 'MPI_Cart_rank' Rmpi.c:1326: error: 'comm' undeclared (first use in this function) Rmpi.c: In function 'mpi_cart_coords': Rmpi.c:1336: warning: implicit declaration of function 'MPI_Cart_coords' Rmpi.c:1336: error: 'comm' undeclared (first use in this function) Rmpi.c: In function 'mpi_cart_shift': Rmpi.c:1348: warning: implicit declaration of function 'MPI_Cart_shift' Rmpi.c:1348: error: 'comm' undeclared (first use in this function) Rmpi.c: In function 'mpi_isend': Rmpi.c:1366: warning: implicit declaration of function 'MPI_Isend' Rmpi.c:1366: error: 'MPI_INT' undeclared (first use in this function) Rmpi.c:1367: error: 'comm' undeclared (first use in this function) Rmpi.c:1367: error: 'request' undeclared (first use in this function) Rmpi.c:1371: error: 'MPI_DOUBLE' undeclared (first use in this function) Rmpi.c:1376: error: 'MPI_CHAR' undeclared (first use in this function) Rmpi.c:1381: error: 'MPI_BYTE' undeclared (first use in this function) Rmpi.c:1387: error: 'datatype' undeclared (first use in this function) Rmpi.c: In function 'mpi_irecv': Rmpi.c:1406: warning: implicit declaration of function 'MPI_Irecv' Rmpi.c:1406: error: 'MPI_INT' undeclared (first use in this function) Rmpi.c:1407: error: 'comm' undeclared (first use in this function) Rmpi.c:1407: error: 'request' undeclared (first use in this function) Rmpi.c:1410: error: 'MPI_DOUBLE' undeclared (first use in this function) Rmpi.c:1415: error: 'MPI_CHAR' undeclared (first use in this function) Rmpi.c:1419: error: 'MPI_BYTE' undeclared (first use in this function) Rmpi.c:1425: error: 'datatype' undeclared (first use in this function) Rmpi.c: In function 'mpi_wait': Rmpi.c:1435: warning: implicit declaration of function 'MPI_Wait' Rmpi.c:1435: error: 'request' undeclared (first use in this function) Rmpi.c:1435: error: 'status' undeclared (first use in this function) Rmpi.c: In function 'mpi_test': Rmpi.c:1442: warning: implicit declaration of function 'MPI_Test' Rmpi.c:1442: error: 'request' undeclared (first use in this function) Rmpi.c:1442: error: 'status' undeclared (first use in this function) Rmpi.c: In function 'mpi_cancel': Rmpi.c:1448: warning: implicit declaration of function 'MPI_Cancel' Rmpi.c:1448: error: 'request' undeclared (first use in this function) Rmpi.c: In function 'mpi_test_cancelled': Rmpi.c:1454: warning: implicit declaration of function 'MPI_Test_cancelled' Rmpi.c:1454: error: 'status' undeclared (first use in this function) Rmpi.c: In function 'mpi_waitany': Rmpi.c:1460: warning: implicit declaration of function 'MPI_Waitany' Rmpi.c:1460: error: 'request' undeclared (first use in this function) Rmpi.c:1460: error: 'status' undeclared (first use in this function) Rmpi.c: In function 'mpi_testany': Rmpi.c:1468: warning: implicit declaration of function 'MPI_Testany' Rmpi.c:1468: error: 'request' undeclared (first use in this function) Rmpi.c:1469: error: 'status' undeclared (first use in this function) Rmpi.c: In function 'mpi_waitall': Rmpi.c:1476: warning: implicit declaration of function 'MPI_Waitall' Rmpi.c:1476: error: 'request' undeclared (first use in this function) Rmpi.c:1476: error: 'status' undeclared (first use in this function) Rmpi.c: In function 'mpi_testall': Rmpi.c:1482: warning: implicit declaration of function 'MPI_Testall' Rmpi.c:1482: error: 'request' undeclared (first use in this function) Rmpi.c:1482: error: 'status' undeclared (first use in this function) Rmpi.c: In function 'mpi_testsome': Rmpi.c:1490: warning: implicit declaration of function 'MPI_Testsome' Rmpi.c:1490: error: 'request' undeclared (first use in this function) Rmpi.c:1491: error: 'status' undeclared (first use in this function) Rmpi.c: In function 'mpi_waitsome': Rmpi.c:1500: warning: implicit declaration of function 'MPI_Waitsome' Rmpi.c:1500: error: 'request' undeclared (first use in this function) Rmpi.c:1501: error: 'status' undeclared (first use in this function) make: *** [Rmpi.o] Error 1 ERROR: compilation failed for package 'Rmpi' * removing '/bccd/home/bccd/R/x86_64-pc-linux-gnu-library/2.15/Rmpi' bccd at node000:~$ Now the strangest thing is that I installed Rmpi on a Rocks Cluster on Tuesday with no trouble. Any suggestions would be most appreciated. Sincerely, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: erinm.hodgess at gmail.com
p_connolly at slingshot.co.nz
2012-Jul-06 00:04 UTC
[R] trouble installing Rmpi on a debian machine
Quoting Erin Hodgess <erinm.hodgess at gmail.com>:> Dear R People: > > I'm having trouble installing Rmpi on a debian machine. > > Here is my output: > bccd at node000:~$ /bccd/home/bccd > bccd at node000:~$ > bccd at node000:~$ export RMPI_TYPE=OPENMPI > bccd at node000:~$ R CMD INSTALL Rmpi_0.5-9.tar.gz > * installing to library '/bccd/home/bccd/R/x86_64-pc-linux-gnu-library/2.15'[...]> ERROR: compilation failed for package 'Rmpi' > * removing '/bccd/home/bccd/R/x86_64-pc-linux-gnu-library/2.15/Rmpi' > bccd at node000:~$ > > Now the strangest thing is that I installed Rmpi on a Rocks Cluster on > Tuesday with no trouble. > > Any suggestions would be most appreciated.I suspect you omitted a few deb packages before you started. I have some notes I made a few years ago when I installed Rmpi on a Kubuntu machine, so it should be fairly similar to yours. Make the appropriate changes if you use something different from aptitude for handling packages. sudo aptitude install openmpi-common sudo aptitude install openmpi-binsudo sudo aptitude install libhdf5-openmpi-1.6.6-0 sudo aptitude install libhdf5-openmpi-dev sudo aptitude install openmpi-bin HTH Patrick> > Sincerely, > Erin > > > -- > Erin Hodgess > Associate Professor > Department of Computer and Mathematical Sciences > University of Houston - Downtown > mailto: erinm.hodgess at gmail.com > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.