mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-25 21:09:05 +01:00
Merge pull request #89 from fodinabor/feature/node-name-and-subcluster
Add node name and sub-cluster to JobInfo.
This commit is contained in:
commit
87155624cf
@ -60,7 +60,12 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
{job.numNodes} <Icon name="pc-horizontal"/>
|
{#if job.numNodes == 1}
|
||||||
|
{job.resources[0].hostname}
|
||||||
|
{:else}
|
||||||
|
{job.numNodes}
|
||||||
|
{/if}
|
||||||
|
<Icon name="pc-horizontal"/>
|
||||||
{#if job.exclusive != 1}
|
{#if job.exclusive != 1}
|
||||||
(shared)
|
(shared)
|
||||||
{/if}
|
{/if}
|
||||||
@ -70,6 +75,8 @@
|
|||||||
{#if job.numHWThreads > 0}
|
{#if job.numHWThreads > 0}
|
||||||
, {job.numHWThreads} <Icon name="cpu"/>
|
, {job.numHWThreads} <Icon name="cpu"/>
|
||||||
{/if}
|
{/if}
|
||||||
|
<br/>
|
||||||
|
{job.subCluster}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
jobs(filter: $filter, order: $sorting, page: $paging) {
|
jobs(filter: $filter, order: $sorting, page: $paging) {
|
||||||
items {
|
items {
|
||||||
id, jobId, user, project, jobName, cluster, subCluster, startTime,
|
id, jobId, user, project, jobName, cluster, subCluster, startTime,
|
||||||
duration, numNodes, numHWThreads, numAcc, walltime,
|
duration, numNodes, numHWThreads, numAcc, walltime, resources { hostname },
|
||||||
SMT, exclusive, partition, arrayJobId,
|
SMT, exclusive, partition, arrayJobId,
|
||||||
monitoringStatus, state,
|
monitoringStatus, state,
|
||||||
tags { id, type, name }
|
tags { id, type, name }
|
||||||
|
Loading…
Reference in New Issue
Block a user