-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: separating supercontainers into resource types
Problem: we want to be able to ask for subsystem resources on a more granular level. Solution: separate supercontainers out into each of mpi, hardware, network (communication) and os. The use case is that if we are registering different subsystems to a graph, the different resource types should be more modularity defined. Signed-off-by: vsoch <vsoch@users.noreply.github.com>
- Loading branch information
Showing
6 changed files
with
223 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
{ | ||
"graph": { | ||
"id": "hardware", | ||
"type": "compspec", | ||
"label": "compatibilities", | ||
"nodes": { | ||
"hardware": { | ||
"label": "hardware" | ||
}, | ||
"hardware.gpu": { | ||
"label": "gpu hardware" | ||
}, | ||
"hardware.gpu.enabled": { | ||
"label": "true if gpu is enabled" | ||
}, | ||
"hardware.gpu.driver": { | ||
"label": "gpu driver" | ||
}, | ||
"hardware.gpu.architecture": { | ||
"label": "gpu architecture" | ||
}, | ||
"hardware.gpu.driver.version": { | ||
"label": "gpu driver version" | ||
}, | ||
"hardware.gpu.cuda": { | ||
"label": "gpu cuda" | ||
}, | ||
"hardware.gpu.cuda.version": { | ||
"label": "cuda version" | ||
} | ||
}, | ||
"edges": [ | ||
{ | ||
"source": "hardware", | ||
"target": "hardware.gpu", | ||
"relation": "contains" | ||
}, | ||
{ | ||
"source": "hardware.gpu", | ||
"target": "hardware.gpu.enabled", | ||
"relation": "contains" | ||
}, | ||
{ | ||
"source": "hardware.gpu", | ||
"target": "hardware.gpu.driver", | ||
"relation": "contains" | ||
}, | ||
{ | ||
"source": "hardware.gpu.driver", | ||
"target": "hardware.gpu.driver.version", | ||
"relation": "contains" | ||
}, | ||
{ | ||
"source": "hardware.gpu", | ||
"target": "hardware.gpu.architecture", | ||
"relation": "contains" | ||
}, | ||
{ | ||
"source": "hardware.gpu", | ||
"target": "hardware.gpu.version", | ||
"relation": "contains" | ||
}, | ||
{ | ||
"source": "hardware.gpu", | ||
"target": "hardware.gpu.cuda", | ||
"relation": "contains" | ||
}, | ||
{ | ||
"source": "hardware.gpu.cuda", | ||
"target": "hardware.gpu.cuda.version", | ||
"relation": "contains" | ||
} | ||
], | ||
"metadata": { | ||
"version": "0.0.0", | ||
"source": "https://github.com/compspec/schemas" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"graph": { | ||
"id": "mpi", | ||
"type": "compspec", | ||
"label": "compatibilities", | ||
"nodes": { | ||
"mpi": { | ||
"label": "message passing interface (mpi)" | ||
}, | ||
"mpi.implementation": { | ||
"label": "mpi implementation" | ||
}, | ||
"mpi.version": { | ||
"label": "mpi version" | ||
}, | ||
"mpi.portability": { | ||
"label": "mpi portability attributes" | ||
}, | ||
"mpi.portability.optimization": { | ||
"label": "mpi portability optimization" | ||
}, | ||
"mpi.portability.mode": { | ||
"label": "mpi portability mode" | ||
} | ||
}, | ||
"edges": [ | ||
{ | ||
"source": "mpi", | ||
"target": "mpi.version", | ||
"relation": "contains" | ||
}, | ||
{ | ||
"source": "mpi", | ||
"target": "mpi.implementation", | ||
"relation": "contains" | ||
}, | ||
{ | ||
"source": "mpi", | ||
"target": "mpi.portability", | ||
"relation": "contains" | ||
}, | ||
{ | ||
"source": "mpi.portability", | ||
"target": "mpi.portability.optimization", | ||
"relation": "contains" | ||
}, | ||
{ | ||
"source": "mpi.portability", | ||
"target": "mpi.portability.mode", | ||
"relation": "contains" | ||
} | ||
], | ||
"metadata": { | ||
"version": "0.0.0", | ||
"source": "https://github.com/compspec/schemas" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"graph": { | ||
"id": "network", | ||
"type": "compspec", | ||
"label": "compatibilities", | ||
"nodes": { | ||
"network": { | ||
"label": "network" | ||
}, | ||
"network.communication": { | ||
"label": "communication" | ||
}, | ||
"network.communication.framework": { | ||
"label": "communication framework" | ||
} | ||
}, | ||
"edges": [ | ||
{ | ||
"source": "network", | ||
"target": "network.communication", | ||
"relation": "contains" | ||
}, | ||
{ | ||
"source": "network.communication", | ||
"target": "network.communication.framework", | ||
"relation": "contains" | ||
} | ||
], | ||
"metadata": { | ||
"version": "0.0.0", | ||
"source": "https://github.com/supercontainers/compspec" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"graph": { | ||
"id": "os", | ||
"type": "compspec", | ||
"label": "compatibilities", | ||
"nodes": { | ||
"os": { | ||
"label": "operating system" | ||
}, | ||
"os.name": { | ||
"label": "operating system name" | ||
}, | ||
"os.release": { | ||
"label": "operating system release" | ||
}, | ||
"os.vendor": { | ||
"label": "operating system vendor" | ||
}, | ||
"os.version": { | ||
"label": "operating system version" | ||
} | ||
}, | ||
"edges": [ | ||
{ | ||
"source": "os", | ||
"target": "os.name", | ||
"relation": "contains" | ||
}, | ||
{ | ||
"source": "os", | ||
"target": "os.release", | ||
"relation": "contains" | ||
}, | ||
{ | ||
"source": "os", | ||
"target": "os.vendor", | ||
"relation": "contains" | ||
}, | ||
{ | ||
"source": "os", | ||
"target": "os.version", | ||
"relation": "contains" | ||
} | ||
], | ||
"metadata": { | ||
"version": "0.0.0", | ||
"source": "https://github.com/supercontainers/compspec" | ||
} | ||
} | ||
} |
Oops, something went wrong.