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

real-time interaction mess up? #467

Open
nickhuangxinyu opened this issue Dec 31, 2021 · 1 comment
Open

real-time interaction mess up? #467

nickhuangxinyu opened this issue Dec 31, 2021 · 1 comment

Comments

@nickhuangxinyu
Copy link

nickhuangxinyu commented Dec 31, 2021

clustershell is great!!! thanks for sharing such good project.

I have a calculation task, which only read data from file, calculate, then dump out calculate result into output file.

multi-threading failed to speed up, because some cache miss problems( i am not sure now, but it's complex)

I use clustershell to speed up.

I have three machine, so I assign tasks into three part.

clush -a -b -v "./run run_config.cfg"; // run the c++ binary
clush -rc  run_result/ --dest my_dir // collect calculate result back

I have two questions:

  1. my ./run will print some message during the running progress. it use some flush method, but after typing clush, it mess up(not flush my screen, just print lines one by one), can i get same result???
  2. i need to seperaterun_config.cfginto three part manually, is there any better command i can use??
@nickhuangxinyu nickhuangxinyu changed the title real-time interaction with working server? real-time interaction mess up? Dec 31, 2021
@martinetd
Copy link
Collaborator

  1. if you remove the -b clush will not aggregate output (you can also try -bL for "live gathering")
  2. You can use the remote hostname within the command, e.g. clush -a './run config_$HOSTNAME.cfg' will run a different config for each node

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

2 participants