Ole,
I am so confused. Looking at the manual, it states that it is sorted by sslogin. But it seems you have it alphabetically sorted.
--keep-order
-kKeep sequence of output same as the order of input. Normally the output of a job will be printed as soon as the job completes. Try this to see the difference:
parallel -j4 sleep {}\; echo {} ::: 2 1 4 3
parallel -j4 -k sleep {}\; echo {} ::: 2 1 4 3
If used with --onall or --nonall output will be sorted according to sshlogin
Here are the runs with parallel on our system.
address@hidden:~/release_management/deployment/scripts$ ./parallel --nonall --keep-order -S 'stgcore02,stgcore03,stgcore01' 'hostname' 2>/dev/null
stgcore03
stgcore01
stgcore02
address@hidden:~/release_management/deployment/scripts$ ./parallel-20131222 --nonall --keep-order -S 'stgcore02,stgcore03,stgcore01' 'hostname' 2>/dev/null
stgcore01
stgcore02
stgcore03
And you are saying that in order for us to keep the sshlogin order ( stgcore02, stgcore03, stgcore01 ), we will need to make the suggested patch to parallel?
Thanks,
zhi