From 340be43b979158483b7ff726dc5caf0194aa71b6 Mon Sep 17 00:00:00 2001 From: Richard Top Date: Thu, 11 Jul 2024 16:43:32 +0000 Subject: [PATCH 1/3] {2023.06}[GCCcore/12.3.0] Clang V16.0.6 --- .../pilot.nessi.no/2023.06/eessi-2023.06-eb-4.9.2-2023a.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/easystacks/pilot.nessi.no/2023.06/eessi-2023.06-eb-4.9.2-2023a.yml b/easystacks/pilot.nessi.no/2023.06/eessi-2023.06-eb-4.9.2-2023a.yml index 3647db049f..361723d31a 100644 --- a/easystacks/pilot.nessi.no/2023.06/eessi-2023.06-eb-4.9.2-2023a.yml +++ b/easystacks/pilot.nessi.no/2023.06/eessi-2023.06-eb-4.9.2-2023a.yml @@ -18,3 +18,4 @@ easyconfigs: - MMseqs2-14-7e284-gompi-2023a.eb - ncbi-vdb-3.0.10-gompi-2023a.eb - phonopy-2.20.0-foss-2023a.eb + - Clang-16.0.6-GCCcore-12.3.0.eb From a1a869c793e6f0fb48deb2b95d7b5acf03eb9a90 Mon Sep 17 00:00:00 2001 From: Richard Top Date: Thu, 11 Jul 2024 18:05:43 +0000 Subject: [PATCH 2/3] added memory limitation for Clang build --- eb_hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eb_hooks.py b/eb_hooks.py index f446f51d32..6c92d35819 100644 --- a/eb_hooks.py +++ b/eb_hooks.py @@ -82,7 +82,7 @@ def post_ready_hook(self, *args, **kwargs): # 'parallel' easyconfig parameter is set via EasyBlock.set_parallel in ready step based on available cores. # here we reduce parallellism to only use half of that for selected software, # to avoid failing builds/tests due to out-of-memory problems - if self.name in ['TensorFlow', 'libxc']: + if self.name in ['Clang', 'TensorFlow', 'libxc']: parallel = self.cfg['parallel'] if parallel > 1: self.cfg['parallel'] = parallel // 2 From a4cb3e89a9a5389f37c7f628ab45d414bc13c3b0 Mon Sep 17 00:00:00 2001 From: Richard Top Date: Thu, 11 Jul 2024 18:07:09 +0000 Subject: [PATCH 3/3] added memory limitation for Clang build --- eb_hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eb_hooks.py b/eb_hooks.py index 6c92d35819..b28b8ef45f 100644 --- a/eb_hooks.py +++ b/eb_hooks.py @@ -82,7 +82,7 @@ def post_ready_hook(self, *args, **kwargs): # 'parallel' easyconfig parameter is set via EasyBlock.set_parallel in ready step based on available cores. # here we reduce parallellism to only use half of that for selected software, # to avoid failing builds/tests due to out-of-memory problems - if self.name in ['Clang', 'TensorFlow', 'libxc']: + if self.name in ['Clang', 'libxc', 'TensorFlow']: parallel = self.cfg['parallel'] if parallel > 1: self.cfg['parallel'] = parallel // 2