Skip to content

Commit 6d1083c

Browse files
author
Vasileios Karakasis
authored
Merge branch 'master' into enhancement/drop_override_support
2 parents 0a21974 + 6b28d4f commit 6d1083c

File tree

3 files changed

+17
-13
lines changed

3 files changed

+17
-13
lines changed

config/cscs.py

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,9 @@
267267
'builtin'
268268
],
269269
'access': [
270-
'-Cgpu',
271-
'--reservation=jupyter_gpu'
270+
f'-Cgpu',
271+
f'--reservation=jupyter_gpu',
272+
f'--account={osext.osgroup()}'
272273
],
273274
'descr': 'JupyterHub GPU nodes',
274275
'max_jobs': 10,
@@ -281,8 +282,9 @@
281282
'builtin'
282283
],
283284
'access': [
284-
'-Cmc',
285-
'--reservation=jupyter_mc'
285+
f'-Cmc',
286+
f'--reservation=jupyter_mc',
287+
f'--account={osext.osgroup()}'
286288
],
287289
'descr': 'JupyterHub multicore nodes',
288290
'max_jobs': 10,
@@ -404,8 +406,9 @@
404406
'builtin'
405407
],
406408
'access': [
407-
'-Cgpu',
408-
'--reservation=jupyter_gpu'
409+
f'-Cgpu',
410+
f'--reservation=jupyter_gpu',
411+
f'--account={osext.osgroup()}'
409412
],
410413
'descr': 'JupyterHub GPU nodes',
411414
'max_jobs': 10,
@@ -418,8 +421,9 @@
418421
'builtin'
419422
],
420423
'access': [
421-
'-Cmc',
422-
'--reservation=jupyter_mc'
424+
f'-Cmc',
425+
f'--reservation=jupyter_mc',
426+
f'--account={osext.osgroup()}'
423427
],
424428
'descr': 'JupyterHub multicore nodes',
425429
'max_jobs': 10,

cscs-checks/system/slurm/slurm.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,9 @@ def __init__(self):
9191
self.executable = 'srun'
9292
self.executable_opts = ['-A', osext.osgroup(), 'hostname']
9393
self.sanity_patterns = sn.assert_found(
94-
r'error: You have to specify, at least, what sort of node you '
95-
r'need: -C gpu for GPU enabled nodes, or -C mc for multicore '
96-
r'nodes.|ERROR: you must specify -C with one of the following: '
97-
r'mc,gpu,storage', self.stderr)
94+
r'ERROR: you must specify -C with one of the following: mc,gpu',
95+
self.stderr
96+
)
9897

9998

10099
@rfm.simple_test

reframe/frontend/cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ def fmt_deps():
5656
return f'- {check.name} (found in {location!r})'
5757

5858
if check.num_tasks > 0:
59-
node_alloc_scheme = f'standard ({check.num_tasks} task(s))'
59+
node_alloc_scheme = (f'standard ({check.num_tasks} task(s) -- '
60+
f'may be set differently in hooks)')
6061
elif check.num_tasks == 0:
6162
node_alloc_scheme = 'flexible'
6263
else:

0 commit comments

Comments
 (0)