After a lot of changes, I have recompiled all. I have executed these
   steps:

     1. First of all, I have compiled contrib "pmi" package allocate
       inside SLURM 17.02.7 folder: cd contribs/pmi2 && make && make
       install --> pmi2 libs and includes created have been copied to my
       SLURM destination folder (/soft/slurm). There, now I can find two
       subolders (lib and include) with some files inside

     2. I have compiled SLURM --> ./configure
       --prefix=/soft/slurm-17.02.7 --with-pmix=/soft/slurm-17.02.7/
       --enable-pam --with-munge=/usr/lib64/
       --with-mysql_config=/usr/bin/

     3. I have compiled OpenMPI-1.8.1 --> ./configure
       --prefix=/soft/openmpi-1.8.1-v2 --with-slurm --with-valgrind
       --with-threads --enable-mpi-thread-multiple
       --with-pmi=/soft/slurm-17.02.7/

   Now, after that, should srun distribute correctly my tasks as mpirun
   does right?


   Thanks.


   El 09/10/2017 a las 11:56, Chris Samuel escribió:

     On Monday, 9 October 2017 8:46:21 PM AEDT Sysadmin CAOS wrote:
       

       Mmmm, yes... CentOS only offers PMIX packages and I don't know where I
       can find PMI{1,2} packages... How should I compile SLURM?     

     To compile Slurm to support PMIx you need to have this in your configure:
     
     --with-pmix=${PATH_TO_PMIX}
     
     for PMI2 you need to build and install the contributed support:
     
     cd contribs/pmi2/ && make && make install
     
     I've also noticed you talk about Open-MPI 1.8.x, but PMIx support did not 
     arrive in Open-MPI (if I'm understanding things correctly) until v2.0.0.
<!-- tmpl_var LEFT_BRACKET -->1<!-- tmpl_var RIGHT_BRACKET -->     
https://github.com/pmix/pmix/issues/74#issuecomment-209594410     
     Hope this helps!
     Chris

   


   <!-- tmpl_var LEFT_BRACKET -->1<!-- tmpl_var RIGHT_BRACKET --> 
https://github.com/pmix/pmix/issues/74#issuecomment-209594410


Reply via email to