Opened 14 years ago
Closed 14 years ago
#414 closed enhancement (fixed)
Parallelize the sampling functions using OpenMP
Reported by: | kilian | Owned by: | trudewind |
---|---|---|---|
Priority: | P2 | Milestone: | v2.0.6 |
Component: | core | Version: | 2.0.5 |
Severity: | normal | Keywords: | |
Cc: |
Description
The sampling function is responsible for the largest part of the Whizard computing time. It should be run in parallel mode for efficiency.
Currently, the helicity loop can be run in parallel via OpenMP (cf. #380), which allows scaling up to about 4 cores. However, about 20-40% of the CPU time are spent in other parts of the sampling function. These should also be OpenMP-ized:
- The procedure phs_forest_evaluate_other_channels: can be evaluated in parallel for O(10-1000) channels.
- The procedure combine_particles: rather trivial, but takes time. May be optimized without parallelization
- The procedure vamp_probability. Here, the called subroutine divisions / probability_s by itself can use up 20% of the total running time of the program.
Change History (2)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Done in r3301.
All credits go to Matthias Trudewind.
Note: See
TracTickets for help on using
tickets.
Would make sense to handle #234 before that one here...