Giter Club home page Giter Club logo

drmaa2os's People

Contributors

dependabot[bot] avatar dgruber avatar terf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

drmaa2os's Issues

JobTracker interface should return substate and error

The JobTracker interface is the glue between the backend implementation and the
generic Go DRMAA2 implementation.

One thing missing is returning a more detailed explanation of the current state. This is
called substate in DRMAA2. Like when a JobFailed it would we valuable to access
the reason programmatically.

Hence the JobState signature needs to be changed from:

JobState(jobid string) drmaa2interface.JobState

to

JobState(jobid string) (drmaa2interface.JobState, string, error)

The string is the substate as specified in the standard and the error indicates an internal
error when trying to get the JobState. Usage of the job substate is optional.

Accounting Data Interface

As drmaa2os is primarily oriented towards job scheduling and control, I believe, is there a similar project or approach (ore even an alternate usage model for drmaa2os) that could apply to working with accounting data of the sort produced by such schedulers? UGE has a REST API that can be used, for example; is there an equivalent in the other back-end schedulars that can be exposed through a common API?

I'm also intrigued by Gloo and the growing family of tools from solo.io that appear to have features that could be used for API gateways and aggregation, creation of service meshes, etc. Any thoughts along these lines that could supplement or replace the approach of drmaa2os?

When closing a JobSession the storage DB needs to be closed

When using OS processes with the simpletracker implementation, job related information is made persistent in the DB.
After closing a JobSession the DB should be re-usable by a new JobSession to see past jobs stored in the DB.
Currently the JobSession.Close() method does not call the DB close call.

How to reinstantiate previously created sessions?

If I start a job then my script dies, is there any way to reinstantiate the previously created session manager (as it appears to be serialized in the sqlite database?), or if I must create a new session manager, can I create a new job object with the ID of a running job started through DRMAA so I can call methods like GetState()?

Slurm support

This project looks interesting! Is Slurm included in the supported platforms?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.