Hi Åke,

Thanks - hooks look like they are exactly what I need.  Do you have a
snippet regarding PMXi for OpenMPI which you would be willing to share?

Cheers,

Loris


Åke Sandgren <[email protected]> writes:

> This is where easyhooks is your friend.
>
> Especially if it is something you want to do for all OpenMPI builds
> (with variations depending on versions).
>
> We add extra dependencies to OpenMPI and change configure flags to
> enable external PMIx/UCX for instance.
>
> And add extra env vars to the module file and more.
>
> Our hook file is getting fairly big and complex, but it avoids having to
> create our own easyconfig for OpenMPI, IntelMPI, GROMACS at the moment.
>
> On 2/12/19 10:06 AM, Loris Bennett wrote:
>> Hi,
>> 
>> I've just realised that I need to modify an easyconfig (I want to enable
>> the configuration for Slurm in OpenMPI-3.1.1-GCC-7.3.0-2.30.eb, which is
>> commented out by default).  I could just make my own copy of the
>> individual easyconfig, but I could also clone the easyconfig repo and
>> make my changes there, particularly if I want to submit pull requests
>> for other easyconfigs at a latter point.
>> 
>> However, the relationship between the easyconfigs that come with
>> EasyBuild and the ones in my local repo is unclear.  If the change I
>> make just affects the single module and none of the dependencies, then
>> the case is the same as when I just make my own copy.  However, if I
>> modify something other modules depend on, then this will need to be
>> added to the robot path.
-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email [email protected]

Reply via email to