我正在尝试在Fedora 21使用'mpif90'编译一些代码。
首先,我使用'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软件包,但它无法编译。