我在尝试安装Rmpi时遇到了一些库的问题,在Ubuntu 16.04上从源码安装openmpi 3.0.0到/usr/local。
open mpi似乎已经正确安装,
mpirun
。--版本有效
当我试图用这个命令来安装Rmpi时
sudo R CMD INSTALL ./Downloads/Rmpi_0.6-6.tar.gz --configure-args="--with-Rmpi-type={OPENMPI}"
它编译得很好,并且找到了库
I am here /usr/local and it is OpenMPI
Trying to find mpi.h ...
Found in /usr/local/include
Trying to find libmpi.so or libmpich.a ...
Found libmpi in /usr/local/lib
checking for orted... yes
checking for openpty in -lutil... yes
checking for main in -lpthread... yes
configure: creating ./config.status
但当它进行负载测试时,我得到的是
** testing if installed package can be loaded
*** An error occurred in MPI_Init
*** on a NULL communicator
*** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort,
*** and potentially your MPI job)
我试了很多方法,但还是没有成功。 我怎样才能追踪到与mpi的连接中的错误?