From 677ce134ca0431565e6a2c1e0089dea417bd9ef8 Mon Sep 17 00:00:00 2001 From: Simon Branford Date: Thu, 1 Feb 2024 20:49:49 +0000 Subject: [PATCH] replace `run_cmd` with `run_shell_cmd` in custom easyblock for SCOTCH (`scotch.py`) --- easybuild/easyblocks/s/scotch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/easybuild/easyblocks/s/scotch.py b/easybuild/easyblocks/s/scotch.py index 1fc758360d..cc3efaeea6 100644 --- a/easybuild/easyblocks/s/scotch.py +++ b/easybuild/easyblocks/s/scotch.py @@ -40,7 +40,7 @@ from easybuild.tools.build_log import EasyBuildError from easybuild.tools.filetools import apply_regex_substitutions, change_dir, copy_dir, copy_file from easybuild.tools.filetools import remove_file, write_file -from easybuild.tools.run import run_cmd +from easybuild.tools.run import run_shell_cmd class EB_SCOTCH(EasyBlock): @@ -117,7 +117,7 @@ def build_step(self): for app in apps: cmd = 'make CCS="%s" CCP="%s" CCD="%s" CFLAGS="%s" %s' % (ccs, ccp, ccd, cflags, app) - run_cmd(cmd, log_all=True, simple=True) + run_shell_cmd(cmd) def install_step(self): """Install by copying files and creating group library file."""