View Single Post
Old 2014-10-31, 22:33   #8
Rincewind
 
Rincewind's Avatar
 
Oct 2006

103 Posts
Default

This is very helpful!

Is there a way to use sed or awk to create a file for n-cores where every nth-candidate is moved to a certain worker:

for example 4 cores:
Code:
candidate      - >            assigned worker
1                                   1
2                                   2
3                                   3
4                                   4
5                                   1
6                                   2
7                                   3
8                                   4
...
This would mean that there are no (or only small) gaps between the n-values from the workers.
Rincewind is offline   Reply With Quote