[mpich-discuss] MPICH 3.1.4 with Slurm 14.11.9

Balaji, Pavan balaji at anl.gov
Wed Oct 14 15:17:32 CDT 2015


Can you make sure you have SLURM's libpmi in the location you specified below (/usr/scheduler/slurm/lib)?

  -- Pavan

From: Davide Vanzo
Reply-To: "discuss at mpich.org<mailto:discuss at mpich.org>"
Date: Wednesday, October 14, 2015 at 2:29 PM
To: "discuss at mpich.org<mailto:discuss at mpich.org>"
Subject: [mpich-discuss] MPICH 3.1.4 with Slurm 14.11.9

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/bin/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<http://www.accre.vanderbilt.edu/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20151014/a754d4ec/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