![]() |
Instead of doing:
PAW > NT/PLOT 1.X
Do:
PAW > 1DHISTO 10 ....
PAW > NT/PLOT 1.X IDH=10
Instead of doing:
PAW > NT/PLOT 1.X select.f
Do:
PAW > NT/PLOT 1.X select.f77
In the second case, the local fortran compiler is invoked. Note that in both cases the selection function is in the file ``select.f''.
This is a real example (with PAW version 2.07 and after) just to figure out what the speedup could be. Data are stored in a ~100Mbyte Column Wise Ntuple. The first command loops over the 378340 events and selects them according to an interpreted FORTRAN function. When the IDH parameter is used the elapsed time is reduced by a factor 2. If the FORTRAN code is compiled, there's a further speedup by 5, so the total gain factor is ~12 (from 291 to 25 seconds).
PAW > nt/pl 10.px4 invm.f(12.)
Real time 00:04:51, CP time 283.710
PAW > nt/pl 10.px4 invm.f(12.) idh=22
Real time 00:02:20, CP time 140.190
PAW > nt/pl 10.px4 invm.f77(12.) idh=22
Real time 00:00:25, CP time 22.660
![]() |
Release Notes | Known bugs | FAQs | Contributions | Tutorial | Reference manual | Down load | Miscellaneous |