为什么无法打开MPI配置查找pmi2.h库?

时间:2015-10-01 00:00:42

标签: configure openmpi slurm

您好我正在尝试使用pmi2.h编译Open MPI 1.10,以便我可以根据此处的说明使用srun命令https://www.open-mpi.org/faq/?category=slurm

这是我的配置命令

[avinash@baribu openmpi-1.10.0]$ ./configure CC=gcc CXX=g++ FC=gfortran --prefix=/home/avinash/openmpi110 --with-slurm --with-sge --with-pmi=/usr/include/slurm

但我在最后收到错误消息

--- MCA component common:pmi (m4 configuration macro)
checking for MCA component common:pmi compile mode... dso
checking if user requested PMI support... yes
checking if PMI support can be built... no
configure: WARNING: PMI support requested (via --with-pmi) but neither pmi.h
configure: WARNING: nor pmi2.h were found under locations:
configure: WARNING:     /usr/include/slurm
configure: WARNING:     /usr/include/slurm/slurm
configure: WARNING: Specified path: /usr/include/slurm
configure: WARNING: OR neither libpmi nor libpmi2 were found under:
configure: WARNING:     /usr/include/slurm/lib
configure: WARNING:     /usr/include/slurm/lib64
configure: WARNING: Specified path: 
configure: error: Aborting

这很奇怪,因为我在pmi2.h

中看到了/usr/include/slurm文件
[avinash@baribu openmpi-1.10.0]$ ls /usr/include/slurm
pmi2.h  pmi.h  slurmdb.h  slurm_errno.h  slurm.h  smd_ns.h  spank.h

我将非常感谢您对配置的任何帮助。感谢。

1 个答案:

答案 0 :(得分:0)

您最好的办法是将http://www.open-mpi.org/community/help/下请求的信息通过电子邮件发送给Open MPI用户邮件列表。特别是config.log文件可能包含更多信息。