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


Hi,
I'm building openmpi with pmi support but there is an error during
configure.
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
--with-slurm=/homes/papaureg/soft/slurm/usr
--with-pmi=/homes/papaureg/soft/slurm/usr
...
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
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: libslurm.so.25, needed by
/homes/papaureg/soft/slurm/usr/lib64/libpmi.so, not found (try using
-rpath or -rpath-link)
/homes/papaureg/soft/slurm/usr/lib64/libpmi.so: undefined reference to
`slurm_get_kvs_comm_set'
/homes/papaureg/soft/slurm/usr/lib64/libpmi.so: undefined reference to
`slurm_send_kvs_comm_set'
/homes/papaureg/soft/slurm/usr/lib64/libpmi.so: undefined reference to
`slurm_kill_job_step'
/homes/papaureg/soft/slurm/usr/lib64/libpmi.so: undefined reference to
`slurm_pmi_finalize'
/homes/papaureg/soft/slurm/usr/lib64/libpmi.so: undefined reference to
`slurm_free_kvs_comm_set'

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.
Regards,
Guillaume




  • application/octet-stream attachment: pmi.diff