Skip to content

Commit

Permalink
replace run_cmd with run_shell_cmd in custom easyblock for SCOTCH…
Browse files Browse the repository at this point in the history
… (`scotch.py`)
  • Loading branch information
branfosj committed Feb 1, 2024
1 parent dcd646c commit 677ce13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easybuild/easyblocks/s/scotch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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."""
Expand Down

0 comments on commit 677ce13

Please sign in to comment.