Skip to content

Commit

Permalink
Added libxc to post_ready_hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Top committed Jan 24, 2024
1 parent d16b532 commit ed45a74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eb_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,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']:
if self.name in ['TensorFlow', 'libxc']:
parallel = self.cfg['parallel']
if parallel > 1:
self.cfg['parallel'] = parallel // 2
Expand Down

0 comments on commit ed45a74

Please sign in to comment.