[mpich-discuss] mpich2+slurm compile: misleading wiki doku?

Dave Goodell goodell at mcs.anl.gov
Thu Dec 22 10:46:50 CST 2011


On Dec 22, 2011, at 4:19 AM CST, Stefan Friedel wrote:

> Hello all,
> I tried to compile mpich2 (1.4.1p1) with slurm (2.3.2) pmi process
> manager. slurm is installed in /opt/slurm (so libpmi.a is in
> /opt/slurm/lib and pmi.h is in /opt/slurm/include/slurm).
> 
> According to the wiki faq
> (here: http://wiki.mcs.anl.gov/mpich2/index.php/Frequently_Asked_Questions#Q:_How_do_I_use_MPICH2_with_slurm.3FI)
> I used this configure command (no CFLAGS/LDFLAGS set):
> #####
[...]
> configure: error: could not find slurm/pmi.h.  Configure aborted
> configure: error: src/pmi/slurm configure failed
> #####
> 
> After exporting CFLAGS/LDFLAGS:
[...]
> Configuration completed.
> #####
> (w/o the --with-slurm=...!).
> 
> Do I misread the documentation or should the docu be adapted/changed?

All that "--with-slurm=..." does for you is set some CFLAGS/LDFLAGS to point to your slurm installation.  If you set them yourself then this argument is unnecessary.

-Dave




More information about the mpich-discuss mailing list