Unfortunately, I cannot install it under RStudio on Windows 8 64bit.
I already installed MS-MPI. But when I execute “library(devtools)” and install_github, I get the following error message:
<code>
> install_github(repo="pbdMPI", username="RBigData", dependencies=T)
Downloading github repo RBigData/pbdMPI@master
Installing pbdMPI
"C:/PROGRA~1/R/R-32~1.1/bin/x64/R" --no-site-file --no-environ --no-save --no-restore CMD INSTALL "C:/Users/skonietzny/AppData/Local/Temp/RtmpIzIGvX/devtools18686d2249fe/RBigData-pbdMPI-fb26b36" \
--library="C:/Program Files/R/R-3.2.1/library" --install-tests
* installing *source* package 'pbdMPI' ...
** libs
*** arch - i386
echo 'MPI_ROOT = C:/Program Files (x86)/Microsoft SDKs/MPI/' > Makeconf
echo 'MPI_INCLUDE = C:/Program Files (x86)/Microsoft SDKs/MPI/Inc/' >> Makeconf
echo 'MPI_LIB = C:/Program Files (x86)/Microsoft SDKs/MPI/Lib/i386/msmpi.lib' >> Makeconf
echo 'WIN_FLAGS = -DWIN -DMSMPI_NO_DEPRECATE_20' >> Makeconf
gcc -m32 -I"C:/PROGRA~1/R/R-32~1.1/include" -DNDEBUG -I"C:/Program Files (x86)/Microsoft SDKs/MPI/Inc/" -DMPI2 -DWIN -DMSMPI_NO_DEPRECATE_20 -I"d:/RCompile/r-compiling/local/local320/include" -O3 -Wall -std=gnu99 -mtune=core2 -c comm_errors.c -o comm_errors.o
gcc -m32 -I"C:/PROGRA~1/R/R-32~1.1/include" -DNDEBUG -I"C:/Program Files (x86)/Microsoft SDKs/MPI/Inc/" -DMPI2 -DWIN -DMSMPI_NO_DEPRECATE_20 -I"d:/RCompile/r-compiling/local/local320/include" -O3 -Wall -std=gnu99 -mtune=core2 -c comm_sort_double.c -o comm_sort_double.o
In file included from spmd.h:7:0,
from comm_api.h:7,
from comm_sort_double.c:1:
pkg_global.h:16:17: fatal error: mpi.h: No such file or directory
compilation terminated.
make: *** [comm_sort_double.o] Error 1
Warning: running command 'make -f "Makevars.win" -f "C:/PROGRA~1/R/R-32~1.1/etc/i386/Makeconf" -f "C:/PROGRA~1/R/R-32~1.1/share/make/
winshlib.mk" SHLIB="pbdMPI.dll" OBJECTS="comm_errors.o comm_sort_double.o comm_sort_integer.o pkg_dl.o pkg_tools.o spmd.o spmd_allgather.o spmd_allgatherv.o spmd_allreduce.o spmd_alltoall.o spmd_alltoallv.o spmd_bcast.o spmd_communicator.o spmd_communicator_spawn.o spmd_gather.o spmd_gatherv.o spmd_info.o spmd_recv.o spmd_reduce.o spmd_scatter.o spmd_scatterv.o spmd_send.o spmd_sendrecv.o spmd_sendrecv_replace.o spmd_tool.o spmd_utility.o spmd_wait.o zzz.o"' had status 2
ERROR: compilation failed for package 'pbdMPI'
* removing 'C:/Program Files/R/R-3.2.1/library/pbdMPI'
Error: Command failed (1)
In addition: Warning message:
Username parameter is deprecated. Please use RBigData/pbdMPI
</code>
Do you have an idea what causes this problem?
I already experimented with the x86 and x64 subfolders, and I can see the mpi.h in the Include directory, but for some reason the install_github command does not find it.
Best, Sebastian