Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: [OMPI devel] Linking with slurm pmi when slurm is not in a standard path
From: Guillaume.Papaure_at_[hidden]
Date: 2012-10-30 12:11:26

I'm building openmpi with pmi support but there is an error during
Currently slurm is not installed in standard /usr directory.
The configure is giving an error like :
 ./configure --prefix=/home_nfs/papaureg/soft/openmpi-1.9a1hg155f02ad65ba
checking if user requested PMI support... yes
checking if PMI support installed... checking pmi.h usability... yes
checking pmi.h presence... yes
checking for pmi.h... yes
checking for PMI_Init in -lpmi... no
configure: WARNING: PMI support requested (via --with-pmi) but not found.
configure: error: Aborting.

A quick look at config.log points the problem :
/usr/bin/ld: warning:, needed by
/homes/papaureg/soft/slurm/usr/lib64/, not found (try using
-rpath or -rpath-link)
/homes/papaureg/soft/slurm/usr/lib64/ undefined reference to
/homes/papaureg/soft/slurm/usr/lib64/ undefined reference to
/homes/papaureg/soft/slurm/usr/lib64/ undefined reference to
/homes/papaureg/soft/slurm/usr/lib64/ undefined reference to
/homes/papaureg/soft/slurm/usr/lib64/ undefined reference to

Here is, in attachement, a patch to orte_check_pmi.m4 that solved this
issue for me. This patch can also be used on 1.6 branch.

  • application/octet-stream attachment: pmi.diff