nodeocc 1.0.15__tar.gz → 1.0.17__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nodeocc-1.0.15 → nodeocc-1.0.17}/PKG-INFO +1 -1
- {nodeocc-1.0.15 → nodeocc-1.0.17}/pyproject.toml +1 -1
- {nodeocc-1.0.15 → nodeocc-1.0.17}/src/controller/controller.py +1 -1
- {nodeocc-1.0.15 → nodeocc-1.0.17}/src/nodeocc.egg-info/PKG-INFO +1 -1
- {nodeocc-1.0.15 → nodeocc-1.0.17}/src/view/slurm_viz.py +1 -1
- {nodeocc-1.0.15 → nodeocc-1.0.17}/README.md +0 -0
- {nodeocc-1.0.15 → nodeocc-1.0.17}/setup.cfg +0 -0
- {nodeocc-1.0.15 → nodeocc-1.0.17}/setup.py +0 -0
- {nodeocc-1.0.15 → nodeocc-1.0.17}/src/__init__.py +0 -0
- {nodeocc-1.0.15 → nodeocc-1.0.17}/src/model/infrastructure.py +0 -0
- {nodeocc-1.0.15 → nodeocc-1.0.17}/src/model/job.py +0 -0
- {nodeocc-1.0.15 → nodeocc-1.0.17}/src/nodeocc.egg-info/SOURCES.txt +0 -0
- {nodeocc-1.0.15 → nodeocc-1.0.17}/src/nodeocc.egg-info/dependency_links.txt +0 -0
- {nodeocc-1.0.15 → nodeocc-1.0.17}/src/nodeocc.egg-info/entry_points.txt +0 -0
- {nodeocc-1.0.15 → nodeocc-1.0.17}/src/nodeocc.egg-info/requires.txt +0 -0
- {nodeocc-1.0.15 → nodeocc-1.0.17}/src/nodeocc.egg-info/top_level.txt +0 -0
- {nodeocc-1.0.15 → nodeocc-1.0.17}/src/readers/compute_wait_time.py +0 -0
- {nodeocc-1.0.15 → nodeocc-1.0.17}/src/readers/slurmreader.py +0 -0
- {nodeocc-1.0.15 → nodeocc-1.0.17}/src/view/__init__.py +0 -0
- {nodeocc-1.0.15 → nodeocc-1.0.17}/src/view/curses_multiwindow.py +0 -0
- {nodeocc-1.0.15 → nodeocc-1.0.17}/src/view/slurm_list.py +0 -0
- {nodeocc-1.0.15 → nodeocc-1.0.17}/src/view/styles.py +0 -0
- {nodeocc-1.0.15 → nodeocc-1.0.17}/src/view/utils.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "nodeocc"
|
|
7
|
-
version = "1.0.
|
|
7
|
+
version = "1.0.17"
|
|
8
8
|
authors = [{ name = "Matteo Boschini" }]
|
|
9
9
|
maintainers = [{ name = "Lorenzo Bonicelli" }, { name = "Aniello Panariello" }]
|
|
10
10
|
description = "TUI application for viewing the status of GPU allocations on a Slurm cluster"
|
|
@@ -70,7 +70,7 @@ JOB_LIMIT_PER_MSG = 60
|
|
|
70
70
|
parser = argparse.ArgumentParser(description='Visualize slurm jobs')
|
|
71
71
|
parser.add_argument('--debug', action='store_true', help='Enable logging')
|
|
72
72
|
parser.add_argument('--master_only', action='store_true', help='Disable all prints - only run in background')
|
|
73
|
-
parser.add_argument('--basepath', type=str, default='/
|
|
73
|
+
parser.add_argument('--basepath', type=str, default='/tmp', help='Base path for nodeocc. Must be readable by all users')
|
|
74
74
|
args = parser.parse_args()
|
|
75
75
|
|
|
76
76
|
# check basepath is readable
|
|
@@ -331,7 +331,7 @@ def view_viz_gpu(infrastructure, jobs, work=True, stylefn=cmdstyle, current_user
|
|
|
331
331
|
count = 0
|
|
332
332
|
if c is not None:
|
|
333
333
|
jobsplit[-1] += stylefn(c, i)
|
|
334
|
-
elif node_status is not None:
|
|
334
|
+
elif node_status is not None and i != gpu_occ:
|
|
335
335
|
jobsplit[-1] += stylefn(node_status, i)
|
|
336
336
|
else:
|
|
337
337
|
jobsplit[-1] += i
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|