You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I report a bug affecting EasyBuild on Cray systems (file libsci.py) with the Cray Programming Environment (CPE) 23.12. The bug should be fixed in CPE 24.03 according to HPE/Cray staff, therefore the impact is limited:
The environment variable name referenced in line 68 changed from CRAY_LIBSCI_PREFIX_DIR to CRAY_PE_LIBSCI_PREFIX_DIR
I have manually fixed line 69 using the workaround below: root = os.getenv('CRAY_LIBSCI_PREFIX_DIR', None) or os.getenv('CRAY_PE_LIBSCI_PREFIX_DIR', None)
The environment variable name should be fixed back to the original one in CPE 24.03 (I did not have the chance to test it yet, though). Since CPE variable names change sometimes, it might be useful to give the option to read the prefix of the external module cray-libsci from a metadata file instead of having it hard coded.
The text was updated successfully, but these errors were encountered:
@lucamar Do you think it's worth also considering $CRAY_PE_LIBSCI_PREFIX_DIR as a fallback in libsci.py to dance around this? That's a pretty easy change...
Thanks @boegel: yes, that's likely the quickest workaround, that I've also implemented manually. Hopefully this bug will only affect CPE 23.12, as reported by HPE staff
boegel
added a commit
to boegel/easybuild-framework
that referenced
this issue
Jun 6, 2024
Hi, I report a bug affecting EasyBuild on Cray systems (file libsci.py) with the Cray Programming Environment (CPE) 23.12. The bug should be fixed in CPE 24.03 according to HPE/Cray staff, therefore the impact is limited:
CRAY_LIBSCI_PREFIX_DIR
toCRAY_PE_LIBSCI_PREFIX_DIR
root = os.getenv('CRAY_LIBSCI_PREFIX_DIR', None) or os.getenv('CRAY_PE_LIBSCI_PREFIX_DIR', None)
The environment variable name should be fixed back to the original one in CPE 24.03 (I did not have the chance to test it yet, though). Since CPE variable names change sometimes, it might be useful to give the option to read the
prefix
of the external modulecray-libsci
from a metadata file instead of having it hard coded.The text was updated successfully, but these errors were encountered: