Skip to content

Commit

Permalink
Fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Blanca-Fuentes committed Dec 11, 2024
1 parent ba162f4 commit 7ded101
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion reframe/core/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ def _do_validate(self):
modulecmd = os.getenv('MODULESHOME')
if modulecmd is None:
raise ConfigError(
f'could not find a sane TMod31 installation: {e}'
'could not find a sane TMod31 installation'
)
try:
modulecmd = os.path.join(modulecmd, 'modulecmd.tcl')
Expand Down
1 change: 1 addition & 0 deletions reframe/core/schedulers/slurm.py
Original file line number Diff line number Diff line change
Expand Up @@ -923,6 +923,7 @@ def _find_devices(self, node_feats: list) -> Union[dict, None]:
'the configuration file.')
return None
else:
devices = []
for device_i in devices_raw:
devices = [item.rsplit(':', 1)[0] for item in device_i]
devices = [','.join(devices)]
Expand Down

0 comments on commit 7ded101

Please sign in to comment.