Skip to content
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

API framework for iSolve #621

Closed
2 tasks done
Tracked by #950
esraneufeld opened this issue May 3, 2022 · 4 comments
Closed
2 tasks done
Tracked by #950

API framework for iSolve #621

esraneufeld opened this issue May 3, 2022 · 4 comments
Assignees
Labels
PO issue Created by Product owners
Milestone

Comments

@esraneufeld
Copy link
Member

esraneufeld commented May 3, 2022

User Story:

sim4life:web currently runs iSolve in a subprocess and the task manager can display logs and progress info. This should be replaced by leveraging the osparc API to take advantage of scheduling those jobs. In a first step, the following features are required:

  • Stream logs to the frontend
  • Stream progress to the frontend
  • Potentially users will reconnect to the scheduler, so logs/progress need to be re-flushed (Not possible with ARES now)
  • Do we use tokens for this? Where do we store them (we dont want users to add them all the time). This will require platform wide user/service/version storage facilities (could be re-used for sim4life application preferencens.

Second step will include:

  • In addition to logs/progress, convergence and sensor information in form of 2d-plots can be collected from iSolve. We should handle that as well.

Notes:

  • If implemented properly in simphony, this will work automatically with the Desktop Application as well.
  • See here for a prototype implementation for integration into sim4life

Sundae

Preview Give feedback
@pcrespov
Copy link
Member

pcrespov commented Jun 3, 2022

Update on sprint Croissant

osparc API allows to setup and run jobs with solvers published in osparc (e.g. isolve, opencor, ...).

Planned

  • New API entrypoints should
    • get logs files
    • run jobs in a specify cluster
    • stream or tail logs while running a job
    • stream other info (e.g. progress, convergent ... ) from solver while running a job
  • Generate client SDKs for this API: python and probably also start with C++

Done

Ongoing

Open

  • specify cluster in run options
  • logs stream or list (tail, etc)
  • progress stream

@pcrespov
Copy link
Member

pcrespov commented Jul 4, 2022

Update on sprint Diolkos

No significant progress on this issue during this sprint

@sanderegg
Copy link
Member

Notes:

  • status on integration in Sim4Life desktop unclear

@sanderegg
Copy link
Member

Main framework to submit jobs was completed with 7Peaks milestone .
Subsequent improvements/bugfixes will get their own issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PO issue Created by Product owners
Projects
None yet
Development

No branches or pull requests

5 participants