Skip to content

Commit

Permalink
Merge branch 'nessi.no-2023.06' of https://github.com/NorESSI/softwar…
Browse files Browse the repository at this point in the history
…e-layer into eessi-2023.06-WRF/4.3-dmpar-foss/2021a
  • Loading branch information
Richard Top committed Jul 4, 2023
2 parents a8b9fb9 + bc8d50b commit 5ebaaa5
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 19 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test_eessi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
- x86_64/generic
EASYSTACK_FILE:
- eessi-2023.06-eb-4.7.2-2021a.yml
- eessi-2023.06-eb-4.7.2-2021b.yml
- eessi-2023.06-eb-4.7.2-2022a.yml
- eessi-2023.06-eb-4.7.2-2022b.yml
steps:
- name: Check out software-layer repository
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
Expand Down
16 changes: 16 additions & 0 deletions eb_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,21 @@ def parse_hook_fontconfig_add_fonts(ec, eprefix):
raise EasyBuildError("fontconfig-specific hook triggered for non-fontconfig easyconfig?!")


def parse_hook_openblas_relax_lapack_tests_num_errors(ec, eprefix):
"""Relax number of failing numerical LAPACK tests."""
if ec.name == 'OpenBLAS':
cfg_option = 'max_failing_lapack_tests_num_errors'
num_errors = 302
if get_cpu_architecture() == AARCH64:
# relax number of failed numerical LAPACK tests
ec[cfg_option] = num_errors
print_msg("Set '%s = %d' in easyconfig for %s on AARCH64", cfg_option, num_errors, ec.name)
else:
print_msg("Not changing option %s for %s on non-AARCH64", cfg_option, ec.name)
else:
raise EasyBuildError("OpenBLAS-specific hook triggered for non-OpenBLAS easyconfig?!")


def parse_hook_ucx_eprefix(ec, eprefix):
"""Make UCX aware of compatibility layer via additional configuration options."""
if ec.name == 'UCX':
Expand Down Expand Up @@ -232,6 +247,7 @@ def pre_configure_hook_wrf_aarch64(self, *args, **kwargs):
PARSE_HOOKS = {
'CGAL': parse_hook_cgal_toolchainopts_precise,
'fontconfig': parse_hook_fontconfig_add_fonts,
'OpenBLAS': parse_hook_openblas_relax_lapack_tests_num_errors,
'UCX': parse_hook_ucx_eprefix,
}

Expand Down
14 changes: 8 additions & 6 deletions eessi-2023.06-eb-4.7.2-2021a.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
easyconfigs:
- OpenSSL-1.1.eb:
options:
include-easyblocks-from-pr: 2922
- OpenSSL-1.1.eb
# - OpenSSL-1.1.eb:
# options:
# include-easyblocks-from-pr: 2922
- GCC-10.3.0
- CMake-3.20.1-GCCcore-10.3.0.eb:
options:
include-easyblocks-from-pr: 2248
- CMake-3.20.1-GCCcore-10.3.0.eb
# - CMake-3.20.1-GCCcore-10.3.0.eb:
# options:
# include-easyblocks-from-pr: 2248
- Rust-1.52.1-GCCcore-10.3.0.eb
- foss-2021a.eb
- QuantumESPRESSO-6.7-foss-2021a.eb
Expand Down
24 changes: 14 additions & 10 deletions eessi-2023.06-eb-4.7.2-2021b.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
easyconfigs: []
# remove above '[]' when adding easyconfigs from the below list
#- GCC-11.2.0
#- CMake-3.21.1-GCCcore-11.2.0.eb:
# options:
# include-easyblocks-from-pr: 2248
#- CMake-3.22.1-GCCcore-11.2.0.eb:
# options:
# include-easyblocks-from-pr: 2248
#- zlib-1.2.11-GCCcore-11.2.0
easyconfigs:
- GCC-11.2.0
- CMake-3.21.1-GCCcore-11.2.0.eb
# - CMake-3.21.1-GCCcore-11.2.0.eb:
# options:
# include-easyblocks-from-pr: 2248
- OpenMPI-4.1.1-GCC-11.2.0.eb
- FFTW-3.3.10-gompi-2021b.eb
- BLIS-0.8.1-GCC-11.2.0.eb
- foss-2021b.eb
# - CMake-3.22.1-GCCcore-11.2.0.eb:
# options:
# include-easyblocks-from-pr: 2248
# - zlib-1.2.11-GCCcore-11.2.0
14 changes: 11 additions & 3 deletions eessi-2023.06-eb-4.7.2-2022a.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
easyconfigs: []
# remove above '[]' when adding easyconfigs from the below list
#- GCC-11.3.0
easyconfigs:
- GCC-11.3.0
- CMake-3.23.1-GCCcore-11.3.0.eb
# - CMake-3.23.1-GCCcore-11.3.0.eb:
# options:
# include-easyblocks-from-pr: 2248
- BLIS-0.9.0-GCC-11.3.0.eb
- OpenMPI-4.1.4-GCC-11.3.0.eb
- FFTW.MPI-3.3.10-gompi-2022a.eb
- foss-2022a.eb
- Python-3.10.4-GCCcore-11.3.0.eb
11 changes: 11 additions & 0 deletions eessi-2023.06-eb-4.7.2-2022b.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
easyconfigs:
- GCC-12.2.0
- CMake-3.24.3-GCCcore-12.2.0.eb
# - CMake-3.24.3-GCCcore-12.2.0.eb:
# options:
# include-easyblocks-from-pr: 2248
- BLIS-0.9.0-GCC-12.2.0.eb
- OpenMPI-4.1.4-GCC-12.2.0.eb
- FFTW.MPI-3.3.10-gompi-2022b.eb
- Python-3.10.8-GCCcore-12.2.0.eb
- foss-2022b.eb

0 comments on commit 5ebaaa5

Please sign in to comment.