Git Product home page Git Product logo

aiida-fireworks-scheduler's People

Contributors

mbercx avatar zhubonan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mbercx

aiida-fireworks-scheduler's Issues

entry point names do not follow convention

hey, just letting you know that the entry point naming does not follow AiiDA conventions:

"aiida.schedulers": [
"fireworks = aiida_fireworks_scheduler.fwscheduler:FwScheduler"
],
"aiida.cmdline.data": [
"fireworks-scheduler = aiida_fireworks_scheduler.cmdline:fw_cli"
],

The canonical entry point prefix would be fireworks_scheduler

implement specialised `JobResources`

Implement specialised resources based on the SGE scheduler

  • remove the limit in the parallel_env
  • allow setting the priority - default to 100 + X
  • recording the "user name" of the job and use it to fetch jobs. This way one may support having multiple accounts on the same machine, just as AiiDA does.

If the change is too much I should directly subclass Scheduler instead.

Implement transport abstraction

A long-term goal, probably beyond 1.0 is to implement a specialised Transport class to move away from SSH. This will make it easier to work with fenced clusters. However, it will be significant efforts as:

  • no python package has yet to provide complete file system abstraction on mongodb
  • might have to tweak the aiida-core code
  • need to implement specialised Firetask to pull and push the data to the repository before and after each launch

Improve the `arlaunch multi` mode

Should add a timeout for graceful termination if no jobs have been found after N loops in both the finite and infinite launch mode.

Proper documentation

Documentation should include how to:

  • setup locally
  • setup on the remote machine
  • example of the configuration files
  • readthedocs site
  • further developments

Code not on pypi

Current installation instructions suggest using pip to install, but it doesn't seem to be on pypi currently.

Fix job state mapping

There are a few states that a job can be within fireworks they should all be mapped to JobState correctly.

At the moment it is possible that a job changes the states during the handling, as LaunchPad can only get the jobs one by one. This is a two-step process at the moment. So even if the query selects only the running or queued jobs the returned jobs may end up in completed states.

Enforce the run time limit

Allow sometime it can be useful to allow jobs exceeded the defined limit. This is a uncontrollable parameters and will affect the provenance.

Walltime limits should be enforced in the script submitted by the AiiDAJobFirework. This also makes sure the actual firwork launch does no exceeded the scheduler walltime limit and being left in the RUNNING states, which requires manual intervention for fixing.

Remove the dependency on `SgeScheduler`

The SgeScheduler inheritance was there only for convenience. The FwScheduler should directly inherit from Scheduler. Unnecessary methods for getting commands can be left blank perhaps as we directly overload the get_jobs and submit_from_script and kill methods.

Reuse LaunchPad

Should reuse LaunchPad instances to avoid creating too many objects and connections.

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.