-
Notifications
You must be signed in to change notification settings - Fork 4
Added some of the assumptions/goals to the intro #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
hategan
wants to merge
2
commits into
main
Choose a base branch
from
assumptions_goals_etc
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -75,7 +75,6 @@ | |
| ## STATUS: EARLY DRAFT | ||
|
|
||
|
|
||
|
|
||
| ## Introduction | ||
|
|
||
| The purpose of this document is to provide an analysis of the design and | ||
|
|
@@ -87,11 +86,36 @@ corresponding implementation of a job management API is a job management | |
| library. A job management library, through its API, is invoked by a | ||
| client application. | ||
|
|
||
| Traditionally, job management is implemented on supercomputers by Local | ||
| Resource Managers (LRMs), such as PBS/Torque, SLURM, etc. To a first | ||
| approximation, a job management API is understood as an abstraction layer | ||
| on top of various LRMs. | ||
|
|
||
| Traditionally, job management is implemented on supercomputers by Local Resource | ||
| Managers (LRMs), such as PBS/Torque, SLURM, etc. To a first approximation, a job | ||
| management API is understood as an abstraction layer on top of various LRMs. | ||
| Consequently, the scope of the present API is informed by functionality commonly | ||
| found across LRMs. | ||
|
|
||
| The main motivation behind the present job management API is the ubiquity with | ||
| which projects meant to simplify the process of doing science on compute | ||
| clusters are forced to implement their own solution. The reason is simple. If | ||
| any tool needs to be portable across multiple clusters (and it rarely makes | ||
| sense to not want such portability), it must access the underlying cluster LRM | ||
| in an abstract way; that is, it must use a job management API. The only stable | ||
| job management API currently available is | ||
| [SAGA](http://radical-cybertools.github.io/) [so, wait a minute, how do we | ||
| justify not pushing SAGA forward?]. | ||
|
|
||
| We aim to provide a minimal API. That is, the API focuses on managing | ||
| independent jobs and not much more. Functionality such as expressing and | ||
| enforcing job dependencies, providing a uniform view of software environments | ||
| deployed on target clusters/resources, or providing an information service | ||
| describing characteristics of the target cluster/resource are beyond the scope | ||
| of this API. This is motivated, in part, by the fact that such functionality | ||
| would push the complexity of the API into unmanageable territory, while, | ||
| simultaneously being better suited for separate components. | ||
|
|
||
| We take inspiration from a number of projects, some defunct, with overlapping | ||
| scope, such as [Globus | ||
| GRAM](https://en.wikipedia.org/wiki/Grid_resource_allocation_manager), | ||
| [SAGA](http://radical-cybertools.github.io/), and | ||
| [DRMAA](http://www.drmaa.org/). | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would suggest to add DRMAA, but also Flux here. We could also add POSIX FWIW (qsub etc): even though POSIX does not define an LRM API, it does define those command line tools which are widely considered the standard interface in many LRM implementations. |
||
|
|
||
| ### A Note About Code Samples | ||
|
|
||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I will need to leave others to clarify this. One argument I heard on the call (but not one I would make, just repeating) is that SAGA, or at least the name, comes with a certain pre-notation / ballast, and that would at least partially justify to distinguish an Exaworks job API from it.
BTW: DRMAA also is an existing, stable API -- just not a widely implemented one (anymore). As such, we should also motivate why we do not implement DRMAA instead of inventing our own API.