E N D
Optimal Paralleling for Solving Combinatorial Modelling ProblemsVolodymyr Stepashko, and Serhiy YefimenkoInternational Research and Training Centre of Information Technologies and Systems of the National Academy of Sciences and Ministry of Education and Sciences of Ukraine, astrid@irtc.org.ua, syefim@ukr.net
GMDH combinatorial algorithm MatrixХ [n×m] vectory[n×1] y=f(θ, x)= θ1x1+ θ2x2+ … + θmxm amount of models – ΣCmi = 2m -1
Variants of structures generation 2. Successive complication of structures 0 0 0 1 0 0 1 0 0 1 0 0 1 0 0 0 0 0 1 1 0 1 0 1 1 0 0 1 0 1 1 0 1 0 1 0 1 1 0 0 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1. Binary numbers generator 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1
Paralleling on 2 processors Binary numbers generator 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 I processor: 8 models, 13 arguments II processor: 7 models, 19 arguments
Successive complication of structures(paralleling on 2 processors) 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 1 0 0 1 1 0 0 0 1 0 0 1 1 0 0 1 0 1 0 1 0 0 1 0 0 1 1 0 0 1 0 1 0 0 1 1 0 0 0 0 0 1 1 1 0 1 0 1 1 1 0 0 1 1 0 1 1 0 1 1 0 1 0 1 1 1 0 0 1 0 1 1 1 0 1 0 1 1 0 1 1 0 1 0 1 1 1 0 0
Algorithm of determination of the initial state of binary structural vector by position at successive complication Step • Calculation of amount of combinations – • Determination of the initial state of binary vector b for every processor as a decimal number – • Conversion from the decimal number to appropriate binary number for every processor: position =; u=i-1, d=m-1, Cycle on if position<=C, then b[l]=1, u=u -1, d=d -1, else b[i]=0, position = position -С, u=u -1,
Application of scheme of paralleling with successive complication for solving high dimensional problems Amount of arguments – 100 For one processor – 1.048.575 models (20 arguments) ~ 1 min (2 GFLOPS)
Time plot for 8 processes on one processoramount of arguments – 22, amount of models – 222-1 Efficiency
Run-time of combinatorial algorithm Time, s Arguments Processors
Efficiency of schemes of paralleling of combinatorial algorithm Binary counter Successive complication
Conclusion • The scheme of operations paralleling in a combinatorial algorithm on principle of binary counter is explored. It is shown that it does not provide the uniform loading on all processors of the cluster system. With the increase of the number of processors of cluster system efficiency of paralleling decreases considerably. • The new method of paralleling is developed on the basis of algorithm of generation of the successively complicated structures of models. • By the tests experiments it is shown that the use of the offered scheme provides the equal total amount of models and estimated parameters on every processor.
Optimal Paralleling for Solving Combinatorial Modelling ProblemsVolodymyr Stepashko, and Serhiy YefimenkoInternational Research and Training Centre of Information Technologies and Systems of the National Academy of Sciences and Ministry of Education and Sciences of Ukraine, astrid@irtc.org.ua, syefim@ukr.net