Skip to content

Support the concept of .ebp patch file or similar, for local site modifications #544

@fgeorgatos

Description

@fgeorgatos

This in effect will allow to store patchfiles at local HPC sites as opposed to complete easyconfigs, which has the important advantage of allowing to benefit from upstream updates & bugfixes (think of MPI stacks that require local tuning, about this).

I think the following will help understand the use-case:

sw@gaia-13:~$ diff uni.lu-customizations/OpenMPI-1.4.5-GCC-4.6.3-no-OFED.eb /opt/apps/HPCBIOS.20130301/software/EasyBuild/1.2.0/lib/python2.6/site-packages/easybuild_easyconfigs-1.2.0.0-py2.6.egg/easybuild/easyconfigs/o/OpenMPI/OpenMPI-1.4.5-GCC-4.6.3-no-OFED.eb
13c13
< configopts = '--with-threads=posix --enable-shared --enable-mpi-threads '

---
> configopts = '--with-threads=posix --enable-shared --enable-mpi-threads'
16,19d15
<
< # FG, 20130306; customization for University of Luxembourg systems
< patches += ['openmpi-mca-params.conf-unilu.patch']
< configopts += '--with-openib --enable-mpirun-prefix-by-default '
sw@gaia-13:~$ cat uni.lu-customizations/openmpi-mca-params.conf-unilu.patch
--- opal/etc/openmpi-mca-params.conf.orig   2009-12-08 21:36:08.000000000 +0100
+++ opal/etc/openmpi-mca-params.conf    2013-03-06 08:13:21.216969244 +0100
@@ -56,3 +56,8 @@

 # See "ompi_info --param all all" for a full listing of Open MPI MCA
 # parameters available and their default values.
+
+# FG, 20130306; customization for University of Luxembourg systems
+btl_openib_if_exclude=mlx4_1
+btl_openib_warn_nonexistent_if=0
+plm_rsh_agent=oarsh

It is important to support this in the framework, to allow automated pick-up of such diffs during robotic builds with dependencies etc.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions