mirror of
https://github.com/ClusterCockpit/cc-specifications.git
synced 2024-11-10 09:47:26 +01:00
fc69a29b34
* Add partition and topology to cluster * Move accelerator spec from job resources to partitions * Change to consistent camelCase * Fix ref URLS
330 lines
15 KiB
JSON
330 lines
15 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "Job meta data",
|
|
"description": "Meta data information of a HPC job",
|
|
"type": "object",
|
|
"properties": {
|
|
"jobId": {
|
|
"description": "The unique identifier of a job",
|
|
"type": "integer"
|
|
},
|
|
"user": {
|
|
"description": "The unique identifier of a user",
|
|
"type": "string"
|
|
},
|
|
"project": {
|
|
"description": "The unique identifier of a project",
|
|
"type": "string"
|
|
},
|
|
"cluster": {
|
|
"description": "The unique identifier of a cluster",
|
|
"type": "string"
|
|
},
|
|
"partition": {
|
|
"description": "The cluster partition to which the job was submitted",
|
|
"type": "string"
|
|
},
|
|
"arrayJobId": {
|
|
"description": "The unique identifier of an array job",
|
|
"type": "integer"
|
|
},
|
|
"numNodes": {
|
|
"description": "Number of nodes used",
|
|
"type": "integer",
|
|
"exclusiveMinimum": 0
|
|
},
|
|
"numHwthreads": {
|
|
"description": "Number of HWThreads used",
|
|
"type": "integer",
|
|
"exclusiveMinimum": 0
|
|
},
|
|
"numAcc": {
|
|
"description": "Number of accelerators used",
|
|
"type": "integer",
|
|
"exclusiveMinimum": 0
|
|
},
|
|
"exclusive": {
|
|
"description": "Job uses only exclusive nodes",
|
|
"type": "integer"
|
|
},
|
|
"monitoringStatus": {
|
|
"description": "State of monitoring system during job run",
|
|
"type": "integer"
|
|
},
|
|
"smt": {
|
|
"description": "SMT threads used by job",
|
|
"type": "integer"
|
|
},
|
|
"walltime": {
|
|
"description": "Requested walltime of job in seconds",
|
|
"type": "integer",
|
|
"exclusiveMinimum": 0
|
|
},
|
|
"jobState": {
|
|
"description": "Final state of job",
|
|
"type": "string",
|
|
"enum": [
|
|
"completed",
|
|
"failed",
|
|
"canceled",
|
|
"stopped",
|
|
"timeout"
|
|
]
|
|
},
|
|
"startTime": {
|
|
"description": "Start epoch time stamp in seconds",
|
|
"type": "integer",
|
|
"exclusiveMinimum": 0
|
|
},
|
|
"stopTime": {
|
|
"description": "Stop epoch time stamp in seconds",
|
|
"type": "integer",
|
|
"exclusiveMinimum": 0
|
|
},
|
|
"duration": {
|
|
"description": "Duration of job in seconds",
|
|
"type": "integer",
|
|
"exclusiveMinimum": 0
|
|
},
|
|
"resources": {
|
|
"description": "Resources used by job",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"hostname": {
|
|
"type": "string"
|
|
},
|
|
"hwthreads": {
|
|
"type": "array",
|
|
"description": "List of OS processor ids",
|
|
"items": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"accelerators": {
|
|
"type": "array",
|
|
"description": "List of of accelerator ids",
|
|
"items": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"configuration": {
|
|
"type": "string",
|
|
"description": "The configuration options of the node"
|
|
},
|
|
"required": [
|
|
"hostname"
|
|
]
|
|
},
|
|
"minItems": 1
|
|
}
|
|
},
|
|
"metaData": {
|
|
"description": "Additional information about the job",
|
|
"type": "object",
|
|
"properties": {
|
|
"jobScript": {
|
|
"type": "string",
|
|
"description": "The batch script of the job"
|
|
},
|
|
"slurmdata": {
|
|
"type": "string",
|
|
"description": "Additional Slurm information"
|
|
}
|
|
}
|
|
},
|
|
"tags": {
|
|
"description": "List of tags",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"type"
|
|
]
|
|
},
|
|
"uniqueItems": true
|
|
},
|
|
"statistics": {
|
|
"description": "Job statistic data",
|
|
"type": "object",
|
|
"properties": {
|
|
"mem_used": {
|
|
"description": "Memory capacity used (required)",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"cpu_load": {
|
|
"description": "CPU requested core utilization (load 1m) (required)",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"flops_any": {
|
|
"description": "Total flop rate with DP flops scaled up (required)",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"mem_bw": {
|
|
"description": "Main memory bandwidth (required)",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"net_bw": {
|
|
"description": "Total fast interconnect network bandwidth (required)",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"file_bw": {
|
|
"description": "Total file IO bandwidth (required)",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"ipc": {
|
|
"description": "Instructions executed per cycle",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"cpu_used": {
|
|
"description": "CPU active core utilization",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"flops_dp": {
|
|
"description": "Double precision flop rate",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"flops_sp": {
|
|
"description": "Single precision flops rate",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"rapl_power": {
|
|
"description": "CPU power consumption",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"gpu_used": {
|
|
"description": "GPU utilization",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"gpu_mem_used": {
|
|
"description": "GPU memory capacity used",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"gpu_power": {
|
|
"description": "GPU power consumption",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"clock": {
|
|
"description": "Average core frequency",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"eth_read_bw": {
|
|
"description": "Ethernet read bandwidth",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"eth_write_bw": {
|
|
"description": "Ethernet write bandwidth",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"pfs_read_bw": {
|
|
"description": "Parallel file system read bandwidth",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"pfs_write_bw": {
|
|
"description": "Parallel file system write bandwidth",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"pfs_read_req": {
|
|
"description": "Parallel file system read requests",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"pfs_write_req": {
|
|
"description": "Parallel file system write requests",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"pfs_inodes": {
|
|
"description": "Parallel file system inodes used",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"pfs_accesses": {
|
|
"description": "Parallel file system open and close",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"pfs_fsync": {
|
|
"description": "Parallel file system fsync",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"pfs_create": {
|
|
"description": "Parallel file system create",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"pfs_open": {
|
|
"description": "Parallel file system open",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"pfs_close": {
|
|
"description": "Parallel file system close",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"pfs_seek": {
|
|
"description": "Parallel file system seek",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"fs_read_bw": {
|
|
"description": "Local file system read bandwidth",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"fs_write_bw": {
|
|
"description": "Local file system write bandwidth",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"fs_inodes": {
|
|
"description": "Local file system inodes used",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"fs_accesses": {
|
|
"description": "Local file system open and close",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"ic_rcv_packets": {
|
|
"description": "Network interconnect read packets",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"ic_send_packets": {
|
|
"description": "Network interconnect send packet",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"ic_read_bw": {
|
|
"description": "Network interconnect read bandwidth",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
},
|
|
"ic_write_bw": {
|
|
"description": "Network interconnect write bandwidth",
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/job-metric-statistics.schema.json"
|
|
}
|
|
},
|
|
"required": [
|
|
"mem_used",
|
|
"cpu_load",
|
|
"flops_any",
|
|
"mem_bw",
|
|
"net_bw",
|
|
"file_bw"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"jobId",
|
|
"user",
|
|
"project",
|
|
"cluster",
|
|
"numNodes",
|
|
"startTime",
|
|
"stopTime",
|
|
"duration",
|
|
"resources",
|
|
"tags",
|
|
"statistics"
|
|
]
|
|
}
|