From 533de048fc0aad065c621fb06d9c2d05ea62e32c Mon Sep 17 00:00:00 2001 From: Simon Branford Date: Thu, 26 Aug 2021 11:11:00 +0100 Subject: [PATCH 1/2] Use OpenBLAS directly on POWER for foss toolchain --- easybuild/easyconfigs/f/foss/foss-2021.07.eb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/f/foss/foss-2021.07.eb b/easybuild/easyconfigs/f/foss/foss-2021.07.eb index 50ec77cbbc3..868620fb78b 100644 --- a/easybuild/easyconfigs/f/foss/foss-2021.07.eb +++ b/easybuild/easyconfigs/f/foss/foss-2021.07.eb @@ -19,7 +19,8 @@ local_comp_mpi_tc = ('gompi', version) dependencies = [ ('GCC', local_gccver), ('OpenMPI', '4.1.1', '', ('GCC', local_gccver)), - ('FlexiBLAS', '3.0.4', '', ('GCC', local_gccver)), + ('FlexiBLAS', {'arch=*': '3.0.4', 'arch=POWER': False}, '', ('GCC', local_gccver)), + ('OpenBLAS', {'arch=*': False, 'arch=POWER': '0.3.17'}, '', ('GCC', local_gccver)), ('FFTW', '3.3.9', '', local_comp_mpi_tc), ('ScaLAPACK', '2.1.0', '-fb', local_comp_mpi_tc), ] From d161216e0a1ebc5c745906fff4eb0812ce11d987 Mon Sep 17 00:00:00 2001 From: Simon Branford Date: Wed, 1 Sep 2021 09:26:18 +0100 Subject: [PATCH 2/2] foss-2021a and add a comment --- easybuild/easyconfigs/f/foss/foss-2021.07.eb | 1 + easybuild/easyconfigs/f/foss/foss-2021a.eb | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/f/foss/foss-2021.07.eb b/easybuild/easyconfigs/f/foss/foss-2021.07.eb index 868620fb78b..6e06d30b18a 100644 --- a/easybuild/easyconfigs/f/foss/foss-2021.07.eb +++ b/easybuild/easyconfigs/f/foss/foss-2021.07.eb @@ -19,6 +19,7 @@ local_comp_mpi_tc = ('gompi', version) dependencies = [ ('GCC', local_gccver), ('OpenMPI', '4.1.1', '', ('GCC', local_gccver)), + # FlexiBLAS with OpenBLAS crashes on POWER (#12968), so use OpenBLAS directly on POWER ('FlexiBLAS', {'arch=*': '3.0.4', 'arch=POWER': False}, '', ('GCC', local_gccver)), ('OpenBLAS', {'arch=*': False, 'arch=POWER': '0.3.17'}, '', ('GCC', local_gccver)), ('FFTW', '3.3.9', '', local_comp_mpi_tc), diff --git a/easybuild/easyconfigs/f/foss/foss-2021a.eb b/easybuild/easyconfigs/f/foss/foss-2021a.eb index 83dca5bcec8..35fe0c9ff20 100644 --- a/easybuild/easyconfigs/f/foss/foss-2021a.eb +++ b/easybuild/easyconfigs/f/foss/foss-2021a.eb @@ -19,7 +19,9 @@ local_comp_mpi_tc = ('gompi', version) dependencies = [ ('GCC', local_gccver), ('OpenMPI', '4.1.1', '', ('GCC', local_gccver)), - ('FlexiBLAS', '3.0.4', '', ('GCC', local_gccver)), + # FlexiBLAS with OpenBLAS crashes on POWER (#12968), so use OpenBLAS directly on POWER + ('FlexiBLAS', {'arch=*': '3.0.4', 'arch=POWER': False}, '', ('GCC', local_gccver)), + ('OpenBLAS', {'arch=*': False, 'arch=POWER': '0.3.15'}, '', ('GCC', local_gccver)), ('FFTW', '3.3.9', '', local_comp_mpi_tc), ('ScaLAPACK', '2.1.0', '-fb', local_comp_mpi_tc), ]