test_psimeq_dbg.adb fit data to 3 degree polynomial slave running slave running slave running slave running psimeq_dbg.adb running psimeq_dbg debug starting psimeq_dbg input data, n= 4 A( 1, 1)= 2.00000000000000E+01 A( 1, 2)= 1.90000000000000E+01 A( 1, 3)= 2.47000000000000E+01 A( 1, 4)= 3.61000000000000E+01 Y( 1)= 9.00000000000000E+01 A( 2, 1)= 1.90000000000000E+01 A( 2, 2)= 2.47000000000000E+01 A( 2, 3)= 3.61000000000000E+01 A( 2, 4)= 5.62666000000000E+01 Y( 2)= 7.63020000000000E+01 A( 3, 1)= 2.47000000000000E+01 A( 3, 2)= 3.61000000000000E+01 A( 3, 3)= 5.62666000000000E+01 A( 3, 4)= 9.13330000000000E+01 Y( 3)= 9.17046000000000E+01 A( 4, 1)= 3.61000000000000E+01 A( 4, 2)= 5.62666000000000E+01 A( 4, 3)= 9.13330000000000E+01 A( 4, 4)= 1.52455810000000E+02 Y( 4)= 1.26594900000000E+02 task 1 range= 1.. 1 task 2 range= 2.. 2 task 3 range= 3.. 3 task 4 range= 4.. 4 slave 1 setup 1 B( 1, 1)= 2.00000000000000E+01 1 B( 1, 2)= 1.90000000000000E+01 1 B( 1, 3)= 2.47000000000000E+01 1 B( 1, 4)= 3.61000000000000E+01 1 B( 1, 5)= 9.00000000000000E+01 1 built working data structure 1.. 1 slave 2 setup 2 B( 2, 1)= 1.90000000000000E+01 2 B( 2, 2)= 2.47000000000000E+01 2 B( 2, 3)= 3.61000000000000E+01 2 B( 2, 4)= 5.62666000000000E+01 2 B( 2, 5)= 7.63020000000000E+01 2 built working data structure 2.. 2 slave 3 setup 3 B( 3, 1)= 2.47000000000000E+01 3 B( 3, 2)= 3.61000000000000E+01 3 B( 3, 3)= 5.62666000000000E+01 3 B( 3, 4)= 9.13330000000000E+01 3 B( 3, 5)= 9.17046000000000E+01 3 built working data structure 3.. 3 slave 4 setup 4 B( 4, 1)= 3.61000000000000E+01 4 B( 4, 2)= 5.62666000000000E+01 4 B( 4, 3)= 9.13330000000000E+01 4 B( 4, 4)= 1.52455810000000E+02 4 B( 4, 5)= 1.26594900000000E+02 4 built working data structure 4.. 4 task find their max pivot slave 1 finding pivot 1 1 spivot= 1, smax= 2.00000000000000E+01 slave 2 finding pivot 1 2 spivot= 2, smax= 1.90000000000000E+01 slave 3 finding pivot 1 3 spivot= 3, smax= 2.47000000000000E+01 slave 4 finding pivot 1 4 spivot= 4, smax= 3.61000000000000E+01 task found their max pivot update_row I_pivot= 4, abs_pivot= 3.61000000000000E+01 update prow( 1)= 4 pivrow B( 4, 2)= 1.55863157894737E+00 pivrow B( 4, 3)= 2.53000000000000E+00 pivrow B( 4, 4)= 4.22315263157895E+00 pivrow B( 4, 5)= 3.50678393351801E+00 update reduced about pivot k_row= 4 task may now reduce their rows slave 1 reducing about pivot 4 1 reduce B( 1, 2)=-1.21726315789474E+01 1 reduce B( 1, 3)=-2.59000000000000E+01 1 reduce B( 1, 4)=-4.83630526315789E+01 1 reduce B( 1, 5)= 1.98643213296398E+01 1 finished reduction for K_Col= 1 slave 2 reducing about pivot 4 2 reduce B( 2, 2)=-4.91400000000000E+00 2 reduce B( 2, 3)=-1.19700000000000E+01 2 reduce B( 2, 4)=-2.39733000000000E+01 2 reduce B( 2, 5)= 9.67310526315791E+00 2 finished reduction for K_Col= 1 slave 3 reducing about pivot 4 3 reduce B( 3, 2)=-2.39819999999999E+00 3 reduce B( 3, 3)=-6.22439999999999E+00 3 reduce B( 3, 4)=-1.29788700000000E+01 3 reduce B( 3, 5)= 5.08703684210529E+00 3 finished reduction for K_Col= 1 slave 4 reducing about pivot 4 4 finished reduction for K_Col= 1 task_loop starting stage 3 task find their max pivot slave 4 looping to next K_Col slave 1 looping to next K_Col slave 1 finding pivot 2 1 spivot= 1, smax= 1.21726315789474E+01 slave 2 looping to next K_Col slave 3 looping to next K_Col slave 2 finding pivot 2 2 spivot= 2, smax= 4.91400000000000E+00 slave 3 finding pivot 2 3 spivot= 3, smax= 2.39819999999999E+00 slave 4 finding pivot 2 4 spivot= 4, smax= 0.00000000000000E+00 task found their max pivot update_row I_pivot= 1, abs_pivot= 1.21726315789474E+01 update prow( 2)= 1 pivrow B( 1, 3)= 2.12772397094431E+00 pivrow B( 1, 4)= 3.97309754410239E+00 pivrow B( 1, 5)=-1.63188388647162E+00 update reduced about pivot k_row= 1 task may now reduce their rows slave 1 reducing about pivot 1 1 finished reduction for K_Col= 2 slave 2 reducing about pivot 1 2 reduce B( 2, 3)=-1.51436440677965E+00 2 reduce B( 2, 4)=-4.44949866828086E+00 2 reduce B( 2, 5)= 1.65402784503635E+00 2 finished reduction for K_Col= 2 slave 3 reducing about pivot 1 3 reduce B( 3, 3)=-1.12169237288137E+00 3 reduce B( 3, 4)=-3.45058746973368E+00 3 reduce B( 3, 5)= 1.17345290556906E+00 3 finished reduction for K_Col= 2 slave 4 reducing about pivot 1 4 reduce B( 4, 3)=-7.86337772397094E-01 4 reduce B( 4, 4)=-1.96944266689727E+00 4 reduce B( 4, 5)= 6.05028969214804E+00 4 finished reduction for K_Col= 2 task_loop starting stage 3 task find their max pivot slave 4 looping to next K_Col slave 1 looping to next K_Col slave 1 finding pivot 3 1 spivot= 1, smax= 0.00000000000000E+00 slave 2 looping to next K_Col slave 3 looping to next K_Col slave 2 finding pivot 3 2 spivot= 2, smax= 1.51436440677965E+00 slave 3 finding pivot 3 3 spivot= 3, smax= 1.12169237288137E+00 slave 4 finding pivot 3 4 spivot= 4, smax= 0.00000000000000E+00 task found their max pivot update_row I_pivot= 2, abs_pivot= 1.51436440677965E+00 update prow( 3)= 2 pivrow B( 2, 4)= 2.93819548872182E+00 pivrow B( 2, 5)=-1.09222577976043E+00 update reduced about pivot k_row= 2 task may now reduce their rows slave 1 reducing about pivot 2 1 reduce B( 1, 4)=-2.27857142857145E+00 1 reduce B( 1, 5)= 6.92071086807992E-01 1 finished reduction for K_Col= 3 slave 2 reducing about pivot 2 2 finished reduction for K_Col= 3 slave 3 reducing about pivot 2 3 reduce B( 3, 4)=-1.54835999999967E-01 3 reduce B( 3, 5)=-5.16884210526227E-02 3 finished reduction for K_Col= 3 slave 4 reducing about pivot 2 4 reduce B( 4, 4)= 3.40971428571438E-01 4 reduce B( 4, 5)= 5.19143130553654E+00 4 finished reduction for K_Col= 3 task_loop starting stage 3 task find their max pivot slave 4 looping to next K_Col slave 1 looping to next K_Col slave 1 finding pivot 4 1 spivot= 1, smax= 0.00000000000000E+00 slave 2 looping to next K_Col slave 3 looping to next K_Col slave 2 finding pivot 4 2 spivot= 2, smax= 0.00000000000000E+00 slave 3 finding pivot 4 3 spivot= 3, smax= 1.54835999999967E-01 slave 4 finding pivot 4 4 spivot= 4, smax= 0.00000000000000E+00 task found their max pivot update_row I_pivot= 3, abs_pivot= 1.54835999999967E-01 update prow( 4)= 3 pivrow B( 3, 5)= 3.33826894602249E-01 update reduced about pivot k_row= 3 task may now reduce their rows slave 1 reducing about pivot 3 1 reduce B( 1, 5)= 1.45271951093741E+00 1 finished reduction for K_Col= 4 slave 2 reducing about pivot 3 2 reduce B( 2, 5)=-2.07307445549478E+00 2 finished reduction for K_Col= 4 slave 3 reducing about pivot 3 3 finished reduction for K_Col= 4 slave 4 reducing about pivot 3 4 reduce B( 4, 5)= 5.07760587238845E+00 4 finished reduction for K_Col= 4 task_loop starting stage 3 master build X for return prow( 1)= 4 prow( 2)= 1 prow( 3)= 2 prow( 4)= 3 slave 4 looping to next K_Col slave 4 done slave 1 looping to next K_Col slave 1 done slave 2 looping to next K_Col slave 2 done slave 3 looping to next K_Col slave 3 done C( 1):= 5.07760587238845E+00 C( 2):= 1.45271951093741E+00 C( 3):=-2.07307445549478E+00 C( 4):= 3.33826894602249E-01 max_err:= 8.81210258848705E+00, avg_err:= 1.41054219039811E+00 rms_err:= 6.03219943666886E+00 fit data to 4 degree polynomial slave running slave running slave running slave running psimeq_dbg.adb running psimeq_dbg debug starting psimeq_dbg input data, n= 5 A( 1, 1)= 2.00000000000000E+01 A( 1, 2)= 1.90000000000000E+01 A( 1, 3)= 2.47000000000000E+01 A( 1, 4)= 3.61000000000000E+01 A( 1, 5)= 5.62666000000000E+01 Y( 1)= 9.00000000000000E+01 A( 2, 1)= 1.90000000000000E+01 A( 2, 2)= 2.47000000000000E+01 A( 2, 3)= 3.61000000000000E+01 A( 2, 4)= 5.62666000000000E+01 A( 2, 5)= 9.13330000000000E+01 Y( 2)= 7.63020000000000E+01 A( 3, 1)= 2.47000000000000E+01 A( 3, 2)= 3.61000000000000E+01 A( 3, 3)= 5.62666000000000E+01 A( 3, 4)= 9.13330000000000E+01 A( 3, 5)= 1.52455810000000E+02 Y( 3)= 9.17046000000000E+01 A( 4, 1)= 3.61000000000000E+01 A( 4, 2)= 5.62666000000000E+01 A( 4, 3)= 9.13330000000000E+01 A( 4, 4)= 1.52455810000000E+02 A( 4, 5)= 2.59728670000000E+02 Y( 4)= 1.26594900000000E+02 A( 5, 1)= 5.62666000000000E+01 A( 5, 2)= 9.13330000000000E+01 A( 5, 3)= 1.52455810000000E+02 A( 5, 4)= 2.59728670000000E+02 A( 5, 5)= 4.49407306660000E+02 Y( 5)= 1.87053793200000E+02 task 1 range= 1.. 1 task 2 range= 2.. 2 task 3 range= 3.. 3 task 4 range= 4.. 5 slave 1 setup 1 B( 1, 1)= 2.00000000000000E+01 1 B( 1, 2)= 1.90000000000000E+01 1 B( 1, 3)= 2.47000000000000E+01 1 B( 1, 4)= 3.61000000000000E+01 1 B( 1, 5)= 5.62666000000000E+01 1 B( 1, 6)= 9.00000000000000E+01 1 built working data structure 1.. 1 slave 2 setup 2 B( 2, 1)= 1.90000000000000E+01 2 B( 2, 2)= 2.47000000000000E+01 2 B( 2, 3)= 3.61000000000000E+01 2 B( 2, 4)= 5.62666000000000E+01 2 B( 2, 5)= 9.13330000000000E+01 2 B( 2, 6)= 7.63020000000000E+01 2 built working data structure 2.. 2 slave 3 setup 3 B( 3, 1)= 2.47000000000000E+01 3 B( 3, 2)= 3.61000000000000E+01 3 B( 3, 3)= 5.62666000000000E+01 3 B( 3, 4)= 9.13330000000000E+01 3 B( 3, 5)= 1.52455810000000E+02 3 B( 3, 6)= 9.17046000000000E+01 3 built working data structure 3.. 3 slave 4 setup 4 B( 4, 1)= 3.61000000000000E+01 4 B( 4, 2)= 5.62666000000000E+01 4 B( 4, 3)= 9.13330000000000E+01 4 B( 4, 4)= 1.52455810000000E+02 4 B( 4, 5)= 2.59728670000000E+02 4 B( 4, 6)= 1.26594900000000E+02 4 B( 5, 1)= 5.62666000000000E+01 4 B( 5, 2)= 9.13330000000000E+01 4 B( 5, 3)= 1.52455810000000E+02 4 B( 5, 4)= 2.59728670000000E+02 4 B( 5, 5)= 4.49407306660000E+02 4 B( 5, 6)= 1.87053793200000E+02 4 built working data structure 4.. 5 task find their max pivot slave 1 finding pivot 1 1 spivot= 1, smax= 2.00000000000000E+01 slave 2 finding pivot 1 2 spivot= 2, smax= 1.90000000000000E+01 slave 3 finding pivot 1 3 spivot= 3, smax= 2.47000000000000E+01 slave 4 finding pivot 1 4 spivot= 5, smax= 5.62666000000000E+01 task found their max pivot update_row I_pivot= 5, abs_pivot= 5.62666000000000E+01 update prow( 1)= 5 pivrow B( 5, 2)= 1.62321874788951E+00 pivrow B( 5, 3)= 2.70952589991220E+00 pivrow B( 5, 4)= 4.61603633416627E+00 pivrow B( 5, 5)= 7.98710614574188E+00 pivrow B( 5, 6)= 3.32441969481006E+00 update reduced about pivot k_row= 5 task may now reduce their rows slave 1 reducing about pivot 5 1 reduce B( 1, 2)=-1.34643749577902E+01 1 reduce B( 1, 3)=-2.94905179982441E+01 1 reduce B( 1, 4)=-5.62207266833255E+01 1 reduce B( 1, 5)=-1.03475522914838E+02 1 reduce B( 1, 6)= 2.35116061037987E+01 1 finished reduction for K_Col= 1 slave 2 reducing about pivot 5 2 reduce B( 2, 2)=-6.14115620990072E+00 2 reduce B( 2, 3)=-1.53809920983319E+01 2 reduce B( 2, 4)=-3.14380903491592E+01 2 reduce B( 2, 5)=-6.04220167690957E+01 2 reduce B( 2, 6)= 1.31380257986088E+01 2 finished reduction for K_Col= 1 slave 3 reducing about pivot 5 3 reduce B( 3, 2)=-3.99350307287093E+00 3 reduce B( 3, 3)=-1.06586897278314E+01 3 reduce B( 3, 4)=-2.26830974539069E+01 3 reduce B( 3, 5)=-4.48257117998244E+01 3 reduce B( 3, 6)= 9.59143353819141E+00 3 finished reduction for K_Col= 1 slave 4 reducing about pivot 5 4 reduce B( 4, 2)=-2.33159679881138E+00 4 reduce B( 4, 3)=-6.48088498683056E+00 4 reduce B( 4, 4)=-1.41831016634025E+01 4 reduce B( 4, 5)=-2.86058618612818E+01 4 reduce B( 4, 6)= 6.58334901735665E+00 4 finished reduction for K_Col= 1 task_loop starting stage 3 task find their max pivot slave 4 looping to next K_Col slave 1 looping to next K_Col slave 1 finding pivot 2 1 spivot= 1, smax= 1.34643749577902E+01 slave 2 looping to next K_Col slave 3 looping to next K_Col slave 2 finding pivot 2 2 spivot= 2, smax= 6.14115620990072E+00 slave 3 finding pivot 2 3 spivot= 3, smax= 3.99350307287093E+00 slave 4 finding pivot 2 4 spivot= 4, smax= 2.33159679881138E+00 task found their max pivot update_row I_pivot= 1, abs_pivot= 1.34643749577902E+01 update prow( 2)= 1 pivrow B( 1, 3)= 2.19026268138659E+00 pivrow B( 1, 4)= 4.17551701134089E+00 pivrow B( 1, 5)= 7.68513378743724E+00 pivrow B( 1, 6)=-1.74620850782199E+00 update reduced about pivot k_row= 1 task may now reduce their rows slave 1 reducing about pivot 1 1 finished reduction for K_Col= 2 slave 2 reducing about pivot 1 2 reduce B( 2, 3)=-1.93024683122080E+00 2 reduce B( 2, 4)=-5.79558812541695E+00 2 reduce B( 2, 5)=-1.32264096864576E+01 2 reduce B( 2, 6)= 2.41428657701629E+00 2 finished reduction for K_Col= 2 slave 3 reducing about pivot 1 3 reduce B( 3, 3)=-1.91186897931955E+00 3 reduce B( 3, 4)=-6.00815743829224E+00 3 reduce B( 3, 5)=-1.41351064042696E+01 3 reduce B( 3, 6)= 2.61794449633093E+00 3 finished reduction for K_Col= 2 slave 4 reducing about pivot 1 4 reduce B( 4, 3)=-1.37407553035357E+00 4 reduce B( 4, 4)=-4.44747956637764E+00 4 reduce B( 4, 5)=-1.06872285240560E+01 4 reduce B( 4, 6)= 2.51189485046171E+00 4 reduce B( 5, 3)=-8.45749547317259E-01 4 reduce B( 5, 4)=-2.16174116077385E+00 4 reduce B( 5, 5)=-4.48754709806537E+00 4 reduce B( 5, 6)= 6.15889808243089E+00 4 finished reduction for K_Col= 2 task_loop starting stage 3 task find their max pivot slave 4 looping to next K_Col slave 1 looping to next K_Col slave 1 finding pivot 3 1 spivot= 1, smax= 0.00000000000000E+00 slave 2 looping to next K_Col slave 3 looping to next K_Col slave 2 finding pivot 3 2 spivot= 2, smax= 1.93024683122080E+00 slave 3 finding pivot 3 3 spivot= 3, smax= 1.91186897931955E+00 slave 4 finding pivot 3 4 spivot= 4, smax= 1.37407553035357E+00 task found their max pivot update_row I_pivot= 2, abs_pivot= 1.93024683122080E+00 update prow( 3)= 2 pivrow B( 2, 4)= 3.00251140510951E+00 pivrow B( 2, 5)= 6.85218567518251E+00 pivrow B( 2, 6)=-1.25076572486294E+00 update reduced about pivot k_row= 2 task may now reduce their rows slave 1 reducing about pivot 2 1 reduce B( 1, 4)=-2.40077166970806E+00 1 reduce B( 1, 5)=-7.32295278284679E+00 1 reduce B( 1, 6)= 9.93296982502761E-01 1 finished reduction for K_Col= 3 slave 2 reducing about pivot 2 2 finished reduction for K_Col= 3 slave 3 reducing about pivot 2 3 reduce B( 3, 4)=-2.67749022810213E-01 3 reduce B( 3, 5)=-1.03462517135035E+00 3 reduce B( 3, 6)= 2.26644306569339E-01 3 finished reduction for K_Col= 3 slave 4 reducing about pivot 2 4 reduce B( 4, 4)=-3.21802115009151E-01 4 reduce B( 4, 5)=-1.27180785834847E+00 4 reduce B( 4, 6)= 7.93248273722596E-01 4 reduce B( 5, 4)= 3.77631500912423E-01 4 reduce B( 5, 5)= 1.30768583485404E+00 4 reduce B( 5, 6)= 5.10106353682811E+00 4 finished reduction for K_Col= 3 task_loop starting stage 3 task find their max pivot slave 4 looping to next K_Col slave 1 looping to next K_Col slave 1 finding pivot 4 1 spivot= 1, smax= 0.00000000000000E+00 slave 2 looping to next K_Col slave 3 looping to next K_Col slave 2 finding pivot 4 2 spivot= 2, smax= 0.00000000000000E+00 slave 3 finding pivot 4 3 spivot= 3, smax= 2.67749022810213E-01 slave 4 finding pivot 4 4 spivot= 4, smax= 3.21802115009151E-01 task found their max pivot update_row I_pivot= 4, abs_pivot= 3.21802115009151E-01 update prow( 4)= 4 pivrow B( 4, 5)= 3.95214263371855E+00 pivrow B( 4, 6)=-2.46501883214794E+00 update reduced about pivot k_row= 4 task may now reduce their rows slave 1 reducing about pivot 4 1 reduce B( 1, 5)= 2.16523928683012E+00 1 reduce B( 1, 6)=-4.92465039501488E+00 1 finished reduction for K_Col= 4 slave 2 reducing about pivot 4 2 reduce B( 2, 5)=-5.01416765717695E+00 2 reduce B( 2, 6)= 6.15048143247097E+00 2 finished reduction for K_Col= 4 slave 3 reducing about pivot 4 3 reduce B( 3, 5)= 2.35571568343755E-02 3 reduce B( 3, 6)=-4.33362076947044E-01 3 finished reduction for K_Col= 4 slave 4 reducing about pivot 4 4 reduce B( 5, 5)=-1.84767719737066E-01 4 reduce B( 5, 6)= 6.03193229818952E+00 4 finished reduction for K_Col= 4 task_loop starting stage 3 task find their max pivot slave 4 looping to next K_Col slave 1 looping to next K_Col slave 1 finding pivot 5 1 spivot= 1, smax= 0.00000000000000E+00 slave 2 looping to next K_Col slave 3 looping to next K_Col slave 2 finding pivot 5 2 spivot= 2, smax= 0.00000000000000E+00 slave 3 finding pivot 5 3 spivot= 3, smax= 2.35571568343755E-02 slave 4 finding pivot 5 4 spivot= 4, smax= 0.00000000000000E+00 task found their max pivot update_row I_pivot= 3, abs_pivot= 2.35571568343755E-02 update prow( 5)= 3 pivrow B( 3, 6)=-1.83961961111820E+01 update reduced about pivot k_row= 3 task may now reduce their rows slave 1 reducing about pivot 3 1 reduce B( 1, 6)= 3.49075161531479E+01 1 finished reduction for K_Col= 5 slave 2 reducing about pivot 3 2 reduce B( 2, 6)=-8.60911301233022E+01 2 finished reduction for K_Col= 5 slave 3 reducing about pivot 3 3 finished reduction for K_Col= 5 slave 4 reducing about pivot 3 4 reduce B( 4, 6)= 7.02393721171018E+01 4 reduce B( 5, 6)= 2.63290909089055E+00 4 finished reduction for K_Col= 5 task_loop starting stage 3 master build X for return prow( 1)= 5 prow( 2)= 1 prow( 3)= 2 prow( 4)= 4 prow( 5)= 3 slave 4 looping to next K_Col slave 4 done slave 1 looping to next K_Col slave 1 done slave 2 looping to next K_Col slave 2 done slave 3 looping to next K_Col slave 3 done C( 1):= 2.63290909089055E+00 C( 2):= 3.49075161531479E+01 C( 3):=-8.60911301233022E+01 C( 4):= 7.02393721171018E+01 C( 5):=-1.83961961111820E+01 max_err:= 7.39675182025304E+00, avg_err:= 1.31783316732017E+00 rms_err:= 4.21168748141802E+00