Command line 安装open mpi时出错(make:没有规则使目标';全部';停止)
我正试图在Ubuntu上安装OpenMPI库 我是从www.open-mpi.org下载的 我按照说明安装它,如下所示Command line 安装open mpi时出错(make:没有规则使目标';全部';停止),command-line,ubuntu-12.04,openmpi,Command Line,Ubuntu 12.04,Openmpi,我正试图在Ubuntu上安装OpenMPI库 我是从www.open-mpi.org下载的 我按照说明安装它,如下所示 ./configure --prefix=$HOME/opt/openmpi make all make install 当我得到makeall命令时,它给出了以下错误 make :*** No rule to make target 'all' Stop 我不知道是什么原因导致了这样的错误我找到了错误的答案,即配置中没有g++和gfortran编译器 因此,您必须使
./configure --prefix=$HOME/opt/openmpi
make all
make install
当我得到makeall命令时,它给出了以下错误
make :*** No rule to make target 'all' Stop
我不知道是什么原因导致了这样的错误我找到了错误的答案,即配置中没有g++和gfortran编译器 因此,您必须使用 sudo apt get安装g++gfortran 或者禁用它们 我现在有另一个问题,当我试图编译代码时,它给了我以下错误 无法打开模块文件“mpi.mod”以在(1)读取:没有此类文件或目录
有人知道答案吗?新问题应单独提出。你不会让任何人在答案中回答问题。