{#if $initq.fetching || $mainQuery.fetching} {:else if $initq.error} {$initq.error.message} {:else} {/if} { console.log('reload...') from = new Date(Date.now() - 5 * 60 * 1000) to = new Date(Date.now()) $mainQuery.variables = { ...$mainQuery.variables, from: from, to: to } $mainQuery.reexecute({ requestPolicy: 'network-only' }) }} /> {#if $mainQuery.error} {$mainQuery.error.message} {/if} {#if $initq.data && $mainQuery.data} {#each $initq.data.clusters.find(c => c.name == cluster).subClusters as subCluster, i}
SubCluster {subCluster.name}
Allocated Nodes
({allocatedNodes[subCluster.name]} / {subCluster.numberOfNodes})
Flop Rate
({flopRate[subCluster.name]} / {subCluster.flopRateSimd * subCluster.numberOfNodes})
MemBw Rate
({memBwRate[subCluster.name]} / {subCluster.memoryBandwidth * subCluster.numberOfNodes})
{#key $mainQuery.data.nodeMetrics} data.subCluster == subCluster.name))} /> {/key}
{/each}

Top Users

{#key $mainQuery.data} b.count - a.count).map(({ count }, idx) => ({ count, value: idx }))} label={(x) => x < $mainQuery.data.topUsers.length ? $mainQuery.data.topUsers[Math.floor(x)].name : '0'} /> {/key}
{#each $mainQuery.data.topUsers.sort((a, b) => b.count - a.count) as { name, count }} {/each}
NameNumber of Nodes
{name} {count}

Top Projects

{#key $mainQuery.data} b.count - a.count).map(({ count }, idx) => ({ count, value: idx }))} label={(x) => x < $mainQuery.data.topProjects.length ? $mainQuery.data.topProjects[Math.floor(x)].name : '0'} /> {/key}
{#each $mainQuery.data.topProjects.sort((a, b) => b.count - a.count) as { name, count }} {/each}
NameNumber of Nodes
{name}{count}

Duration Distribution

{#key $mainQuery.data.stats} {/key}

Number of Nodes Distribution

{#key $mainQuery.data.stats} {/key}
{/if}