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

Simple example for running on multiple nodes on Ostrava Cluster? #17

Open
maarzt opened this issue Jan 30, 2019 · 0 comments
Open

Simple example for running on multiple nodes on Ostrava Cluster? #17

maarzt opened this issue Jan 30, 2019 · 0 comments

Comments

@maarzt
Copy link
Collaborator

maarzt commented Jan 30, 2019

There should be an example on how to run a command on the Ostrava cluster on multiple nodes. It should be very simple, maybe something like this (Consider the code example as a draft):

@Parameter ParallelService parallelService;
@Parameter UIService ui;

List<Map<String, Object>> paramters = initParameters();
ParallizationParadigm paradigm = parallelService.getParadigm(OstravaParadigm.class, "username", "password", 8);
paradigm.runAll(RotateImageXY.class, parameters);
for(Map<String, Object> map : parameters)
    ui.show(map.get("image"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant