Hi,

On Aug 7, 2015, at 7:53 AM, Kenneth Hoste <[email protected]> wrote:
[..]
>>    configopts += " --with-slurm"
>> 
>> I think if there's a similar way to fix OpenMPI too.
>> 
> 
> There's no easyblock for OpenMPI, since OpenMPI is installed using the 
> generic ConfigureMake easyblock, so you can't just go and patch openmpi.py 
> like you did for gcc.py.
> 
> If you really want to fix it in one place, you could modify your 
> configuremake.py with something like:
> 
> if self.name == 'OpenMPI':
>     self.cfg.update('configopts', '--with-slurm’)

I thought .ebp may be poor approach, until I saw the above :)
for reference: https://github.com/hpcugent/easybuild-framework/issues/544
The concept of piping easyconfigs via a pipe *filter* might prove generic;
using prefix-matching (fi. OpenMPI*, HPCBIOS_*, R-3*) could prove quite useful.

Let me iterate here the requirements we would like to meet, they are:
* modify all OpenMPIs in one place => be generic across multiple easyconfigs
* be portable across sites => preferably, a little git'able file
* ability to survive EasyBuild upgrades (for me that’s a major point)
* if possible, propagate modifications to users’ environments (think 
INTEL_LICENSE_SERVER)
  (this last one is somewhat controversial, no need to comment on that)

Fotis


-- 
echo "sysadmin know better bash than english" | sed s/min/mins/ \
  | sed 's/better bash/bash better/' # signal detected in a CERN forum






Reply via email to