Skip to content

rebuild internal libfabric for impi 2019.x & more recent#1730

Merged
bartoldeman merged 3 commits intoeasybuilders:developfrom
damianam:impi_libfabric
May 17, 2019
Merged

rebuild internal libfabric for impi 2019.x & more recent#1730
bartoldeman merged 3 commits intoeasybuilders:developfrom
damianam:impi_libfabric

Conversation

@damianam
Copy link
Copy Markdown
Member

…better fit the running system

@damianam damianam added this to the next release (3.9.1) milestone May 15, 2019
Comment thread easybuild/easyblocks/i/impi.py Outdated
Comment thread easybuild/easyblocks/i/impi.py Outdated
os.chdir(os.path.join(self.installdir, 'libfabric'))
extract_file('src.tgz', './')
libfabric_installpath = os.path.join(self.installdir, 'intel64', 'libfabric')
cmds = [
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't particularly like recreating ConfigureMake here, but it might be better than importing another easyblock. That looks even more awkward.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it may be difficult to leverage ConfigureMake here, since you'll need to convince it to not pick up on configopts, buildopts, etc. Also, lot's of the logic in there is totally irrelevant here.

This isn't too terrible (and chances are that the build procedure for libfabric will change anyway)...

Comment thread easybuild/easyblocks/i/impi.py Outdated
Comment thread easybuild/easyblocks/i/impi.py Outdated
Comment thread easybuild/easyblocks/i/impi.py Outdated
Comment thread easybuild/easyblocks/i/impi.py Outdated
Comment thread easybuild/easyblocks/i/impi.py Outdated
os.chdir(os.path.join(self.installdir, 'libfabric'))
extract_file('src.tgz', './')
libfabric_installpath = os.path.join(self.installdir, 'intel64', 'libfabric')
cmds = [
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it may be difficult to leverage ConfigureMake here, since you'll need to convince it to not pick up on configopts, buildopts, etc. Also, lot's of the logic in there is totally irrelevant here.

This isn't too terrible (and chances are that the build procedure for libfabric will change anyway)...

Comment thread easybuild/easyblocks/i/impi.py Outdated
@boegel
Copy link
Copy Markdown
Member

boegel commented May 15, 2019

@damianam Maybe also add a comment above the rebuild_libfabric option to explain why it is enabled by default?

@boegel boegel changed the title This enables the impi easyblock to rebuild the internal libfabric to … rebuild internal libfabric for impi 2019.x & more recent May 17, 2019
@boegel
Copy link
Copy Markdown
Member

boegel commented May 17, 2019

I'm a little bit hesitant to enable re-building of libfabric by default, but I didn't run into any issues with it on our systems when re-installing the various impi 2019.x easyconfigs we have.

@bartoldeman Can you take this for a spin with impi 2019.x, see if you run into any problems?

@vanzod
Copy link
Copy Markdown
Member

vanzod commented May 17, 2019

LGTM. I have tested it with impi-2019.3.199-iccifort-2019.3.199-GCC-8.3.0-2.32.eb and it builds fine.

@bartoldeman
Copy link
Copy Markdown
Contributor

Builds fine for me too, even on CentOS-6 with --try-toolchain=GCC,8.2.0-2.31.1

@bartoldeman bartoldeman merged commit 7864606 into easybuilders:develop May 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants