Bugfix openmpi about osdeps etc #650
Conversation
|
Automatic reply from Jenkins: Can I test this? |
|
Jenkins: ok to test |
|
Hi, I'd like we bump up the priority of this one, because:
tia, |
|
ah, yeah, and also, last but not least:
|
There was a problem hiding this comment.
Why do you add dependency on IB verbs for a no-OFED build?
The '--without-openib' configure flag is used so it is actually not required.
There was a problem hiding this comment.
good catch, fixed it via b37f7a8!
is the rest of the PR reasonable to you?
Signed-off-by: Fotis Georgatos <[email protected]>
|
I have not tried the builds myself, but this looks ok to me. Once the osdependencies are fixed for the all the no-OFED variants, i think it's good to go. |
Signed-off-by: Fotis Georgatos <[email protected]>
There was a problem hiding this comment.
This is something we should avoid... We want to get rid of executing Python code in easyconfigs (see the format v2 effort) and adding if-else constructs is the exact opposite...
There was a problem hiding this comment.
A solution to this would be to support specifying alternatives in osdependencies, like we already have in sanity_check_paths:
osdependencies = [('libibverbs-devel', 'libibverbs-dev')]This needs changes to the framework though, and since we're way past the freeze for EB v1.11, it'll have to wait (sorry :().
There was a problem hiding this comment.
wait a sec: this is not something new, look fi. at this file:
- OpenMPI-1.4.5-GCC-4.6.3.eb
This PR does not really introduce new features, just homogenizes all OpenMPI sources,
to make them amenable to 1) further git branching/diffing 2) ready for easyconfig 2.0
There was a problem hiding this comment.
OK, that changes things, sorry about that. If it's already there, it makes no sense not to have it aligned across easyconfigs. Thanks for clarifying that.
There was a problem hiding this comment.
ok, no problem, I got surprised for a little while ;-)
I just reverted the unused .patch, this should make this aligned to comments made so far...
There was a problem hiding this comment.
I implemented the flexibility support for osdependencies, see easybuilders/easybuild-framework#846.
|
Jenkins: test this please |
Signed-off-by: Fotis Georgatos <[email protected]>
There was a problem hiding this comment.
@fgeorgatos: please don't include patches that are not used (and shouldn't be used, since they're site-specific)
There was a problem hiding this comment.
sure, i understand the argument, and then that applies also for the other existing patch file;
yet, if you watch carefully though, it may help a lot newcomers, because OpenMPI is seriously annoying with the change in naming of the variable for defining the connector; to make things more interesting, more recent versions reverted back to the old style and this makes this new patch interesting… anyway, I'm cool about it, if you don't like it let's drop it
There was a problem hiding this comment.
@fgeorgatos: It's not that I don't like the patch, it's just that the easyconfigs repo isn't the right place to document 'fancy hacks' (forgive me the lack of respect ;-))
There was a problem hiding this comment.
'fancy hacks':
- I don't bother for the lack of respect (I know I do fancy hacks anyhow, so I remain unfazed ;-)
- the point is, OK, how should we share the experience of customizing the MPI stacks? I really think that users of EasyBuild ("social sysadmins") would like to share such information.
And if there is a better way to do so than the proposed patch, I'm totally eager to hear that...
There was a problem hiding this comment.
With decent tools (e.g. mympirun), there's probably no need for the patch (although I haven't looked into the details, I must admit).
This is a documentation aspect, and EasyBuild isn't about documentation... Let's try and avoid making EasyBuild solve all the problems in the world. ;-)
This reverts commit e7cdefa.
|
I don't think we need to hold this back until easybuilders/easybuild-framework#846 is merged in (especially since there's some discussion there). The Thanks for the effort @fgeorgatos! |
Bugfix openmpi about osdeps etc
|
OK, good to hear this, since we can now provide site customizations over a quite decent base! |
here is an openmpi easyconfigs cleanup, triggered by the need to actually use osdeps, correctly.
The points that SHOULD be reviewed as non-trivial are:
--with-hwloc=$EBROOTHWLOCwas missing from theiccifortcase; bug??? if so, fixed.shared_lib_extforOpenMPI-1.6.5-GCC-4.7.2