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. -- Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden Internet: [email protected] Phone: +46 90 7866134 Fax: +46 90-580 14 Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se

