Skip to content

PGI: delete libnuma symbolic links in installation directory#888

Merged
boegel merged 3 commits intoeasybuilders:developfrom
bartoldeman:pgi
Apr 15, 2016
Merged

PGI: delete libnuma symbolic links in installation directory#888
boegel merged 3 commits intoeasybuilders:developfrom
bartoldeman:pgi

Conversation

@bartoldeman
Copy link
Copy Markdown
Contributor

If the PGI installer does NOT find an OS libnuma, makelocalrc creates
symbolic links to libpgnuma.so.
Since we use the EasyBuild libnuma, delete those symbolic links.

If the PGI installer does NOT find an OS libnuma, makelocalrc creates
symbolic links to libpgnuma.so.
Since we use the EasyBuild libnuma, delete those symbolic links.
@hpcugentbot
Copy link
Copy Markdown

Automatic reply from Jenkins: Can I test this?

Comment thread easybuild/easyblocks/p/pgi.py Outdated
for filename in ["libnuma.so", "libnuma.so.1"]:
path = os.path.join(install_abs_subdir, "lib", filename)
if os.path.islink(path):
os.remove(path)
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.

@bartoldeman: you should only do this if numactl is actually included as a dependency?

use if get_software_root('numactl') to check

@boegel
Copy link
Copy Markdown
Member

boegel commented Apr 14, 2016

Jenkins: ok to test

@boegel boegel added this to the v2.8.0 milestone Apr 14, 2016
@hpcugentbot
Copy link
Copy Markdown

Easyblocks unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1885/console for more details).

This pull request is now ready for review/testing.

Please try and find someone who can tackle this; contact @boegel if you're not sure what to do.

@hpcugentbot
Copy link
Copy Markdown

Easyblocks unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1886/console for more details).

This pull request is now ready for review/testing.

Please try and find someone who can tackle this; contact @boegel if you're not sure what to do.

@hpcugentbot
Copy link
Copy Markdown

Easyblocks unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1887/console for more details).

This pull request is now ready for review/testing.

Please try and find someone who can tackle this; contact @boegel if you're not sure what to do.


# If an OS libnuma is NOT found, makelocalrc creates symbolic links to libpgnuma.so
# If we use the EB libnuma, delete those symbolic links to ensure they are not used
if get_software_root("numactl"):
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.

you'll need to import this function too, i.e. add this on top (in alphabetical order compared to the ones already there):

from easybuild.tools.modules import get_software_root

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks and sorry for the mishap! Done, now tested correctly.

@hpcugentbot
Copy link
Copy Markdown

Easyblocks unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1888/console for more details).

This pull request is now ready for review/testing.

Please try and find someone who can tackle this; contact @boegel if you're not sure what to do.

@boegel
Copy link
Copy Markdown
Member

boegel commented Apr 15, 2016

Tested with easybuilders/easybuild-easyconfigs#2879, looks good, go going in, thanks @bartoldeman!

@boegel boegel merged commit 9e730bc into easybuilders:develop Apr 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants