Commit 2a334e26 authored by Ziwen Su's avatar Ziwen Su

Adjusted the structure of partition.

parent 3a5d9c3f
......@@ -145,7 +145,7 @@ export class JobChartComponent extends JobBaseComponent {
metric = 'cpi';
this.timelines.push(new TimelineChart(this.monitoringservice, 2, metric, this.selectedValueType, this.rows));
var partition = "others";
var partition = "haswell";
if ( rows[0]["PARTITION"].includes('ml') ){
partition = "ml";
}
......
......@@ -340,7 +340,11 @@ export class MonitoringService {
return this.show_detailed_footprints;
}
getPartitions(key: string){
return this.appConfig.getConfig().PartitionConfig[key];
if ( key == "list" ){
return Object.keys(this.appConfig.getConfig().PartitionConfig);
} else {
return this.appConfig.getConfig().PartitionConfig[key]["displays"];
}
}
}
......@@ -4,10 +4,53 @@
"footprint_url": "https://hpcmon.zih.tu-dresden.de/"
},
"PartitionConfig":{
"list": ["broadwell", "gpu", "haswell", "hpdlf", "ifm", "interactive", "ml", "nvme", "romeo", "sandy", "sl", "smp", "test", "triton", "vis", "west"],
"ml": ["local_io", "flops", "local_io_meta", "mem_bw", "infiniband_bw", "gpu_usage", "gpu_power", "gpu_mem", "gpu_temperature"],
"gpu": ["io", "flops", "io_meta", "mem_bw", "infiniband_bw", "gpu_usage", "gpu_power", "gpu_mem", "gpu_temperature", "cpu_power"],
"west": ["io", "flops", "io_meta", "mem_bw", "infiniband_bw"],
"others": ["io", "flops", "io_meta", "mem_bw", "infiniband_bw", "cpu_power"]
"broadwell":{
"displays":["io", "flops", "io_meta", "mem_bw", "infiniband_bw", "cpu_power"]
},
"gpu":{
"displays":["io", "flops", "io_meta", "mem_bw", "infiniband_bw", "gpu_usage", "gpu_power", "gpu_mem", "gpu_temperature", "cpu_power"]
},
"haswell":{
"displays":["io", "flops", "io_meta", "mem_bw", "infiniband_bw", "cpu_power"]
},
"hpdlf":{
"displays":["io", "flops", "io_meta", "mem_bw", "infiniband_bw", "gpu_usage", "gpu_power", "gpu_mem", "gpu_temperature", "cpu_power"]
},
"ifm":{
"displays":["io", "flops", "io_meta", "mem_bw", "infiniband_bw", "cpu_power"]
},
"interactive":{
"displays":["io", "flops", "io_meta", "mem_bw", "infiniband_bw", "cpu_power"]
},
"ml":{
"displays":["local_io", "flops", "local_io_meta", "mem_bw", "infiniband_bw", "gpu_usage", "gpu_power", "gpu_mem", "gpu_temperature"]
},
"nvme":{
"displays":["io", "flops", "io_meta", "mem_bw", "infiniband_bw", "cpu_power"]
},
"romeo":{
"displays":["io", "flops", "io_meta", "mem_bw", "infiniband_bw", "cpu_power"]
},
"sandy":{
"displays":["io", "flops", "io_meta", "mem_bw", "infiniband_bw", "cpu_power"]
},
"sl":{
"displays":["io", "flops", "io_meta", "mem_bw", "infiniband_bw", "cpu_power"]
},
"smp":{
"displays":["io", "flops", "io_meta", "mem_bw", "infiniband_bw", "cpu_power"]
},
"test":{
"displays":["io", "flops", "io_meta", "mem_bw", "infiniband_bw", "cpu_power"]
},
"triton":{
"displays":["io", "flops", "io_meta", "mem_bw", "infiniband_bw", "cpu_power"]
},
"vis":{
"displays":["io", "flops", "io_meta", "mem_bw", "infiniband_bw", "cpu_power"]
},
"west":{
"displays":["io", "flops", "io_meta", "mem_bw", "infiniband_bw"]
}
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment