Ubuntu下Rmpi安装测试
ubuntu 14.04
openmpi 0.10[可参考本人之前的mpi4py安装教程]
R 3.03
在所有机上执行:
1、安装:
参考:
http://www.stats.uwo.ca/faculty/yu/Rmpi/
方法一:Rmpi安装包
root@py-14:/projects# R CMD INSTALL Rmpi_0.6-6.tar.gz
方法二:R下安装Rmpi
>install.packages("Rmpi")
2、环境变量 【可选,如果使用出问题的话,可以设置一下】
参考:
https://wiki.gacrc.uga.edu/wiki/Rmpi
LD_LIBRARY_PATH
MPI_ROOT
3、使用
参考:
https://bioinfomagician.wordpress.com/2013/12/02/rmpi-tutorial-2-sending-data/
https://rc.fas.harvard.edu/resources/documentation/software/r-mpi/
http://blog.nguyenvq.com/blog/2010/01/20/scheduled-parallel-computing-with-r-r-rmpi-openmpi-sun-grid-engine-sge/【结合snow】
3.1 测试代码 mpi_test.r
# Load the R MPI package if it is not already loa
ubuntu 14.04
openmpi 0.10[可参考本人之前的mpi4py安装教程]
R 3.03
在所有机上执行:
1、安装:
参考:
http://www.stats.uwo.ca/faculty/yu/Rmpi/
方法一:Rmpi安装包
root@py-14:/projects# R CMD INSTALL Rmpi_0.6-6.tar.gz
方法二:R下安装Rmpi
>install.packages("Rmpi")
2、环境变量 【可选,如果使用出问题的话,可以设置一下】
参考:
https://wiki.gacrc.uga.edu/wiki/Rmpi
LD_LIBRARY_PATH
MPI_ROOT
3、使用
参考:
https://bioinfomagician.wordpress.com/2013/12/02/rmpi-tutorial-2-sending-data/
https://rc.fas.harvard.edu/resources/documentation/software/r-mpi/
http://blog.nguyenvq.com/blog/2010/01/20/scheduled-parallel-computing-with-r-r-rmpi-openmpi-sun-grid-engine-sge/【结合snow】
3.1 测试代码 mpi_test.r
# Load the R MPI package if it is not already loa