diff --git a/easybuild/easyblocks/s/star_ccm.py b/easybuild/easyblocks/s/star_ccm.py index 7f981e9b36..b4993bb23a 100644 --- a/easybuild/easyblocks/s/star_ccm.py +++ b/easybuild/easyblocks/s/star_ccm.py @@ -65,7 +65,8 @@ def install_step(self): # depending of the target filesystem the check for available disk space may fail, so disable it; # note that this makes the installer exit with non-zero exit code... - # env.setvar('CHECK_DISK_SPACE', 'OFF') + env.setvar('CHECK_DISK_SPACE', 'OFF') + env.setvar('IATEMPDIR', tempfile.mkdtemp()) cmd = ' '.join([ @@ -77,7 +78,10 @@ def install_step(self): "-DADDSYSTEMPATH=false", self.cfg['installopts'], ]) - run_cmd(cmd, log_all=True, simple=True) + + # ignore exit code of command, since there's always a non-zero exit if $CHECK_DISK_SPACE is set to OFF; + # rely on sanity check to catch problems with the installation + run_cmd(cmd, log_all=False, log_ok=False, simple=False) def find_starccm_subdirs(self): """Determine subdirectory of install directory in which STAR-CCM+ was installed."""