Dear Kenneth,

Thanks for the direct response.  It was indeed helpful.  I studied this a bit 
further and would appreciate a few more pointers on the “copy”.  I located what 
I believe the relevant configuration file is in:

EasyBuild/2.5.0/lib/python2.7/site-packages/easybuild_easyconfigs-2.5.0-py2.7.egg/easybuild/easyconfigs/o/OpenMPI

The relevant file seems to be: OpenMPI-1.8.8-GNU-4.9.3-2.25.eb

Which directory do I copy that to?  If I were to change the above file, would 
that change be kept or would easybuild figure that I hacked it and get the 
original version back?  If it keeps, I assume the change will be lost when I 
upgrade to EB 2.6.0.

On the command line would a --try-amend=configoptions+=‘--with-pmi’ and using 
the vanilla easyconfig lead anywhere?

Sorry for the large number of questions.

Best wishes
  Joachim



On 14 Jan 2016, at 19:20, Kenneth Hoste 
<[email protected]<mailto:[email protected]>> wrote:

Hi Joachim,

On 14/01/16 18:44, Joachim Hein wrote:
Hi,

To build openmpi for a slurm cluster, it seems that building pmi support into 
OpenMPI is “preferred”.  See <http://slurm.schedmd.com/mpi_guide.html#open_mpi> 
http://slurm.schedmd.com/mpi_guide.html#open_mpi.  When building openmpi 1.8.8 
with easybuild, that seems not specified on the configure.  Looking into the 
output from the build, it seems that pmi is also not used by the build.

I was looking into the docs to see the “preferred” way of massaging this, such 
that the openmpi could be used e.g. in a toolchain, but didn’t find a useful 
chapter so far.  May I please get a pointer?

To customize the OpenMPI included in whichever toolchain you're using, you can 
copy the correspondig easyconfig file for OpenMPI, and add or modify the 
"configopts" parameter value to add "--with-pmi", and then install OpenMPI 
using that easyconfig file.

You can figure out which OpenMPI is used to install the toolchain of your 
choice using "eb <toolchain>.eb --robot --dry-run", see also 
http://easybuild.readthedocs.org/en/latest/Using_the_EasyBuild_command_line.html#get-an-overview
 .

Let us know whether this helps.


regards,

Kenneth

Reply via email to