3

嗨,我正在尝试编译 Open MPI 1.10,pmi2.h以便我可以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

对于配置的任何帮助,我将不胜感激。谢谢。

4

1 回答 1

0

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

于 2015-10-02T14:32:33.843 回答