[mpich-discuss] MPICH 3.1.4 with Slurm 14.11.9

Davide Vanzo vanzod at accre.vanderbilt.edu
Wed Oct 14 14:29:01 CDT 2015


Hello all,
I'm trying to compile MPICH 3.1.4 with GNU compilers 4.9.0 on a system
with Slurm 14.11.9. I want to test the performance fall when using srun
vs. mpiexec.hydra.
I followed the guide and I added the slurm flags to configure as
follows:


./configure --with-device=ch3:nemesis --prefix=$PREFIX --enable
-fortran=yes --enable-cxx --enable-shared --with-pmi=slurm --with-pm=no
--with-slurm=/usr/scheduler/slurm


The only compiler options I'm using are:

MPICHLIB_xFLAGS="-O3 -march=corei7"


MPICH builds correctly, but when I run make testing, I get the
following error:


( cd test && make  testing )
make[1]: Entering directory
`/gpfs22/local/centos6/mpich/3.1.4/nehalem/gcc49/ether/source/test'
(NOXMLCLOSE=YES && export NOXMLCLOSE && cd mpi && make testing)
make[2]: Entering directory
`/gpfs22/local/centos6/mpich/3.1.4/nehalem/gcc49/ether/source/test/mpi'
./runtests -srcdir=. -tests=testlist \
		-mpiexec=/usr/local/mpich/3.1.4/nehalem/gcc49/ether/bi
n/mpiexec -xmlfile=summary.xml \
		-tapfile=summary.tap -junitfile=summary.junit.xml
Looking in ./testlist
Processing directory attr
Looking in ./attr/testlist
Failed to build attrt; make[3]: Entering directory
`/gpfs22/local/centos6/mpich/3.1.4/nehalem/gcc49/ether/source/test/mpi/
attr'
  CC       attrt.o
  CCLD     attrt
/usr/bin/ld: cannot find -lpmi
collect2: ld returned 1 exit status
make[3]: *** [attrt] Error 1
make[3]: Leaving directory
`/gpfs22/local/centos6/mpich/3.1.4/nehalem/gcc49/ether/source/test/mpi/
attr'


although /usr/scheduler/slurm/lib/libpmi.la exists.
So I tried to explicitly use the lib and include path in the configure
options: no luck.
I also set "-L/usr/scheduler/slurm/lib" in the xFLAGS, but no effect.
Any suggestion?
Please let me know if I missed some information and thank you in
advance for your help.

Best regards,
Davide

-- 
Davide Vanzo, PhD
Application Developer
Advanced Computing Center for Research and Education (ACCRE)
Vanderbilt University - Hill Center 201
www.accre.vanderbilt.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20151014/f46072c8/attachment.html>
-------------- next part --------------
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list