Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update IPP easyblock to support versions >= 2021.2 #2672

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from

Conversation

maxim-masterov
Copy link
Contributor

Install IPP from OneAPI as a stand-alone component

easybuild/easyblocks/i/ipp.py Outdated Show resolved Hide resolved
@boegel boegel added the update label Feb 16, 2022
@boegel boegel added this to the 4.x milestone Feb 16, 2022
@boegel boegel changed the title Add support for IPP >= 2021.2 update IPP easyblock to support versions >= 2021.2 Feb 16, 2022
@boegel
Copy link
Member

boegel commented Mar 1, 2022

@maxim-masterov This definitely needs a bit more love, trying to install ipp-2017.1.132.eb with this updated easyblock crashes hard (while it works fine with ipp.py that we currently have in develop):

ERROR: Traceback (most recent call last):
  File "/tmp/easybuild/easybuild-framework/easybuild/main.py", line 128, in build_and_install_software
    (ec_res['success'], app_log, err) = build_and_install_one(ec, init_env)
  File "/tmp/easybuild/easybuild-framework/easybuild/framework/easyblock.py", line 4020, in build_and_install_one
    result = app.run_all_steps(run_test_cases=run_test_cases)
  File "/tmp/easybuild/easybuild-framework/easybuild/framework/easyblock.py", line 3903, in run_all_steps
    self.run_step(step_name, step_methods)
  File "/tmp/easybuild/easybuild-framework/easybuild/framework/easyblock.py", line 3738, in run_step
    step_method(self)()
  File "/tmp/eb-u3sn74hj/included-easyblocks-afs2dibo/easybuild/easyblocks/ipp.py", line 95, in install_step
    super(EB_ipp, self).install_step(silent_cfg_names_map=silent_cfg_names_map, silent_cfg_extras=silent_cfg_extras)
  File "/tmp/easybuild/easybuild-easyblocks/easybuild/easyblocks/generic/intelbase.py", line 459, in install_step
    return self.install_step_classic(*args, **kwargs)
  File "/tmp/easybuild/easybuild-easyblocks/easybuild/easyblocks/generic/intelbase.py", line 316, in install_step_classic
    if self.serial_number or self.requires_runtime_license:
AttributeError: 'EB_ipp' object has no attribute 'serial_number'

easybuild/easyblocks/i/ipp.py Outdated Show resolved Hide resolved
@maxim-masterov
Copy link
Contributor Author

Sorry, I lost track of this one. @boegel, I added a few fixes but I do not have ipp-2017.1, so I can't check if the incorporated changes resolved the issue you mentioned

@boegel
Copy link
Member

boegel commented Feb 15, 2023

Test report by @boegel

Overview of tested easyconfigs (in order)

  • **FAIL (unhandled exception: 'EB_ipp' object has no attribute 'serial_number')Traceback (most recent call last):
    File "/data/gent/400/vsc40023/easybuild_easy_installed/lib/python3.6/site-packages/easybuild_framework-4.7.1.dev0-py3.6.egg/easybuild/main.py", line 132, in build_and_install_software
    (ec_res['success'], app_log, err) = build_and_install_one(ec, init_env)
    File "/data/gent/400/vsc40023/easybuild_easy_installed/lib/python3.6/site-packages/easybuild_framework-4.7.1.dev0-py3.6.egg/easybuild/framework/easyblock.py", line 4191, in build_and_install_one
    result = app.run_all_steps(run_test_cases=run_test_cases)
    File "/data/gent/400/vsc40023/easybuild_easy_installed/lib/python3.6/site-packages/easybuild_framework-4.7.1.dev0-py3.6.egg/easybuild/framework/easyblock.py", line 4074, in run_all_steps
    self.run_step(step_name, step_methods)
    File "/data/gent/400/vsc40023/easybuild_easy_installed/lib/python3.6/site-packages/easybuild_framework-4.7.1.dev0-py3.6.egg/easybuild/framework/easyblock.py", line 3909, in run_step
    step_method(self)()
    File "/tmp/eb-ah3dqfw6/included-easyblocks-eodjn3nr/easybuild/easyblocks/ipp.py", line 99, in install_step
    super(EB_ipp, self).install_step(silent_cfg_names_map=silent_cfg_names_map, silent_cfg_extras=silent_cfg_extras)
    File "/data/gent/400/vsc40023/easybuild_easy_installed/lib/python3.6/site-packages/easybuild_easyblocks-4.7.1.dev0-py3.6.egg/easybuild/easyblocks/generic/intelbase.py", line 460, in install_step
    return self.install_step_classic(*args, **kwargs)
    File "/data/gent/400/vsc40023/easybuild_easy_installed/lib/python3.6/site-packages/easybuild_easyblocks-4.7.1.dev0-py3.6.egg/easybuild/easyblocks/generic/intelbase.py", line 317, in install_step_classic
    if self.serial_number or self.requires_runtime_license:
    AttributeError: 'EB_ipp' object has no attribute 'serial_number'
    ** ipp-2017.1.132.eb
  • **FAIL (unhandled exception: 'EB_ipp' object has no attribute 'serial_number')Traceback (most recent call last):
    File "/data/gent/400/vsc40023/easybuild_easy_installed/lib/python3.6/site-packages/easybuild_framework-4.7.1.dev0-py3.6.egg/easybuild/main.py", line 132, in build_and_install_software
    (ec_res['success'], app_log, err) = build_and_install_one(ec, init_env)
    File "/data/gent/400/vsc40023/easybuild_easy_installed/lib/python3.6/site-packages/easybuild_framework-4.7.1.dev0-py3.6.egg/easybuild/framework/easyblock.py", line 4191, in build_and_install_one
    result = app.run_all_steps(run_test_cases=run_test_cases)
    File "/data/gent/400/vsc40023/easybuild_easy_installed/lib/python3.6/site-packages/easybuild_framework-4.7.1.dev0-py3.6.egg/easybuild/framework/easyblock.py", line 4074, in run_all_steps
    self.run_step(step_name, step_methods)
    File "/data/gent/400/vsc40023/easybuild_easy_installed/lib/python3.6/site-packages/easybuild_framework-4.7.1.dev0-py3.6.egg/easybuild/framework/easyblock.py", line 3909, in run_step
    step_method(self)()
    File "/tmp/eb-ah3dqfw6/included-easyblocks-eodjn3nr/easybuild/easyblocks/ipp.py", line 99, in install_step
    super(EB_ipp, self).install_step(silent_cfg_names_map=silent_cfg_names_map, silent_cfg_extras=silent_cfg_extras)
    File "/data/gent/400/vsc40023/easybuild_easy_installed/lib/python3.6/site-packages/easybuild_easyblocks-4.7.1.dev0-py3.6.egg/easybuild/easyblocks/generic/intelbase.py", line 460, in install_step
    return self.install_step_classic(*args, **kwargs)
    File "/data/gent/400/vsc40023/easybuild_easy_installed/lib/python3.6/site-packages/easybuild_easyblocks-4.7.1.dev0-py3.6.egg/easybuild/easyblocks/generic/intelbase.py", line 317, in install_step_classic
    if self.serial_number or self.requires_runtime_license:
    AttributeError: 'EB_ipp' object has no attribute 'serial_number'
    ** ipp-7.0.5.233.eb
  • **FAIL (unhandled exception: 'EB_ipp' object has no attribute 'serial_number')Traceback (most recent call last):
    File "/data/gent/400/vsc40023/easybuild_easy_installed/lib/python3.6/site-packages/easybuild_framework-4.7.1.dev0-py3.6.egg/easybuild/main.py", line 132, in build_and_install_software
    (ec_res['success'], app_log, err) = build_and_install_one(ec, init_env)
    File "/data/gent/400/vsc40023/easybuild_easy_installed/lib/python3.6/site-packages/easybuild_framework-4.7.1.dev0-py3.6.egg/easybuild/framework/easyblock.py", line 4191, in build_and_install_one
    result = app.run_all_steps(run_test_cases=run_test_cases)
    File "/data/gent/400/vsc40023/easybuild_easy_installed/lib/python3.6/site-packages/easybuild_framework-4.7.1.dev0-py3.6.egg/easybuild/framework/easyblock.py", line 4074, in run_all_steps
    self.run_step(step_name, step_methods)
    File "/data/gent/400/vsc40023/easybuild_easy_installed/lib/python3.6/site-packages/easybuild_framework-4.7.1.dev0-py3.6.egg/easybuild/framework/easyblock.py", line 3909, in run_step
    step_method(self)()
    File "/tmp/eb-ah3dqfw6/included-easyblocks-eodjn3nr/easybuild/easyblocks/ipp.py", line 99, in install_step
    super(EB_ipp, self).install_step(silent_cfg_names_map=silent_cfg_names_map, silent_cfg_extras=silent_cfg_extras)
    File "/data/gent/400/vsc40023/easybuild_easy_installed/lib/python3.6/site-packages/easybuild_easyblocks-4.7.1.dev0-py3.6.egg/easybuild/easyblocks/generic/intelbase.py", line 460, in install_step
    return self.install_step_classic(*args, **kwargs)
    File "/data/gent/400/vsc40023/easybuild_easy_installed/lib/python3.6/site-packages/easybuild_easyblocks-4.7.1.dev0-py3.6.egg/easybuild/easyblocks/generic/intelbase.py", line 317, in install_step_classic
    if self.serial_number or self.requires_runtime_license:
    AttributeError: 'EB_ipp' object has no attribute 'serial_number'
    ** ipp-8.1.0.144.eb
  • **FAIL (unhandled exception: 'EB_ipp' object has no attribute 'serial_number')Traceback (most recent call last):
    File "/data/gent/400/vsc40023/easybuild_easy_installed/lib/python3.6/site-packages/easybuild_framework-4.7.1.dev0-py3.6.egg/easybuild/main.py", line 132, in build_and_install_software
    (ec_res['success'], app_log, err) = build_and_install_one(ec, init_env)
    File "/data/gent/400/vsc40023/easybuild_easy_installed/lib/python3.6/site-packages/easybuild_framework-4.7.1.dev0-py3.6.egg/easybuild/framework/easyblock.py", line 4191, in build_and_install_one
    result = app.run_all_steps(run_test_cases=run_test_cases)
    File "/data/gent/400/vsc40023/easybuild_easy_installed/lib/python3.6/site-packages/easybuild_framework-4.7.1.dev0-py3.6.egg/easybuild/framework/easyblock.py", line 4074, in run_all_steps
    self.run_step(step_name, step_methods)
    File "/data/gent/400/vsc40023/easybuild_easy_installed/lib/python3.6/site-packages/easybuild_framework-4.7.1.dev0-py3.6.egg/easybuild/framework/easyblock.py", line 3909, in run_step
    step_method(self)()
    File "/tmp/eb-ah3dqfw6/included-easyblocks-eodjn3nr/easybuild/easyblocks/ipp.py", line 99, in install_step
    super(EB_ipp, self).install_step(silent_cfg_names_map=silent_cfg_names_map, silent_cfg_extras=silent_cfg_extras)
    File "/data/gent/400/vsc40023/easybuild_easy_installed/lib/python3.6/site-packages/easybuild_easyblocks-4.7.1.dev0-py3.6.egg/easybuild/easyblocks/generic/intelbase.py", line 460, in install_step
    return self.install_step_classic(*args, **kwargs)
    File "/data/gent/400/vsc40023/easybuild_easy_installed/lib/python3.6/site-packages/easybuild_easyblocks-4.7.1.dev0-py3.6.egg/easybuild/easyblocks/generic/intelbase.py", line 317, in install_step_classic
    if self.serial_number or self.requires_runtime_license:
    AttributeError: 'EB_ipp' object has no attribute 'serial_number'
    ** ipp-9.0.1.150.eb

Build succeeded for 0 out of 4 (4 easyconfigs in total)
node3708.slaking.os - Linux RHEL 8.6, x86_64, Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz (haswell), Python 3.6.8
See https://gist.github.com/de24dda7ab2e35a2a6ca302804988da7 for a full test report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants