whizard is hosted by Hepforge, IPPP Durham

Opened 13 years ago

Closed 13 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:

  1. The procedure phs_forest_evaluate_other_channels: can be evaluated in parallel for O(10-1000) channels.
  2. The procedure combine_particles: rather trivial, but takes time. May be optimized without parallelization
  3. 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 13 years ago by Juergen Reuter

Would make sense to handle #234 before that one here...

comment:2 Changed 13 years ago by kilian

Resolution: fixed
Status: newclosed

Done in r3301.

All credits go to Matthias Trudewind.

Note: See TracTickets for help on using tickets.