-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Currently the function calls `run_cmd` which throws on error AND checks the exit code which is redundant and causes a log message `"ERROR EasyBuild crashed with an error ..."` to be logged on error which is confusing as e.g it is VERY unlikely both `nvidia-smi` and `rocm-smi` are on the system. So check for existance first and suppress output and error checking of `run_cmd`.
- Loading branch information
Showing
1 changed file
with
17 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters