From 46625aa619dc1bcd4040013d83d752a57908ffff Mon Sep 17 00:00:00 2001 From: Sebastian Achilles Date: Thu, 28 Sep 2023 22:07:45 +0200 Subject: [PATCH 1/2] adding easyconfigs: ScaLAPACK-2.2.0-gompi-2023b-fb.eb --- .../ScaLAPACK-2.2.0-gompi-2023b-fb.eb | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 easybuild/easyconfigs/s/ScaLAPACK/ScaLAPACK-2.2.0-gompi-2023b-fb.eb diff --git a/easybuild/easyconfigs/s/ScaLAPACK/ScaLAPACK-2.2.0-gompi-2023b-fb.eb b/easybuild/easyconfigs/s/ScaLAPACK/ScaLAPACK-2.2.0-gompi-2023b-fb.eb new file mode 100644 index 00000000000..c52e40f7733 --- /dev/null +++ b/easybuild/easyconfigs/s/ScaLAPACK/ScaLAPACK-2.2.0-gompi-2023b-fb.eb @@ -0,0 +1,40 @@ +name = 'ScaLAPACK' +version = '2.2.0' +versionsuffix = '-fb' + +homepage = 'https://www.netlib.org/scalapack/' +description = """The ScaLAPACK (or Scalable LAPACK) library includes a subset of LAPACK routines + redesigned for distributed memory MIMD parallel computers.""" + +toolchain = {'name': 'gompi', 'version': '2023b'} +toolchainopts = {'extra_fflags': '-lpthread', 'openmp': True, 'pic': True, 'usempi': True} + +source_urls = [homepage] +sources = [SOURCELOWER_TGZ] +patches = ['ScaLAPACK-%(version)s_fix-GCC-10.patch'] +checksums = [ + '40b9406c20735a9a3009d863318cb8d3e496fb073d201c5463df810e01ab2a57', # scalapack-2.2.0.tgz + 'f6bc3c6dee012ba4a696548a2e12b6aae932ce4fd5a142153b338839f52b5906', # ScaLAPACK-2.2.0_fix-GCC-10.patch +] + +builddependencies = [ + ('CMake', '3.27.6'), +] + +dependencies = [ + ('FlexiBLAS', '3.3.1'), +] + +# Config Opts based on AOCL User Guide: +# https://developer.amd.com/wp-content/resources/AOCL_User%20Guide_2.2.pdf + +configopts = '-DBUILD_SHARED_LIBS=ON ' +configopts += '-DBLAS_LIBRARIES="$EBROOTFLEXIBLAS/lib/libflexiblas.%s" ' % SHLIB_EXT +configopts += '-DLAPACK_LIBRARIES="$EBROOTFLEXIBLAS/lib/libflexiblas.%s" ' % SHLIB_EXT + +sanity_check_paths = { + 'files': ['lib/libscalapack.%s' % SHLIB_EXT, 'lib64/libscalapack.%s' % SHLIB_EXT], + 'dirs': ["lib", "lib64"], +} + +moduleclass = 'numlib' From f8f32a4542090645c29902839bf85e03edbbe7aa Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Fri, 29 Sep 2023 12:01:54 +0200 Subject: [PATCH 2/2] use gompi/2023.09 as toolchain for ScaLAPACK 2.2.0, for now --- ....0-gompi-2023b-fb.eb => ScaLAPACK-2.2.0-gompi-2023.09-fb.eb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename easybuild/easyconfigs/s/ScaLAPACK/{ScaLAPACK-2.2.0-gompi-2023b-fb.eb => ScaLAPACK-2.2.0-gompi-2023.09-fb.eb} (96%) diff --git a/easybuild/easyconfigs/s/ScaLAPACK/ScaLAPACK-2.2.0-gompi-2023b-fb.eb b/easybuild/easyconfigs/s/ScaLAPACK/ScaLAPACK-2.2.0-gompi-2023.09-fb.eb similarity index 96% rename from easybuild/easyconfigs/s/ScaLAPACK/ScaLAPACK-2.2.0-gompi-2023b-fb.eb rename to easybuild/easyconfigs/s/ScaLAPACK/ScaLAPACK-2.2.0-gompi-2023.09-fb.eb index c52e40f7733..f9ef3a1331c 100644 --- a/easybuild/easyconfigs/s/ScaLAPACK/ScaLAPACK-2.2.0-gompi-2023b-fb.eb +++ b/easybuild/easyconfigs/s/ScaLAPACK/ScaLAPACK-2.2.0-gompi-2023.09-fb.eb @@ -6,7 +6,7 @@ homepage = 'https://www.netlib.org/scalapack/' description = """The ScaLAPACK (or Scalable LAPACK) library includes a subset of LAPACK routines redesigned for distributed memory MIMD parallel computers.""" -toolchain = {'name': 'gompi', 'version': '2023b'} +toolchain = {'name': 'gompi', 'version': '2023.09'} toolchainopts = {'extra_fflags': '-lpthread', 'openmp': True, 'pic': True, 'usempi': True} source_urls = [homepage]