ExaWorks / job-api-spec

https://exaworks.org/job-api-spec/
3 stars 3 forks source link

Examples incorrectly instantiate ResourceSpec, which is abstract #165

Closed hategan closed 1 year ago

hategan commented 1 year ago

Some of the examples (e.g., "N Exclusive Nodes, Each with P Processes") contain lines like this:

res_spec = psij.ResourceSpec()

This does not work because ResourceSpec is abstract and cannot be instantiated. The examples should use ResourceSpecV1 instead.