我正在尝试使用“mpif90”在 Fedora 21 中编译一些代码。
首先我用'yum'安装openmpi:
[root@localhost Inversion]# yum install openmpi
Loaded plugins: langpacks
Package openmpi-1.8.3-2.fc21.x86_64 already installed and latest version
Nothing to do
但是当我使用'make'编译时它不起作用:
[root@localhost Inversion]# make all
mpif90 -O3 -c src/dispersion.f90
make: mpif90: Command not found
Makefile:18: recipe for target 'obj' failed
make: *** [obj] Error 127
如您所见,我已经下载了 openmpi 包,但它不会编译。