嗨,我正在尝试编译 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
对于配置的任何帮助,我将不胜感激。谢谢。